Home
last modified time | relevance | path

Searched refs:nf_inet_addr (Results 1 – 25 of 74) sorted by relevance

123

/linux-6.3-rc2/include/uapi/linux/netfilter/
A Dxt_conntrack.h39 union nf_inet_addr origsrc_addr, origsrc_mask;
40 union nf_inet_addr origdst_addr, origdst_mask;
41 union nf_inet_addr replsrc_addr, replsrc_mask;
42 union nf_inet_addr repldst_addr, repldst_mask;
52 union nf_inet_addr origsrc_addr, origsrc_mask;
53 union nf_inet_addr origdst_addr, origdst_mask;
54 union nf_inet_addr replsrc_addr, replsrc_mask;
55 union nf_inet_addr repldst_addr, repldst_mask;
65 union nf_inet_addr origsrc_addr, origsrc_mask;
66 union nf_inet_addr origdst_addr, origdst_mask;
[all …]
A Dnf_nat.h40 union nf_inet_addr min_addr;
41 union nf_inet_addr max_addr;
48 union nf_inet_addr min_addr;
49 union nf_inet_addr max_addr;
A Dxt_policy.h44 union nf_inet_addr saddr;
45 union nf_inet_addr smask;
46 union nf_inet_addr daddr;
47 union nf_inet_addr dmask;
A Dxt_iprange.h16 union nf_inet_addr src_min, src_max;
17 union nf_inet_addr dst_min, dst_max;
A Dxt_HMARK.h41 union nf_inet_addr src_mask;
42 union nf_inet_addr dst_mask;
/linux-6.3-rc2/include/linux/netfilter/
A Dnf_conntrack_sip.h137 const union nf_inet_addr *addr);
154 const union nf_inet_addr *addr);
165 union nf_inet_addr *rtp_addr);
171 unsigned int *matchlen, union nf_inet_addr *addr,
181 union nf_inet_addr *addr, __be16 *port);
185 unsigned int *matchlen, union nf_inet_addr *addr,
A Dnf_conntrack_h323.h35 TransportAddress *taddr, union nf_inet_addr *addr,
46 union nf_inet_addr *addr, __be16 port);
50 union nf_inet_addr *addr, __be16 port);
/linux-6.3-rc2/include/net/
A Dip_vs.h56 union nf_inet_addr saddr;
57 union nf_inet_addr daddr;
152 const union nf_inet_addr *src) in ip_vs_addr_copy()
163 const union nf_inet_addr *src) in ip_vs_addr_set()
178 const union nf_inet_addr *b) in ip_vs_addr_equal()
193 const union nf_inet_addr *addr, in ip_vs_dbg_addr()
570 const union nf_inet_addr *caddr;
571 const union nf_inet_addr *vaddr;
669 union nf_inet_addr addr;
728 union nf_inet_addr dst_saddr;
[all …]
/linux-6.3-rc2/include/linux/netfilter/ipset/
A Dpfxlen.h10 extern const union nf_inet_addr ip_set_netmask_map[];
11 extern const union nf_inet_addr ip_set_hostmask_map[];
46 ip6_netmask(union nf_inet_addr *ip, u8 prefix) in ip6_netmask()
/linux-6.3-rc2/include/uapi/linux/netfilter_ipv6/
A Dip6t_NPT.h9 union nf_inet_addr src_pfx;
10 union nf_inet_addr dst_pfx;
/linux-6.3-rc2/include/net/netfilter/
A Dnf_conntrack_tuple.h26 #define NF_CT_TUPLE_L3SIZE ARRAY_SIZE(((union nf_inet_addr *)NULL)->all)
30 union nf_inet_addr u3;
42 union nf_inet_addr u3;
77 union nf_inet_addr u3;
A Dnf_conntrack_expect.h52 union nf_inet_addr saved_addr;
125 const union nf_inet_addr *,
126 const union nf_inet_addr *,
/linux-6.3-rc2/net/netfilter/
A Dxt_policy.c22 xt_addr_cmp(const union nf_inet_addr *a1, const union nf_inet_addr *m, in xt_addr_cmp()
23 const union nf_inet_addr *a2, unsigned short family) in xt_addr_cmp()
39 (xt_addr_cmp(&e->x, &e->y, (const union nf_inet_addr *)(z), family) \ in match_xfrm_state()
A Dxt_ipvs.c32 static bool ipvs_mt_addrcmp(const union nf_inet_addr *kaddr, in ipvs_mt_addrcmp()
33 const union nf_inet_addr *uaddr, in ipvs_mt_addrcmp()
34 const union nf_inet_addr *umask, in ipvs_mt_addrcmp()
A Dnf_nat_sip.c71 const union nf_inet_addr *addr, bool delim) in sip_sprintf_addr()
84 const union nf_inet_addr *addr, u16 port) in sip_sprintf_addr_port()
96 union nf_inet_addr *addr, __be16 port) in map_addr()
104 union nf_inet_addr newaddr; in map_addr()
135 union nf_inet_addr addr; in map_sip_addr()
155 union nf_inet_addr addr; in nf_nat_sip()
384 union nf_inet_addr newaddr; in nf_nat_sip_expect()
487 const union nf_inet_addr *addr) in nf_nat_sdp_addr()
524 const union nf_inet_addr *addr) in nf_nat_sdp_session()
566 union nf_inet_addr *rtp_addr) in nf_nat_sdp_media()
A Dnf_nat_masquerade.c16 union nf_inet_addr addr;
101 static void nf_nat_masq_schedule(struct net *net, union nf_inet_addr *addr, in nf_nat_masq_schedule()
189 union nf_inet_addr addr; in masq_inet_event()
284 union nf_inet_addr addr; in masq_inet6_event()
A Dxt_recent.c69 union nf_inet_addr addr;
80 union nf_inet_addr mask;
111 static inline unsigned int recent_entry_hash4(const union nf_inet_addr *addr) in recent_entry_hash4()
117 static inline unsigned int recent_entry_hash6(const union nf_inet_addr *addr) in recent_entry_hash6()
125 const union nf_inet_addr *addrp, u_int16_t family, in recent_entry_lookup()
179 recent_entry_init(struct recent_table *t, const union nf_inet_addr *addr, in recent_entry_init()
247 union nf_inet_addr addr = {}, addr_mask; in recent_mt()
566 union nf_inet_addr addr = {}; in recent_mt_proc_write()
A Dnf_nat_ftp.c35 union nf_inet_addr *addr, u16 port) in nf_nat_ftp_fmt_cmd()
71 union nf_inet_addr newaddr; in nf_nat_ftp()
A Dnf_conntrack_sip.c188 union nf_inet_addr addr; in epaddr_len()
240 union nf_inet_addr *addr, __be16 *port) in ct_sip_parse_request()
676 union nf_inet_addr addr; in sdp_addr_len()
786 union nf_inet_addr *addr) in ct_sip_parse_sdp_addr()
802 union nf_inet_addr *addr, in refresh_signalling_expectation()
849 union nf_inet_addr *daddr, __be16 port, in set_expected_rtp_rtcp()
858 union nf_inet_addr *saddr; in set_expected_rtp_rtcp()
1038 union nf_inet_addr caddr, maddr, rtp_addr; in process_sdp()
1230 union nf_inet_addr *saddr, daddr; in process_register_request()
1331 union nf_inet_addr addr; in process_register_response()
[all …]
A Dnf_conntrack_h323_main.c216 union nf_inet_addr addr; in expect_rtp_rtcp()
290 union nf_inet_addr addr; in expect_t120()
629 union nf_inet_addr addr; in expect_h245()
674 const union nf_inet_addr *src, in callforward_do_filter()
745 union nf_inet_addr addr; in expect_callforwarding()
806 union nf_inet_addr addr; in process_setup()
1214 union nf_inet_addr addr; in expect_q931()
1285 union nf_inet_addr addr; in process_gcf()
1450 union nf_inet_addr addr; in process_arq()
1496 union nf_inet_addr addr; in process_acf()
[all …]
/linux-6.3-rc2/net/netfilter/ipvs/
A Dip_vs_sh.c84 ip_vs_sh_hashkey(int af, const union nf_inet_addr *addr, in ip_vs_sh_hashkey()
105 const union nf_inet_addr *addr, __be16 port) in ip_vs_sh_get()
122 const union nf_inet_addr *addr, __be16 port) in ip_vs_sh_get_fallback()
315 const union nf_inet_addr *hash_addr; in ip_vs_sh_schedule()
/linux-6.3-rc2/include/linux/
A Dnetfilter.h24 static inline int nf_inet_addr_cmp(const union nf_inet_addr *a1, in nf_inet_addr_cmp()
25 const union nf_inet_addr *a2) in nf_inet_addr_cmp()
40 static inline void nf_inet_addr_mask(const union nf_inet_addr *a1, in nf_inet_addr_mask()
41 union nf_inet_addr *result, in nf_inet_addr_mask()
42 const union nf_inet_addr *mask) in nf_inet_addr_mask()
/linux-6.3-rc2/net/netfilter/ipset/
A Dpfxlen.c151 const union nf_inet_addr ip_set_netmask_map[] = {
165 const union nf_inet_addr ip_set_hostmask_map[] = {
/linux-6.3-rc2/drivers/net/wireguard/selftest/
A Dallowedips.c84 union nf_inet_addr ip;
85 union nf_inet_addr mask;
106 static __init inline union nf_inet_addr horrible_cidr_to_mask(u8 cidr) in horrible_cidr_to_mask()
108 union nf_inet_addr mask; in horrible_cidr_to_mask()
118 static __init inline u8 horrible_mask_to_cidr(union nf_inet_addr subnet) in horrible_mask_to_cidr()
160 !memcmp(&other->mask, &node->mask, sizeof(union nf_inet_addr)) && in horrible_insert_ordered()
161 !memcmp(&other->ip, &node->ip, sizeof(union nf_inet_addr))) { in horrible_insert_ordered()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_bpf_nf.c65 int bpf_ct_set_nat_info(struct nf_conn *, union nf_inet_addr *,
156 union nf_inet_addr saddr = {}; in nf_ct_test()
157 union nf_inet_addr daddr = {}; in nf_ct_test()

Completed in 56 milliseconds

123