Home
last modified time | relevance | path

Searched refs:nf_inet_addr_cmp (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/net/netfilter/
Dnf_nat_sip.c107 if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.src.u3, addr) && in map_addr()
111 } else if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.dst.u3, addr) && in map_addr()
119 if (nf_inet_addr_cmp(&newaddr, addr) && newport == port) in map_addr()
188 if (!nf_inet_addr_cmp(&addr, in nf_nat_sip()
193 if (!nf_inet_addr_cmp(&addr, in nf_nat_sip()
213 nf_inet_addr_cmp(&addr, &ct->tuplehash[dir].tuple.src.u3) && in nf_nat_sip()
214 !nf_inet_addr_cmp(&addr, &ct->tuplehash[!dir].tuple.dst.u3)) { in nf_nat_sip()
230 nf_inet_addr_cmp(&addr, &ct->tuplehash[dir].tuple.dst.u3) && in nf_nat_sip()
231 !nf_inet_addr_cmp(&addr, &ct->tuplehash[!dir].tuple.src.u3)) { in nf_nat_sip()
343 nf_inet_addr_cmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3, &pair_exp->saved_addr) && in nf_nat_sip_expected()
[all …]
Dnf_conntrack_sip.c814 !nf_inet_addr_cmp(&exp->tuple.dst.u3, addr) || in refresh_signalling_expectation()
867 if (!nf_inet_addr_cmp(daddr, &ct->tuplehash[dir].tuple.src.u3)) in set_expected_rtp_rtcp()
932 (!nf_inet_addr_cmp(&exp->saved_addr, &exp->tuple.dst.u3) || in set_expected_rtp_rtcp()
1263 if (!nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.src.u3, &daddr)) in process_register_request()
1367 if (!nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.dst.u3, &addr)) in process_register_response()
1470 nf_inet_addr_cmp(&addr, &ct->tuplehash[dir].tuple.src.u3)) in process_sip_request()
Dnf_nat_masquerade.c174 return nf_inet_addr_cmp(&w->addr, &tuple->dst.u3); in inet_cmp()
Dnf_conntrack_proto_icmp.c171 if (!nf_inet_addr_cmp(outer_daddr, ct_daddr)) { in nf_conntrack_inet_error()
Dnf_nat_core.c290 nf_inet_addr_cmp(&t->src.u3, &tuple->src.u3) && in same_src()
350 if (nf_inet_addr_cmp(&range->min_addr, &range->max_addr)) { in find_best_ips_proto()
Dnf_nat_proto.c939 if (!nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.src.u3, in nf_nat_ipv6_out()
971 if (!nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.dst.u3, in nf_nat_ipv6_local_fn()
Dnf_conntrack_netlink.c3026 if (!nf_inet_addr_cmp(&exp->saved_addr, &any_addr) || in ctnetlink_exp_dump_expect()
/kernel/linux/linux-5.10/include/net/netfilter/
Dnf_conntrack_tuple.h127 return (nf_inet_addr_cmp(&t1->src.u3, &t2->src.u3) && in __nf_ct_tuple_src_equal()
135 return (nf_inet_addr_cmp(&t1->dst.u3, &t2->dst.u3) && in __nf_ct_tuple_dst_equal()
151 return (nf_inet_addr_cmp(&m1->src.u3, &m2->src.u3) && in nf_ct_tuple_mask_equal()
/kernel/linux/linux-5.10/include/linux/
Dnetfilter.h24 static inline int nf_inet_addr_cmp(const union nf_inet_addr *a1, in nf_inet_addr_cmp() function