Searched refs:tun_opts_len (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/net/psample/ |
H A D | psample.c | 222 int tun_opts_len = tun_info->options_len; in __psample_ip_tun_to_nlattr() local 275 if (tun_opts_len) { in __psample_ip_tun_to_nlattr() 278 tun_opts_len, tun_opts)) in __psample_ip_tun_to_nlattr() 282 tun_opts_len, tun_opts)) in __psample_ip_tun_to_nlattr() 314 int tun_opts_len = tun_info->options_len; in psample_tunnel_meta_len() local 350 if (tun_opts_len) { in psample_tunnel_meta_len() 352 sum += nla_total_size(tun_opts_len); in psample_tunnel_meta_len() 354 sum += nla_total_size(tun_opts_len); in psample_tunnel_meta_len()
|
/openbmc/linux/net/openvswitch/ |
H A D | flow_netlink.c | 557 SW_FLOW_KEY_PUT(match, tun_opts_len, nla_len(a), in genev_tun_opt_from_nlattr() 570 if (match->key->tun_opts_len != nla_len(a)) { in genev_tun_opt_from_nlattr() 572 match->key->tun_opts_len, nla_len(a)); in genev_tun_opt_from_nlattr() 576 SW_FLOW_KEY_PUT(match, tun_opts_len, 0xff, true); in genev_tun_opt_from_nlattr() 633 SW_FLOW_KEY_PUT(match, tun_opts_len, 0xff, true); in vxlan_tun_opt_from_nlattr() 657 SW_FLOW_KEY_PUT(match, tun_opts_len, in erspan_tun_opt_from_nlattr() 660 SW_FLOW_KEY_PUT(match, tun_opts_len, 0xff, true); in erspan_tun_opt_from_nlattr() 2735 int opts_len = key->tun_opts_len; in validate_geneve_opts() 2778 if (key.tun_opts_len) { in validate_and_copy_set_tun() 2834 TUN_METADATA_OPTS(&key, key.tun_opts_len), in validate_and_copy_set_tun() [all …]
|
H A D | flow.h | 77 u8 tun_opts_len; member
|
H A D | flow.c | 1023 key->tun_opts_len = tun_info->options_len; in ovs_flow_key_extract() 1025 key->tun_opts_len = 0; in ovs_flow_key_extract() 1029 key->tun_opts_len = 0; in ovs_flow_key_extract()
|