Home
last modified time | relevance | path

Searched refs:statusbit (Results 1 – 3 of 3) sorted by relevance

/net/ipv4/netfilter/
Dnf_nat_l3proto_ipv4.c35 unsigned long statusbit, in nf_nat_ipv4_decode_session() argument
41 if (ct->status & statusbit) { in nf_nat_ipv4_decode_session()
51 statusbit ^= IPS_NAT_MASK; in nf_nat_ipv4_decode_session()
53 if (ct->status & statusbit) { in nf_nat_ipv4_decode_session()
191 unsigned long statusbit; in nf_nat_icmp_reply_translation() local
209 statusbit = IPS_SRC_NAT; in nf_nat_icmp_reply_translation()
211 statusbit = IPS_DST_NAT; in nf_nat_icmp_reply_translation()
215 statusbit ^= IPS_NAT_MASK; in nf_nat_icmp_reply_translation()
217 if (!(ct->status & statusbit)) in nf_nat_icmp_reply_translation()
/net/ipv6/netfilter/
Dnf_nat_l3proto_ipv6.c34 unsigned long statusbit, in nf_nat_ipv6_decode_session() argument
40 if (ct->status & statusbit) { in nf_nat_ipv6_decode_session()
50 statusbit ^= IPS_NAT_MASK; in nf_nat_ipv6_decode_session()
52 if (ct->status & statusbit) { in nf_nat_ipv6_decode_session()
201 unsigned long statusbit; in nf_nat_icmpv6_reply_translation() local
219 statusbit = IPS_SRC_NAT; in nf_nat_icmpv6_reply_translation()
221 statusbit = IPS_DST_NAT; in nf_nat_icmpv6_reply_translation()
225 statusbit ^= IPS_NAT_MASK; in nf_nat_icmpv6_reply_translation()
227 if (!(ct->status & statusbit)) in nf_nat_icmpv6_reply_translation()
/net/netfilter/
Dnf_nat_core.c65 unsigned long statusbit; in __nf_nat_decode_session() local
80 statusbit = IPS_DST_NAT; in __nf_nat_decode_session()
82 statusbit = IPS_SRC_NAT; in __nf_nat_decode_session()
84 l3proto->decode_session(skb, ct, dir, statusbit, fl); in __nf_nat_decode_session()
487 unsigned long statusbit; in nf_nat_packet() local
491 statusbit = IPS_SRC_NAT; in nf_nat_packet()
493 statusbit = IPS_DST_NAT; in nf_nat_packet()
497 statusbit ^= IPS_NAT_MASK; in nf_nat_packet()
500 if (ct->status & statusbit) { in nf_nat_packet()