Home
last modified time | relevance | path

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

/linux-2.6.39/net/netfilter/ipvs/
Dip_vs_nfct.c86 struct nf_conntrack_tuple new_tuple; in ip_vs_update_conntrack() local
106 new_tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_update_conntrack()
111 new_tuple.src.u3 = cp->daddr; in ip_vs_update_conntrack()
112 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack()
113 new_tuple.dst.protonum != IPPROTO_ICMPV6) in ip_vs_update_conntrack()
114 new_tuple.src.u.tcp.port = cp->dport; in ip_vs_update_conntrack()
116 new_tuple.dst.u3 = cp->vaddr; in ip_vs_update_conntrack()
117 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack()
118 new_tuple.dst.protonum != IPPROTO_ICMPV6) in ip_vs_update_conntrack()
119 new_tuple.dst.u.tcp.port = cp->vport; in ip_vs_update_conntrack()
[all …]
/linux-2.6.39/net/ipv4/netfilter/
Dnf_nat_core.c274 struct nf_conntrack_tuple curr_tuple, new_tuple; in nf_nat_setup_info() local
299 get_unique_tuple(&new_tuple, &curr_tuple, range, ct, maniptype); in nf_nat_setup_info()
301 if (!nf_ct_tuple_equal(&new_tuple, &curr_tuple)) { in nf_nat_setup_info()
305 nf_ct_invert_tuplepr(&reply, &new_tuple); in nf_nat_setup_info()