Home
last modified time | relevance | path

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

123

/linux-6.6.21/include/uapi/linux/netfilter/
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 …]
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;
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;
Dxt_iprange.h16 union nf_inet_addr src_min, src_max;
17 union nf_inet_addr dst_min, dst_max;
Dxt_HMARK.h41 union nf_inet_addr src_mask;
42 union nf_inet_addr dst_mask;
/linux-6.6.21/include/linux/netfilter/
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,
Dnf_conntrack_h323.h35 TransportAddress *taddr, union nf_inet_addr *addr,
42 union nf_inet_addr *addr, __be16 port);
46 union nf_inet_addr *addr, __be16 port);
/linux-6.6.21/include/net/
Dip_vs.h56 union nf_inet_addr saddr;
57 union nf_inet_addr daddr;
151 static inline void ip_vs_addr_copy(int af, union nf_inet_addr *dst, in ip_vs_addr_copy()
152 const union nf_inet_addr *src) in ip_vs_addr_copy()
162 static inline void ip_vs_addr_set(int af, union nf_inet_addr *dst, in ip_vs_addr_set()
163 const union nf_inet_addr *src) in ip_vs_addr_set()
177 static inline int ip_vs_addr_equal(int af, const union nf_inet_addr *a, in ip_vs_addr_equal()
178 const union nf_inet_addr *b) in ip_vs_addr_equal()
193 const union nf_inet_addr *addr, in ip_vs_dbg_addr()
550 const union nf_inet_addr *caddr;
[all …]
/linux-6.6.21/include/linux/netfilter/ipset/
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.6.21/include/uapi/linux/netfilter_ipv6/
Dip6t_NPT.h9 union nf_inet_addr src_pfx;
10 union nf_inet_addr dst_pfx;
/linux-6.6.21/include/net/netfilter/
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;
80 union nf_inet_addr u3;
Dnf_conntrack_expect.h52 union nf_inet_addr saved_addr;
125 const union nf_inet_addr *,
126 const union nf_inet_addr *,
/linux-6.6.21/net/netfilter/
Dnf_nat_redirect.c30 const union nf_inet_addr *newdst) in nf_nat_redirect()
53 union nf_inet_addr newdst = {}; in nf_nat_redirect_ipv4()
107 union nf_inet_addr newdst = {}; in nf_nat_redirect_ipv6()
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()
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()
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()
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()
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()
Dnf_conntrack_sip.c144 const char **endp, union nf_inet_addr *addr, in sip_parse_addr()
188 union nf_inet_addr addr; in epaddr_len()
240 union nf_inet_addr *addr, __be16 *port) in ct_sip_parse_request()
509 union nf_inet_addr *addr, __be16 *port) in ct_sip_parse_header_uri()
570 union nf_inet_addr *addr, bool delim) in ct_sip_parse_address_param()
647 const char **endp, union nf_inet_addr *addr, in sdp_parse_addr()
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()
[all …]
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()
Dnf_conntrack_h323_main.c173 union nf_inet_addr *addr, __be16 *port) in get_h245_addr()
216 union nf_inet_addr addr; in expect_rtp_rtcp()
290 union nf_inet_addr addr; in expect_t120()
590 union nf_inet_addr *addr, __be16 *port) in get_h225_addr()
629 union nf_inet_addr addr; in expect_h245()
674 const union nf_inet_addr *src, in callforward_do_filter()
675 const union nf_inet_addr *dst, in callforward_do_filter()
745 union nf_inet_addr addr; in expect_callforwarding()
806 union nf_inet_addr addr; in process_setup()
1184 union nf_inet_addr *addr, in find_expect()
[all …]
/linux-6.6.21/net/netfilter/ipvs/
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.6.21/include/linux/
Dnetfilter.h25 static inline int nf_inet_addr_cmp(const union nf_inet_addr *a1, in nf_inet_addr_cmp()
26 const union nf_inet_addr *a2) in nf_inet_addr_cmp()
41 static inline void nf_inet_addr_mask(const union nf_inet_addr *a1, in nf_inet_addr_mask()
42 union nf_inet_addr *result, in nf_inet_addr_mask()
43 const union nf_inet_addr *mask) in nf_inet_addr_mask()
/linux-6.6.21/net/netfilter/ipset/
Dpfxlen.c151 const union nf_inet_addr ip_set_netmask_map[] = {
165 const union nf_inet_addr ip_set_hostmask_map[] = {
/linux-6.6.21/drivers/net/wireguard/selftest/
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()

123