nf_bridge 40 include/linux/netfilter_bridge.h const struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 42 include/linux/netfilter_bridge.h if (!nf_bridge) nf_bridge 45 include/linux/netfilter_bridge.h return nf_bridge->physindev ? nf_bridge->physindev->ifindex : 0; nf_bridge 50 include/linux/netfilter_bridge.h const struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 52 include/linux/netfilter_bridge.h if (!nf_bridge) nf_bridge 55 include/linux/netfilter_bridge.h return nf_bridge->physoutdev ? nf_bridge->physoutdev->ifindex : 0; nf_bridge 61 include/linux/netfilter_bridge.h const struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 63 include/linux/netfilter_bridge.h return nf_bridge ? nf_bridge->physindev : NULL; nf_bridge 69 include/linux/netfilter_bridge.h const struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 71 include/linux/netfilter_bridge.h return nf_bridge ? nf_bridge->physoutdev : NULL; nf_bridge 76 include/linux/netfilter_bridge.h const struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 78 include/linux/netfilter_bridge.h return nf_bridge && nf_bridge->in_prerouting; nf_bridge 247 net/bridge/br_netfilter_hooks.c const struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 249 net/bridge/br_netfilter_hooks.c switch (nf_bridge->orig_proto) { nf_bridge 277 net/bridge/br_netfilter_hooks.c struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 282 net/bridge/br_netfilter_hooks.c skb->dev = nf_bridge->physindev; nf_bridge 291 net/bridge/br_netfilter_hooks.c nf_bridge->neigh_header, nf_bridge 294 net/bridge/br_netfilter_hooks.c nf_bridge->bridged_dnat = 1; nf_bridge 308 net/bridge/br_netfilter_hooks.c const struct nf_bridge_info *nf_bridge) nf_bridge 310 net/bridge/br_netfilter_hooks.c return ip_hdr(skb)->daddr != nf_bridge->ipv4_daddr; nf_bridge 356 net/bridge/br_netfilter_hooks.c struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 360 net/bridge/br_netfilter_hooks.c nf_bridge->frag_max_size = IPCB(skb)->frag_max_size; nf_bridge 362 net/bridge/br_netfilter_hooks.c if (nf_bridge->pkt_otherhost) { nf_bridge 364 net/bridge/br_netfilter_hooks.c nf_bridge->pkt_otherhost = false; nf_bridge 366 net/bridge/br_netfilter_hooks.c nf_bridge->in_prerouting = 0; nf_bridge 367 net/bridge/br_netfilter_hooks.c if (br_nf_ipv4_daddr_was_changed(skb, nf_bridge)) { nf_bridge 398 net/bridge/br_netfilter_hooks.c skb->dev = nf_bridge->physindev; nf_bridge 411 net/bridge/br_netfilter_hooks.c rt = bridge_parent_rtable(nf_bridge->physindev); nf_bridge 419 net/bridge/br_netfilter_hooks.c skb->dev = nf_bridge->physindev; nf_bridge 448 net/bridge/br_netfilter_hooks.c struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 452 net/bridge/br_netfilter_hooks.c nf_bridge->pkt_otherhost = true; nf_bridge 455 net/bridge/br_netfilter_hooks.c nf_bridge->in_prerouting = 1; nf_bridge 456 net/bridge/br_netfilter_hooks.c nf_bridge->physindev = skb->dev; nf_bridge 460 net/bridge/br_netfilter_hooks.c nf_bridge->orig_proto = BRNF_PROTO_8021Q; nf_bridge 462 net/bridge/br_netfilter_hooks.c nf_bridge->orig_proto = BRNF_PROTO_PPPOE; nf_bridge 479 net/bridge/br_netfilter_hooks.c struct nf_bridge_info *nf_bridge; nf_bridge 525 net/bridge/br_netfilter_hooks.c nf_bridge = nf_bridge_info_get(skb); nf_bridge 526 net/bridge/br_netfilter_hooks.c nf_bridge->ipv4_daddr = ip_hdr(skb)->daddr; nf_bridge 542 net/bridge/br_netfilter_hooks.c struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 548 net/bridge/br_netfilter_hooks.c nf_bridge->frag_max_size = IPCB(skb)->frag_max_size; nf_bridge 551 net/bridge/br_netfilter_hooks.c nf_bridge->frag_max_size = IP6CB(skb)->frag_max_size; nf_bridge 553 net/bridge/br_netfilter_hooks.c in = nf_bridge->physindev; nf_bridge 554 net/bridge/br_netfilter_hooks.c if (nf_bridge->pkt_otherhost) { nf_bridge 556 net/bridge/br_netfilter_hooks.c nf_bridge->pkt_otherhost = false; nf_bridge 579 net/bridge/br_netfilter_hooks.c struct nf_bridge_info *nf_bridge; nf_bridge 583 net/bridge/br_netfilter_hooks.c nf_bridge = nf_bridge_info_get(skb); nf_bridge 584 net/bridge/br_netfilter_hooks.c if (!nf_bridge) nf_bridge 592 net/bridge/br_netfilter_hooks.c nf_bridge = nf_bridge_info_get(skb); nf_bridge 593 net/bridge/br_netfilter_hooks.c if (!nf_bridge) nf_bridge 613 net/bridge/br_netfilter_hooks.c nf_bridge->pkt_otherhost = true; nf_bridge 619 net/bridge/br_netfilter_hooks.c IPCB(skb)->frag_max_size = nf_bridge->frag_max_size; nf_bridge 625 net/bridge/br_netfilter_hooks.c IP6CB(skb)->frag_max_size = nf_bridge->frag_max_size; nf_bridge 628 net/bridge/br_netfilter_hooks.c nf_bridge->physoutdev = skb->dev; nf_bridge 723 net/bridge/br_netfilter_hooks.c const struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 725 net/bridge/br_netfilter_hooks.c if (nf_bridge->orig_proto == BRNF_PROTO_PPPOE) nf_bridge 732 net/bridge/br_netfilter_hooks.c struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 738 net/bridge/br_netfilter_hooks.c if (nf_bridge->frag_max_size && nf_bridge->frag_max_size < mtu) nf_bridge 739 net/bridge/br_netfilter_hooks.c mtu = nf_bridge->frag_max_size; nf_bridge 756 net/bridge/br_netfilter_hooks.c IPCB(skb)->frag_max_size = nf_bridge->frag_max_size; nf_bridge 785 net/bridge/br_netfilter_hooks.c IP6CB(skb)->frag_max_size = nf_bridge->frag_max_size; nf_bridge 814 net/bridge/br_netfilter_hooks.c struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 823 net/bridge/br_netfilter_hooks.c if (!nf_bridge || !nf_bridge->physoutdev) nf_bridge 842 net/bridge/br_netfilter_hooks.c nf_bridge->pkt_otherhost = true; nf_bridge 865 net/bridge/br_netfilter_hooks.c struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 867 net/bridge/br_netfilter_hooks.c if (nf_bridge && !nf_bridge->in_prerouting && nf_bridge 888 net/bridge/br_netfilter_hooks.c struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 891 net/bridge/br_netfilter_hooks.c nf_bridge->bridged_dnat = 0; nf_bridge 893 net/bridge/br_netfilter_hooks.c BUILD_BUG_ON(sizeof(nf_bridge->neigh_header) != (ETH_HLEN - ETH_ALEN)); nf_bridge 896 net/bridge/br_netfilter_hooks.c nf_bridge->neigh_header, nf_bridge 898 net/bridge/br_netfilter_hooks.c skb->dev = nf_bridge->physindev; nf_bridge 900 net/bridge/br_netfilter_hooks.c nf_bridge->physoutdev = NULL; nf_bridge 906 net/bridge/br_netfilter_hooks.c const struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 908 net/bridge/br_netfilter_hooks.c if (nf_bridge && nf_bridge->bridged_dnat) { nf_bridge 149 net/bridge/br_netfilter_ipv6.c const struct nf_bridge_info *nf_bridge) nf_bridge 151 net/bridge/br_netfilter_ipv6.c return memcmp(&nf_bridge->ipv6_daddr, &ipv6_hdr(skb)->daddr, nf_bridge 162 net/bridge/br_netfilter_ipv6.c struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 167 net/bridge/br_netfilter_ipv6.c nf_bridge->frag_max_size = IP6CB(skb)->frag_max_size; nf_bridge 169 net/bridge/br_netfilter_ipv6.c if (nf_bridge->pkt_otherhost) { nf_bridge 171 net/bridge/br_netfilter_ipv6.c nf_bridge->pkt_otherhost = false; nf_bridge 173 net/bridge/br_netfilter_ipv6.c nf_bridge->in_prerouting = 0; nf_bridge 174 net/bridge/br_netfilter_ipv6.c if (br_nf_ipv6_daddr_was_changed(skb, nf_bridge)) { nf_bridge 184 net/bridge/br_netfilter_ipv6.c skb->dev = nf_bridge->physindev; nf_bridge 195 net/bridge/br_netfilter_ipv6.c rt = bridge_parent_rtable(nf_bridge->physindev); nf_bridge 203 net/bridge/br_netfilter_ipv6.c skb->dev = nf_bridge->physindev; nf_bridge 219 net/bridge/br_netfilter_ipv6.c struct nf_bridge_info *nf_bridge; nf_bridge 224 net/bridge/br_netfilter_ipv6.c nf_bridge = nf_bridge_alloc(skb); nf_bridge 225 net/bridge/br_netfilter_ipv6.c if (!nf_bridge) nf_bridge 230 net/bridge/br_netfilter_ipv6.c nf_bridge = nf_bridge_info_get(skb); nf_bridge 231 net/bridge/br_netfilter_ipv6.c nf_bridge->ipv6_daddr = ipv6_hdr(skb)->daddr; nf_bridge 52 net/netfilter/nf_queue.c struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 54 net/netfilter/nf_queue.c if (nf_bridge) { nf_bridge 86 net/netfilter/nf_queue.c struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); nf_bridge 88 net/netfilter/nf_queue.c if (nf_bridge) {