Home
last modified time | relevance | path

Searched refs:tuplehash (Results 1 - 25 of 97) sorted by relevance

1234

/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_flow_table_ip.c85 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_v4.s_addr; in nf_flow_snat_ip()
90 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.src_v4.s_addr; in nf_flow_snat_ip()
108 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.src_v4.s_addr; in nf_flow_dnat_ip()
113 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.dst_v4.s_addr; in nf_flow_dnat_ip()
301 struct flow_offload_tuple_rhash *tuplehash) in nf_flow_encap_pop()
306 for (i = 0; i < tuplehash->tuple.encap_num; i++) { in nf_flow_encap_pop()
328 const struct flow_offload_tuple_rhash *tuplehash, in nf_flow_queue_xmit()
333 outdev = dev_get_by_index_rcu(net, tuplehash->tuple.out.ifidx); in nf_flow_queue_xmit()
338 dev_hard_header(skb, skb->dev, type, tuplehash->tuple.out.h_dest, in nf_flow_queue_xmit()
339 tuplehash in nf_flow_queue_xmit()
300 nf_flow_encap_pop(struct sk_buff *skb, struct flow_offload_tuple_rhash *tuplehash) nf_flow_encap_pop() argument
327 nf_flow_queue_xmit(struct net *net, struct sk_buff *skb, const struct flow_offload_tuple_rhash *tuplehash, unsigned short type) nf_flow_queue_xmit() argument
361 nf_flow_offload_forward(struct nf_flowtable_ctx *ctx, struct nf_flowtable *flow_table, struct flow_offload_tuple_rhash *tuplehash, struct sk_buff *skb) nf_flow_offload_forward() argument
412 struct flow_offload_tuple_rhash *tuplehash; nf_flow_offload_ip_hook() local
640 nf_flow_offload_ipv6_forward(struct nf_flowtable_ctx *ctx, struct nf_flowtable *flow_table, struct flow_offload_tuple_rhash *tuplehash, struct sk_buff *skb) nf_flow_offload_ipv6_forward() argument
707 struct flow_offload_tuple_rhash *tuplehash; nf_flow_offload_ipv6_hook() local
[all...]
H A Dnf_flow_table_core.c24 struct flow_offload_tuple *ft = &flow->tuplehash[dir].tuple; in flow_offload_fill_dir()
25 struct nf_conntrack_tuple *ctt = &flow->ct->tuplehash[dir].tuple; in flow_offload_fill_dir()
104 struct flow_offload_tuple *flow_tuple = &flow->tuplehash[dir].tuple; in flow_offload_fill_route()
154 if (flow->tuplehash[dir].tuple.xmit_type == FLOW_OFFLOAD_XMIT_NEIGH || in nft_flow_dst_release()
155 flow->tuplehash[dir].tuple.xmit_type == FLOW_OFFLOAD_XMIT_XFRM) in nft_flow_dst_release()
156 dst_release(flow->tuplehash[dir].tuple.dst_cache); in nft_flow_dst_release()
235 const struct flow_offload_tuple_rhash *tuplehash = data; in flow_offload_hash_obj() local
237 return jhash(&tuplehash->tuple, offsetof(struct flow_offload_tuple, __hash), seed); in flow_offload_hash_obj()
286 &flow->tuplehash[0].node, in flow_offload_add()
292 &flow->tuplehash[ in flow_offload_add()
359 struct flow_offload_tuple_rhash *tuplehash; flow_offload_lookup() local
386 struct flow_offload_tuple_rhash *tuplehash; nf_flow_table_iterate() local
[all...]
H A Dnf_nat_sip.c107 if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.src.u3, addr) && in map_addr()
108 ct->tuplehash[dir].tuple.src.u.udp.port == port) { in map_addr()
109 newaddr = ct->tuplehash[!dir].tuple.dst.u3; in map_addr()
110 newport = ct->tuplehash[!dir].tuple.dst.u.udp.port; in map_addr()
111 } else if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.dst.u3, addr) && in map_addr()
112 ct->tuplehash[dir].tuple.dst.u.udp.port == port) { in map_addr()
113 newaddr = ct->tuplehash[!dir].tuple.src.u3; in map_addr()
115 ct->tuplehash[!dir].tuple.src.u.udp.port; in map_addr()
189 &ct->tuplehash[dir].tuple.src.u3) || in nf_nat_sip()
190 port != ct->tuplehash[di in nf_nat_sip()
[all...]
H A Dnf_conntrack_h323_main.c222 memcmp(&addr, &ct->tuplehash[dir].tuple.src.u3, sizeof(addr)) || in expect_rtp_rtcp()
234 &ct->tuplehash[!dir].tuple.src.u3, in expect_rtp_rtcp()
235 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp()
244 &ct->tuplehash[!dir].tuple.src.u3, in expect_rtp_rtcp()
245 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp()
249 if (memcmp(&ct->tuplehash[dir].tuple.src.u3, in expect_rtp_rtcp()
250 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp()
251 sizeof(ct->tuplehash[dir].tuple.src.u3)) && in expect_rtp_rtcp()
295 memcmp(&addr, &ct->tuplehash[dir].tuple.src.u3, sizeof(addr)) || in expect_t120()
303 &ct->tuplehash[!di in expect_t120()
[all...]
H A Dnf_flow_table_offload.c236 this_tuple = &flow->tuplehash[dir].tuple; in flow_offload_eth_src()
243 other_tuple = &flow->tuplehash[!dir].tuple; in flow_offload_eth_src()
286 this_tuple = &flow->tuplehash[dir].tuple; in flow_offload_eth_dst()
293 other_tuple = &flow->tuplehash[!dir].tuple; in flow_offload_eth_dst()
339 addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_v4.s_addr; in flow_offload_ipv4_snat()
343 addr = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.src_v4.s_addr; in flow_offload_ipv4_snat()
366 addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.src_v4.s_addr; in flow_offload_ipv4_dnat()
370 addr = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.dst_v4.s_addr; in flow_offload_ipv4_dnat()
406 addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_v6.s6_addr32; in flow_offload_ipv6_snat()
410 addr = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINA in flow_offload_ipv6_snat()
[all...]
H A Dxt_conntrack.c44 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3, in conntrack_mt_origsrc()
53 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3, in conntrack_mt_origdst()
62 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.u3, in conntrack_mt_replsrc()
71 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3, in conntrack_mt_repldst()
81 tuple = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in ct_proto_port_check()
98 tuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ct_proto_port_check()
125 tuple = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in ct_proto_port_check_v3()
144 tuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ct_proto_port_check_v3()
H A Dnf_nat_proto.c426 nf_ct_invert_tuple(&target, &ct->tuplehash[!dir].tuple); in nf_nat_manip_pkt()
602 &ct->tuplehash[!dir].tuple, !manip)) in nf_nat_icmp_reply_translation()
615 nf_ct_invert_tuple(&target, &ct->tuplehash[!dir].tuple); in nf_nat_icmp_reply_translation()
740 if (ct->tuplehash[dir].tuple.src.u3.ip != in nf_nat_ipv4_out()
741 ct->tuplehash[!dir].tuple.dst.u3.ip || in nf_nat_ipv4_out()
742 (ct->tuplehash[dir].tuple.dst.protonum != IPPROTO_ICMP && in nf_nat_ipv4_out()
743 ct->tuplehash[dir].tuple.src.u.all != in nf_nat_ipv4_out()
744 ct->tuplehash[!dir].tuple.dst.u.all)) { in nf_nat_ipv4_out()
771 if (ct->tuplehash[dir].tuple.dst.u3.ip != in nf_nat_ipv4_local_fn()
772 ct->tuplehash[!di in nf_nat_ipv4_local_fn()
[all...]
H A Dnf_conntrack_core.c497 d = (unsigned long)siphash(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple, in nf_ct_get_id()
498 sizeof(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple), in nf_ct_get_id()
511 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_ORIGINAL].hnnode); in clean_from_lists()
512 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode); in clean_from_lists()
611 &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple, in __nf_ct_delete_from_lists()
614 &ct->tuplehash[IP_CT_DIR_REPLY].tuple, in __nf_ct_delete_from_lists()
638 hlist_nulls_add_head_rcu(&ct->tuplehash[IP_CT_DIR_ORIGINAL].hnnode, in nf_ct_add_to_ecache_list()
705 return nf_ct_tuple_equal(&ct1->tuplehash[IP_CT_DIR_ORIGINAL].tuple, in nf_ct_match()
706 &ct2->tuplehash[IP_CT_DIR_ORIGINAL].tuple) && in nf_ct_match()
707 nf_ct_tuple_equal(&ct1->tuplehash[IP_CT_DIR_REPL in nf_ct_match()
[all...]
H A Dnf_conntrack_tftp.c61 nf_ct_dump_tuple(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple); in tftp_help()
62 nf_ct_dump_tuple(&ct->tuplehash[IP_CT_DIR_REPLY].tuple); in tftp_help()
69 tuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in tftp_help()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_flow_table_core.c24 struct flow_offload_tuple *ft = &flow->tuplehash[dir].tuple; in flow_offload_fill_dir()
25 struct nf_conntrack_tuple *ctt = &flow->ct->tuplehash[dir].tuple; in flow_offload_fill_dir()
81 struct flow_offload_tuple *flow_tuple = &flow->tuplehash[dir].tuple; in flow_offload_fill_route()
172 dst_release(flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.dst_cache); in flow_offload_route_release()
173 dst_release(flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_cache); in flow_offload_route_release()
199 const struct flow_offload_tuple_rhash *tuplehash = data; in flow_offload_hash_obj() local
201 return jhash(&tuplehash->tuple, offsetof(struct flow_offload_tuple, dir), seed); in flow_offload_hash_obj()
231 &flow->tuplehash[0].node, in flow_offload_add()
237 &flow->tuplehash[1].node, in flow_offload_add()
241 &flow->tuplehash[ in flow_offload_add()
306 struct flow_offload_tuple_rhash *tuplehash; flow_offload_lookup() local
332 struct flow_offload_tuple_rhash *tuplehash; nf_flow_table_iterate() local
[all...]
H A Dnf_flow_table_ip.c97 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_v4.s_addr; in nf_flow_snat_ip()
102 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.src_v4.s_addr; in nf_flow_snat_ip()
122 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.src_v4.s_addr; in nf_flow_dnat_ip()
127 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.dst_v4.s_addr; in nf_flow_dnat_ip()
245 struct flow_offload_tuple_rhash *tuplehash; in nf_flow_offload_ip_hook() local
262 tuplehash = flow_offload_lookup(flow_table, &tuple); in nf_flow_offload_ip_hook()
263 if (tuplehash == NULL) in nf_flow_offload_ip_hook()
266 dir = tuplehash->tuple.dir; in nf_flow_offload_ip_hook()
267 flow = container_of(tuplehash, struct flow_offload, tuplehash[di in nf_flow_offload_ip_hook()
487 struct flow_offload_tuple_rhash *tuplehash; nf_flow_offload_ipv6_hook() local
[all...]
H A Dnf_nat_sip.c107 if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.src.u3, addr) && in map_addr()
108 ct->tuplehash[dir].tuple.src.u.udp.port == port) { in map_addr()
109 newaddr = ct->tuplehash[!dir].tuple.dst.u3; in map_addr()
110 newport = ct->tuplehash[!dir].tuple.dst.u.udp.port; in map_addr()
111 } else if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.dst.u3, addr) && in map_addr()
112 ct->tuplehash[dir].tuple.dst.u.udp.port == port) { in map_addr()
113 newaddr = ct->tuplehash[!dir].tuple.src.u3; in map_addr()
115 ct->tuplehash[!dir].tuple.src.u.udp.port; in map_addr()
189 &ct->tuplehash[dir].tuple.src.u3) || in nf_nat_sip()
190 port != ct->tuplehash[di in nf_nat_sip()
[all...]
H A Dnf_conntrack_h323_main.c272 memcmp(&addr, &ct->tuplehash[dir].tuple.src.u3, sizeof(addr)) || in expect_rtp_rtcp()
284 &ct->tuplehash[!dir].tuple.src.u3, in expect_rtp_rtcp()
285 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp()
294 &ct->tuplehash[!dir].tuple.src.u3, in expect_rtp_rtcp()
295 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp()
298 if (memcmp(&ct->tuplehash[dir].tuple.src.u3, in expect_rtp_rtcp()
299 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp()
300 sizeof(ct->tuplehash[dir].tuple.src.u3)) && in expect_rtp_rtcp()
344 memcmp(&addr, &ct->tuplehash[dir].tuple.src.u3, sizeof(addr)) || in expect_t120()
352 &ct->tuplehash[!di in expect_t120()
[all...]
H A Dnf_conntrack_core.c472 d = (unsigned long)siphash(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple, in nf_ct_get_id()
473 sizeof(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple), in nf_ct_get_id()
487 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_ORIGINAL].hnnode); in clean_from_lists()
488 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_REPLY].hnnode); in clean_from_lists()
504 hlist_nulls_add_head(&ct->tuplehash[IP_CT_DIR_ORIGINAL].hnnode, in nf_ct_add_to_dying_list()
519 hlist_nulls_add_head(&ct->tuplehash[IP_CT_DIR_ORIGINAL].hnnode, in nf_ct_add_to_unconfirmed_list()
533 BUG_ON(hlist_nulls_unhashed(&ct->tuplehash[IP_CT_DIR_ORIGINAL].hnnode)); in nf_ct_del_from_dying_or_unconfirmed_list()
534 hlist_nulls_del_rcu(&ct->tuplehash[IP_CT_DIR_ORIGINAL].hnnode); in nf_ct_del_from_dying_or_unconfirmed_list()
641 &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple); in nf_ct_delete_from_lists()
643 &ct->tuplehash[IP_CT_DIR_REPL in nf_ct_delete_from_lists()
[all...]
H A Dxt_conntrack.c44 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3, in conntrack_mt_origsrc()
53 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3, in conntrack_mt_origdst()
62 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.u3, in conntrack_mt_replsrc()
71 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3, in conntrack_mt_repldst()
81 tuple = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in ct_proto_port_check()
98 tuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ct_proto_port_check()
125 tuple = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in ct_proto_port_check_v3()
144 tuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ct_proto_port_check_v3()
H A Dnf_nat_proto.c426 nf_ct_invert_tuple(&target, &ct->tuplehash[!dir].tuple); in nf_nat_manip_pkt()
602 &ct->tuplehash[!dir].tuple, !manip)) in nf_nat_icmp_reply_translation()
615 nf_ct_invert_tuple(&target, &ct->tuplehash[!dir].tuple); in nf_nat_icmp_reply_translation()
702 if (ct->tuplehash[dir].tuple.src.u3.ip != in nf_nat_ipv4_out()
703 ct->tuplehash[!dir].tuple.dst.u3.ip || in nf_nat_ipv4_out()
704 (ct->tuplehash[dir].tuple.dst.protonum != IPPROTO_ICMP && in nf_nat_ipv4_out()
705 ct->tuplehash[dir].tuple.src.u.all != in nf_nat_ipv4_out()
706 ct->tuplehash[!dir].tuple.dst.u.all)) { in nf_nat_ipv4_out()
733 if (ct->tuplehash[dir].tuple.dst.u3.ip != in nf_nat_ipv4_local_fn()
734 ct->tuplehash[!di in nf_nat_ipv4_local_fn()
[all...]
H A Dnf_flow_table_offload.c178 const struct flow_offload_tuple *tuple = &flow->tuplehash[!dir].tuple; in flow_offload_eth_src()
211 const void *daddr = &flow->tuplehash[!dir].tuple.src_v4; in flow_offload_eth_dst()
219 dst_cache = flow->tuplehash[dir].tuple.dst_cache; in flow_offload_eth_dst()
261 addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_v4.s_addr; in flow_offload_ipv4_snat()
265 addr = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.src_v4.s_addr; in flow_offload_ipv4_snat()
288 addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.src_v4.s_addr; in flow_offload_ipv4_dnat()
292 addr = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.dst_v4.s_addr; in flow_offload_ipv4_dnat()
328 addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_v6.s6_addr32; in flow_offload_ipv6_snat()
332 addr = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.src_v6.s6_addr32; in flow_offload_ipv6_snat()
353 addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPL in flow_offload_ipv6_dnat()
[all...]
H A Dnf_conntrack_tftp.c61 nf_ct_dump_tuple(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple); in tftp_help()
62 nf_ct_dump_tuple(&ct->tuplehash[IP_CT_DIR_REPLY].tuple); in tftp_help()
69 tuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in tftp_help()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
H A Dnf_nat_h323.c105 if (addr.ip == ct->tuplehash[dir].tuple.src.u3.ip && in set_sig_addr()
118 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_sig_addr()
122 &ct->tuplehash[!dir]. in set_sig_addr()
125 } else if (addr.ip == ct->tuplehash[dir].tuple.dst.u3.ip && in set_sig_addr()
130 &ct->tuplehash[!dir].tuple.src.u3.ip, in set_sig_addr()
134 &ct->tuplehash[!dir]. in set_sig_addr()
157 addr.ip == ct->tuplehash[dir].tuple.src.u3.ip && in set_ras_addr()
158 port == ct->tuplehash[dir].tuple.src.u.udp.port) { in set_ras_addr()
161 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_ras_addr()
162 ntohs(ct->tuplehash[!di in set_ras_addr()
[all...]
H A Dnf_nat_pptp.c67 t.src.u3.ip = master->tuplehash[!exp->dir].tuple.src.u3.ip; in pptp_nat_expected()
69 t.dst.u3.ip = master->tuplehash[!exp->dir].tuple.dst.u3.ip; in pptp_nat_expected()
76 t.src.u3.ip = master->tuplehash[!exp->dir].tuple.src.u3.ip; in pptp_nat_expected()
78 t.dst.u3.ip = master->tuplehash[!exp->dir].tuple.dst.u3.ip; in pptp_nat_expected()
100 = ct->master->tuplehash[!exp->dir].tuple.dst.u3; in pptp_nat_expected()
110 = ct->master->tuplehash[!exp->dir].tuple.src.u3; in pptp_nat_expected()
156 new_callid = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u.tcp.port; in pptp_outbound_pkt()
H A Dnf_nat_snmp_basic_main.c136 ctx.from = ct->tuplehash[dir].tuple.src.u3.ip; in snmp_translate()
137 ctx.to = ct->tuplehash[!dir].tuple.dst.u3.ip; in snmp_translate()
139 ctx.from = ct->tuplehash[!dir].tuple.src.u3.ip; in snmp_translate()
140 ctx.to = ct->tuplehash[dir].tuple.dst.u3.ip; in snmp_translate()
/kernel/linux/linux-6.6/net/ipv4/netfilter/
H A Dnf_nat_h323.c105 if (addr.ip == ct->tuplehash[dir].tuple.src.u3.ip && in set_sig_addr()
118 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_sig_addr()
122 &ct->tuplehash[!dir]. in set_sig_addr()
125 } else if (addr.ip == ct->tuplehash[dir].tuple.dst.u3.ip && in set_sig_addr()
130 &ct->tuplehash[!dir].tuple.src.u3.ip, in set_sig_addr()
134 &ct->tuplehash[!dir]. in set_sig_addr()
157 addr.ip == ct->tuplehash[dir].tuple.src.u3.ip && in set_ras_addr()
158 port == ct->tuplehash[dir].tuple.src.u.udp.port) { in set_ras_addr()
161 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_ras_addr()
162 ntohs(ct->tuplehash[!di in set_ras_addr()
[all...]
H A Dnf_nat_pptp.c67 t.src.u3.ip = master->tuplehash[!exp->dir].tuple.src.u3.ip; in pptp_nat_expected()
69 t.dst.u3.ip = master->tuplehash[!exp->dir].tuple.dst.u3.ip; in pptp_nat_expected()
76 t.src.u3.ip = master->tuplehash[!exp->dir].tuple.src.u3.ip; in pptp_nat_expected()
78 t.dst.u3.ip = master->tuplehash[!exp->dir].tuple.dst.u3.ip; in pptp_nat_expected()
100 = ct->master->tuplehash[!exp->dir].tuple.dst.u3; in pptp_nat_expected()
110 = ct->master->tuplehash[!exp->dir].tuple.src.u3; in pptp_nat_expected()
156 new_callid = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u.tcp.port; in pptp_outbound_pkt()
H A Dnf_nat_snmp_basic_main.c136 ctx.from = ct->tuplehash[dir].tuple.src.u3.ip; in snmp_translate()
137 ctx.to = ct->tuplehash[!dir].tuple.dst.u3.ip; in snmp_translate()
139 ctx.from = ct->tuplehash[!dir].tuple.src.u3.ip; in snmp_translate()
140 ctx.to = ct->tuplehash[dir].tuple.dst.u3.ip; in snmp_translate()
/kernel/linux/linux-5.10/include/net/netfilter/
H A Dnf_conntrack.h78 struct nf_conntrack_tuple_hash tuplehash[IP_CT_DIR_MAX]; member
114 tuplehash[hash->tuple.dst.dir]); in nf_ct_tuplehash_to_ctrack()
119 return ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.l3num; in nf_ct_l3num()
124 return ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum; in nf_ct_protonum()
127 #define nf_ct_tuple(ct, dir) (&(ct)->tuplehash[dir].tuple)

Completed in 25 milliseconds

1234