Home
last modified time | relevance | path

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

/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_nfct.c75 struct nf_conntrack_tuple new_tuple; in ip_vs_update_conntrack() local
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()
126 ARG_TUPLE(&new_tuple)); in ip_vs_update_conntrack()
[all …]
/openbmc/linux/net/netfilter/
H A Dnf_nat_core.c785 struct nf_conntrack_tuple curr_tuple, new_tuple; in nf_nat_setup_info() local
805 get_unique_tuple(&new_tuple, &curr_tuple, range, ct, maniptype); in nf_nat_setup_info()
807 if (!nf_ct_tuple_equal(&new_tuple, &curr_tuple)) { in nf_nat_setup_info()
811 nf_ct_invert_tuple(&reply, &new_tuple); in nf_nat_setup_info()