Home
last modified time | relevance | path

Searched refs:new_tuple (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/net/netfilter/ipvs/
Dip_vs_nfct.c75 struct nf_conntrack_tuple new_tuple; in ip_vs_update_conntrack() local
104 new_tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_update_conntrack()
109 new_tuple.src.u3 = cp->daddr; in ip_vs_update_conntrack()
110 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack()
111 new_tuple.dst.protonum != IPPROTO_ICMPV6) in ip_vs_update_conntrack()
112 new_tuple.src.u.tcp.port = cp->dport; in ip_vs_update_conntrack()
114 new_tuple.dst.u3 = cp->vaddr; in ip_vs_update_conntrack()
115 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack()
116 new_tuple.dst.protonum != IPPROTO_ICMPV6) in ip_vs_update_conntrack()
117 new_tuple.dst.u.tcp.port = cp->vport; in ip_vs_update_conntrack()
[all …]
/linux-6.6.21/net/netfilter/
Dnf_nat_core.c669 struct nf_conntrack_tuple curr_tuple, new_tuple; in nf_nat_setup_info() local
689 get_unique_tuple(&new_tuple, &curr_tuple, range, ct, maniptype); in nf_nat_setup_info()
691 if (!nf_ct_tuple_equal(&new_tuple, &curr_tuple)) { in nf_nat_setup_info()
695 nf_ct_invert_tuple(&reply, &new_tuple); in nf_nat_setup_info()