Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/psample/
Dpsample.c219 int tun_opts_len = tun_info->options_len; in __psample_ip_tun_to_nlattr() local
272 if (tun_opts_len) { in __psample_ip_tun_to_nlattr()
275 tun_opts_len, tun_opts)) in __psample_ip_tun_to_nlattr()
279 tun_opts_len, tun_opts)) in __psample_ip_tun_to_nlattr()
311 int tun_opts_len = tun_info->options_len; in psample_tunnel_meta_len() local
347 if (tun_opts_len) { in psample_tunnel_meta_len()
349 sum += nla_total_size(tun_opts_len); in psample_tunnel_meta_len()
351 sum += nla_total_size(tun_opts_len); in psample_tunnel_meta_len()
/kernel/linux/linux-5.10/net/openvswitch/
Dflow_netlink.c544 SW_FLOW_KEY_PUT(match, tun_opts_len, nla_len(a), in genev_tun_opt_from_nlattr()
557 if (match->key->tun_opts_len != nla_len(a)) { in genev_tun_opt_from_nlattr()
559 match->key->tun_opts_len, nla_len(a)); in genev_tun_opt_from_nlattr()
563 SW_FLOW_KEY_PUT(match, tun_opts_len, 0xff, true); in genev_tun_opt_from_nlattr()
618 SW_FLOW_KEY_PUT(match, tun_opts_len, sizeof(opts), false); in vxlan_tun_opt_from_nlattr()
620 SW_FLOW_KEY_PUT(match, tun_opts_len, 0xff, true); in vxlan_tun_opt_from_nlattr()
644 SW_FLOW_KEY_PUT(match, tun_opts_len, in erspan_tun_opt_from_nlattr()
647 SW_FLOW_KEY_PUT(match, tun_opts_len, 0xff, true); in erspan_tun_opt_from_nlattr()
2009 opts = TUN_METADATA_OPTS(output, swkey->tun_opts_len); in __ovs_nla_put_key()
2012 swkey->tun_opts_len, swkey->tun_proto, 0)) in __ovs_nla_put_key()
[all …]
Dflow.h64 u8 tun_opts_len; member
Dflow.c870 key->tun_opts_len = tun_info->options_len; in ovs_flow_key_extract()
872 key->tun_opts_len = 0; in ovs_flow_key_extract()
876 key->tun_opts_len = 0; in ovs_flow_key_extract()