/linux/include/uapi/linux/netfilter/ |
H A D | xt_conntrack.h | 39 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 …]
|
H A D | nf_nat.h | 40 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;
|
H A D | xt_policy.h | 44 union nf_inet_addr saddr; 45 union nf_inet_addr smask; 46 union nf_inet_addr daddr; 47 union nf_inet_addr dmask;
|
H A D | xt_iprange.h | 16 union nf_inet_addr src_min, src_max; 17 union nf_inet_addr dst_min, dst_max;
|
H A D | xt_HMARK.h | 41 union nf_inet_addr src_mask; 42 union nf_inet_addr dst_mask;
|
/linux/include/linux/netfilter/ |
H A D | nf_conntrack_sip.h | 137 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,
|
H A D | nf_conntrack_h323.h | 35 TransportAddress *taddr, union nf_inet_addr *addr, 42 union nf_inet_addr *addr, __be16 port); 46 union nf_inet_addr *addr, __be16 port);
|
/linux/include/net/ |
H A D | ip_vs.h | 56 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/include/linux/netfilter/ipset/ |
H A D | pfxlen.h | 10 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/include/net/netfilter/ |
H A D | nf_conntrack_tuple.h | 26 #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;
|
H A D | nf_conntrack_expect.h | 52 union nf_inet_addr saved_addr; 125 const union nf_inet_addr *, 126 const union nf_inet_addr *,
|
/linux/include/uapi/linux/netfilter_ipv6/ |
H A D | ip6t_NPT.h | 9 union nf_inet_addr src_pfx; 10 union nf_inet_addr dst_pfx;
|
/linux/net/netfilter/ |
H A D | nf_nat_redirect.c | 30 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()
|
H A D | xt_policy.c | 22 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()
|
H A D | xt_ipvs.c | 32 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()
|
H A D | nf_nat_sip.c | 71 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()
|
H A D | xt_recent.c | 69 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()
|
H A D | nf_nat_masquerade.c | 16 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()
|
H A D | nf_conntrack_sip.c | 144 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 …]
|
H A D | nf_nat_ftp.c | 35 union nf_inet_addr *addr, u16 port) in nf_nat_ftp_fmt_cmd() 71 union nf_inet_addr newaddr; in nf_nat_ftp()
|
H A D | nf_conntrack_h323_main.c | 173 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/net/netfilter/ipvs/ |
H A D | ip_vs_sh.c | 84 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()
|
H A D | ip_vs_core.c | 232 const union nf_inet_addr *caddr, __be16 cport, in ip_vs_conn_fill_param_persist() 233 const union nf_inet_addr *vaddr, __be16 vport, in ip_vs_conn_fill_param_persist() 263 const union nf_inet_addr fwmark = { .ip = htonl(svc->fwmark) }; in ip_vs_sched_persist() 264 union nf_inet_addr snet; /* source network of the client, in ip_vs_sched_persist() 266 const union nf_inet_addr *src_addr, *dst_addr; in ip_vs_sched_persist() 307 const union nf_inet_addr *vaddr = dst_addr; in ip_vs_sched_persist() 571 union nf_inet_addr *addr) in ip_vs_addr_is_unicast() 608 union nf_inet_addr daddr = { .all = { 0, 0, 0, 0 } }; in ip_vs_leave() 857 union nf_inet_addr *snet, in handle_response_icmp() 924 union nf_inet_addr snet; in ip_vs_out_icmp() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_bpf_nf.c | 86 int bpf_ct_set_nat_info(struct nf_conn *, union nf_inet_addr *, 176 union nf_inet_addr saddr = {}; in nf_ct_test() 177 union nf_inet_addr daddr = {}; in nf_ct_test() 279 union nf_inet_addr saddr = {}; in nf_ct_opts_new_test() 280 union nf_inet_addr daddr = {}; in nf_ct_opts_new_test()
|
/linux/include/linux/ |
H A D | netfilter.h | 35 static inline int nf_inet_addr_cmp(const union nf_inet_addr *a1, in nf_inet_addr_cmp() 36 const union nf_inet_addr *a2) in nf_inet_addr_cmp() 51 static inline void nf_inet_addr_mask(const union nf_inet_addr *a1, in nf_inet_addr_mask() 52 union nf_inet_addr *result, in nf_inet_addr_mask() 53 const union nf_inet_addr *mask) in nf_inet_addr_mask()
|