Home
last modified time | relevance | path

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

/net/netfilter/ipvs/
Dip_vs_nfct.c86 struct nf_conntrack_tuple new_tuple; in ip_vs_update_conntrack() local
115 new_tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_update_conntrack()
120 new_tuple.src.u3 = cp->daddr; in ip_vs_update_conntrack()
121 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack()
122 new_tuple.dst.protonum != IPPROTO_ICMPV6) in ip_vs_update_conntrack()
123 new_tuple.src.u.tcp.port = cp->dport; in ip_vs_update_conntrack()
125 new_tuple.dst.u3 = cp->vaddr; in ip_vs_update_conntrack()
126 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack()
127 new_tuple.dst.protonum != IPPROTO_ICMPV6) in ip_vs_update_conntrack()
128 new_tuple.dst.u.tcp.port = cp->vport; in ip_vs_update_conntrack()
[all …]
/net/netfilter/
Dnf_nat_core.c389 struct nf_conntrack_tuple curr_tuple, new_tuple; in nf_nat_setup_info() local
409 get_unique_tuple(&new_tuple, &curr_tuple, range, ct, maniptype); in nf_nat_setup_info()
411 if (!nf_ct_tuple_equal(&new_tuple, &curr_tuple)) { in nf_nat_setup_info()
415 nf_ct_invert_tuplepr(&reply, &new_tuple); in nf_nat_setup_info()