Searched refs:nf_bridge (Results 1 – 2 of 2) 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->physinif; 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 ? dev_get_by_index_rcu(net, nf_bridge->physinif) : 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 …]
90 const struct nf_bridge_info *nf_bridge) in br_nf_ipv6_daddr_was_changed() argument92 return memcmp(&nf_bridge->ipv6_daddr, &ipv6_hdr(skb)->daddr, in br_nf_ipv6_daddr_was_changed()103 struct nf_bridge_info *nf_bridge = nf_bridge_info_get(skb); in br_nf_pre_routing_finish_ipv6() local114 nf_bridge->frag_max_size = IP6CB(skb)->frag_max_size; in br_nf_pre_routing_finish_ipv6()116 if (nf_bridge->pkt_otherhost) { in br_nf_pre_routing_finish_ipv6()118 nf_bridge->pkt_otherhost = false; in br_nf_pre_routing_finish_ipv6()120 nf_bridge->in_prerouting = 0; in br_nf_pre_routing_finish_ipv6()121 if (br_nf_ipv6_daddr_was_changed(skb, nf_bridge)) { in br_nf_pre_routing_finish_ipv6()167 struct nf_bridge_info *nf_bridge; in br_nf_pre_routing_ipv6() local172 nf_bridge = nf_bridge_alloc(skb); in br_nf_pre_routing_ipv6()[all …]