Searched refs:nf_bridge (Results 1 – 4 of 4) sorted by relevance
40 const struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); in nf_bridge_get_physinif() local42 if (!nf_bridge) in nf_bridge_get_physinif()45 return nf_bridge->physindev ? nf_bridge->physindev->ifindex : 0; in nf_bridge_get_physinif()50 const struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); in nf_bridge_get_physoutif() local52 if (!nf_bridge) in nf_bridge_get_physoutif()55 return nf_bridge->physoutdev ? nf_bridge->physoutdev->ifindex : 0; in nf_bridge_get_physoutif()61 const struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); in nf_bridge_get_physindev() local63 return nf_bridge ? nf_bridge->physindev : NULL; in nf_bridge_get_physindev()69 const struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); in nf_bridge_get_physoutdev() local71 return nf_bridge ? nf_bridge->physoutdev : NULL; in nf_bridge_get_physoutdev()[all …]
247 const struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); in nf_bridge_update_protocol() local249 switch (nf_bridge->orig_proto) { in nf_bridge_update_protocol()277 struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); in br_nf_pre_routing_finish_bridge() local282 skb->dev = nf_bridge->physindev; in br_nf_pre_routing_finish_bridge()291 nf_bridge->neigh_header, in br_nf_pre_routing_finish_bridge()294 nf_bridge->bridged_dnat = 1; in br_nf_pre_routing_finish_bridge()308 const struct nf_bridge_info *nf_bridge) in br_nf_ipv4_daddr_was_changed() argument310 return ip_hdr(skb)->daddr != nf_bridge->ipv4_daddr; in br_nf_ipv4_daddr_was_changed()356 struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); in br_nf_pre_routing_finish() local360 nf_bridge->frag_max_size = IPCB(skb)->frag_max_size; in br_nf_pre_routing_finish()[all …]
149 const struct nf_bridge_info *nf_bridge) in br_nf_ipv6_daddr_was_changed() argument151 return memcmp(&nf_bridge->ipv6_daddr, &ipv6_hdr(skb)->daddr, in br_nf_ipv6_daddr_was_changed()162 struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); in br_nf_pre_routing_finish_ipv6() local167 nf_bridge->frag_max_size = IP6CB(skb)->frag_max_size; in br_nf_pre_routing_finish_ipv6()169 if (nf_bridge->pkt_otherhost) { in br_nf_pre_routing_finish_ipv6()171 nf_bridge->pkt_otherhost = false; in br_nf_pre_routing_finish_ipv6()173 nf_bridge->in_prerouting = 0; in br_nf_pre_routing_finish_ipv6()174 if (br_nf_ipv6_daddr_was_changed(skb, nf_bridge)) { in br_nf_pre_routing_finish_ipv6()184 skb->dev = nf_bridge->physindev; in br_nf_pre_routing_finish_ipv6()195 rt = bridge_parent_rtable(nf_bridge->physindev); in br_nf_pre_routing_finish_ipv6()[all …]
80 struct nf_bridge_info *nf_bridge; in __nf_queue_entry_init_physdevs() local82 nf_bridge = nf_bridge_info_get(skb); in __nf_queue_entry_init_physdevs()83 if (nf_bridge) { in __nf_queue_entry_init_physdevs()