Home
last modified time | relevance | path

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

/linux-6.1.9/net/psample/
Dpsample.c221 int tun_opts_len = tun_info->options_len; in __psample_ip_tun_to_nlattr() local
274 if (tun_opts_len) { in __psample_ip_tun_to_nlattr()
277 tun_opts_len, tun_opts)) in __psample_ip_tun_to_nlattr()
281 tun_opts_len, tun_opts)) in __psample_ip_tun_to_nlattr()
313 int tun_opts_len = tun_info->options_len; in psample_tunnel_meta_len() local
349 if (tun_opts_len) { in psample_tunnel_meta_len()
351 sum += nla_total_size(tun_opts_len); in psample_tunnel_meta_len()
353 sum += nla_total_size(tun_opts_len); in psample_tunnel_meta_len()
/linux-6.1.9/net/openvswitch/
Dflow_netlink.c554 SW_FLOW_KEY_PUT(match, tun_opts_len, nla_len(a), in genev_tun_opt_from_nlattr()
567 if (match->key->tun_opts_len != nla_len(a)) { in genev_tun_opt_from_nlattr()
569 match->key->tun_opts_len, nla_len(a)); in genev_tun_opt_from_nlattr()
573 SW_FLOW_KEY_PUT(match, tun_opts_len, 0xff, true); in genev_tun_opt_from_nlattr()
628 SW_FLOW_KEY_PUT(match, tun_opts_len, sizeof(opts), false); in vxlan_tun_opt_from_nlattr()
630 SW_FLOW_KEY_PUT(match, tun_opts_len, 0xff, true); in vxlan_tun_opt_from_nlattr()
654 SW_FLOW_KEY_PUT(match, tun_opts_len, in erspan_tun_opt_from_nlattr()
657 SW_FLOW_KEY_PUT(match, tun_opts_len, 0xff, true); in erspan_tun_opt_from_nlattr()
2030 opts = TUN_METADATA_OPTS(output, swkey->tun_opts_len); in __ovs_nla_put_key()
2033 swkey->tun_opts_len, swkey->tun_proto, 0)) in __ovs_nla_put_key()
[all …]
Dflow.h77 u8 tun_opts_len; member
Dflow.c1019 key->tun_opts_len = tun_info->options_len; in ovs_flow_key_extract()
1021 key->tun_opts_len = 0; in ovs_flow_key_extract()
1025 key->tun_opts_len = 0; in ovs_flow_key_extract()