Home
last modified time | relevance | path

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

/linux-6.1.9/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()
1264 if (!nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.src.u3, &daddr)) in process_register_request()
1372 if (!nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.dst.u3, &addr)) in process_register_response()
1475 nf_inet_addr_cmp(&addr, &ct->tuplehash[dir].tuple.src.u3)) in process_sip_request()
Dnf_conntrack_proto_icmp.c171 if (!nf_inet_addr_cmp(outer_daddr, ct_daddr)) { in nf_conntrack_inet_error()
Dnf_nat_masquerade.c179 return nf_inet_addr_cmp(&w->addr, &tuple->dst.u3); in inet_cmp()
Dnf_nat_core.c270 nf_inet_addr_cmp(&t->src.u3, &tuple->src.u3) && in same_src()
330 if (nf_inet_addr_cmp(&range->min_addr, &range->max_addr)) { in find_best_ips_proto()
Dnf_nat_proto.c977 if (!nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.src.u3, in nf_nat_ipv6_out()
1009 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()
/linux-6.1.9/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()
/linux-6.1.9/include/linux/ !
Dnetfilter.h24 static inline int nf_inet_addr_cmp(const union nf_inet_addr *a1, in nf_inet_addr_cmp() function