Home
last modified time | relevance | path

Searched refs:inverse (Results 1 – 4 of 4) sorted by relevance

/net/netfilter/
Dnf_conntrack_core.c448 nf_ct_invert_tuple(struct nf_conntrack_tuple *inverse, in nf_ct_invert_tuple() argument
451 memset(inverse, 0, sizeof(*inverse)); in nf_ct_invert_tuple()
453 inverse->src.l3num = orig->src.l3num; in nf_ct_invert_tuple()
457 inverse->src.u3.ip = orig->dst.u3.ip; in nf_ct_invert_tuple()
458 inverse->dst.u3.ip = orig->src.u3.ip; in nf_ct_invert_tuple()
461 inverse->src.u3.in6 = orig->dst.u3.in6; in nf_ct_invert_tuple()
462 inverse->dst.u3.in6 = orig->src.u3.in6; in nf_ct_invert_tuple()
468 inverse->dst.dir = !orig->dst.dir; in nf_ct_invert_tuple()
470 inverse->dst.protonum = orig->dst.protonum; in nf_ct_invert_tuple()
474 return nf_conntrack_invert_icmp_tuple(inverse, orig); in nf_ct_invert_tuple()
[all …]
/net/netfilter/ipvs/
Dip_vs_pe_sip.c136 u32 initval, bool inverse) in ip_vs_sip_hashkey_raw() argument
Dip_vs_conn.c123 bool inverse) in ip_vs_conn_hashkey_param() argument
129 return p->pe->hashkey_raw(p, ip_vs_conn_rnd, inverse) & in ip_vs_conn_hashkey_param()
132 if (likely(!inverse)) { in ip_vs_conn_hashkey_param()
/net/openvswitch/
Dconntrack.c625 struct nf_conntrack_tuple inverse; in ovs_ct_find_existing() local
627 if (!nf_ct_invert_tuple(&inverse, &tuple)) { in ovs_ct_find_existing()
631 tuple = inverse; in ovs_ct_find_existing()