Lines Matching refs:opts
580 struct vxlan_metadata opts; in vxlan_tun_opt_from_nlattr() local
582 BUILD_BUG_ON(sizeof(opts) > sizeof(match->key->tun_opts)); in vxlan_tun_opt_from_nlattr()
584 memset(&opts, 0, sizeof(opts)); in vxlan_tun_opt_from_nlattr()
604 opts.gbp = nla_get_u32(a); in vxlan_tun_opt_from_nlattr()
619 SW_FLOW_KEY_PUT(match, tun_opts_len, sizeof(opts), false); in vxlan_tun_opt_from_nlattr()
623 opt_key_offset = TUN_METADATA_OFFSET(sizeof(opts)); in vxlan_tun_opt_from_nlattr()
624 SW_FLOW_KEY_MEMCPY_OFFSET(match, opt_key_offset, &opts, sizeof(opts), in vxlan_tun_opt_from_nlattr()
846 const struct vxlan_metadata *opts = tun_opts; in vxlan_opt_to_nlattr() local
853 if (nla_put_u32(skb, OVS_VXLAN_EXT_GBP, opts->gbp) < 0) in vxlan_opt_to_nlattr()
2007 const void *opts = NULL; in __ovs_nla_put_key() local
2010 opts = TUN_METADATA_OPTS(output, swkey->tun_opts_len); in __ovs_nla_put_key()
2012 if (ip_tun_to_nlattr(skb, &output->tun_key, opts, in __ovs_nla_put_key()