Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dnf_flow_table_offload.c231 const struct flow_offload_tuple *other_tuple, *this_tuple; in flow_offload_eth_src() local
244 other_tuple = &flow->tuplehash[!dir].tuple; in flow_offload_eth_src()
245 dev = dev_get_by_index(net, other_tuple->iifidx); in flow_offload_eth_src()
278 const struct flow_offload_tuple *other_tuple, *this_tuple; in flow_offload_eth_dst() local
294 other_tuple = &flow->tuplehash[!dir].tuple; in flow_offload_eth_dst()
295 daddr = &other_tuple->src_v4; in flow_offload_eth_dst()
550 const struct flow_offload_tuple *this_tuple, *other_tuple; in flow_offload_redirect() local
562 other_tuple = &flow->tuplehash[!dir].tuple; in flow_offload_redirect()
563 ifindex = other_tuple->iifidx; in flow_offload_redirect()
607 const struct flow_offload_tuple *other_tuple; in flow_offload_decap_tunnel() local
[all …]
H A Dnf_flow_table_ip.c762 struct flow_offload_tuple *other_tuple; in nf_flow_offload_ip_hook() local
794 other_tuple = &flow->tuplehash[!dir].tuple; in nf_flow_offload_ip_hook()
795 ip_daddr = other_tuple->src_v4.s_addr; in nf_flow_offload_ip_hook()
797 if (nf_flow_tunnel_v4_push(state->net, skb, other_tuple, &ip_daddr) < 0) in nf_flow_offload_ip_hook()
800 if (nf_flow_encap_push(skb, other_tuple) < 0) in nf_flow_offload_ip_hook()
1082 struct flow_offload_tuple *other_tuple; in nf_flow_offload_ipv6_hook() local
1115 other_tuple = &flow->tuplehash[!dir].tuple; in nf_flow_offload_ipv6_hook()
1116 ip6_daddr = &other_tuple->src_v6; in nf_flow_offload_ipv6_hook()
1118 if (nf_flow_tunnel_v6_push(state->net, skb, other_tuple, in nf_flow_offload_ipv6_hook()
1122 if (nf_flow_encap_push(skb, other_tuple) < 0) in nf_flow_offload_ipv6_hook()