Lines Matching refs:tun_opts
539 if (nla_len(a) > sizeof(match->key->tun_opts)) { in genev_tun_opt_from_nlattr()
541 nla_len(a), sizeof(match->key->tun_opts)); in genev_tun_opt_from_nlattr()
593 BUILD_BUG_ON(sizeof(opts) > sizeof(match->key->tun_opts)); in vxlan_tun_opt_from_nlattr()
647 sizeof(match->key->tun_opts)); in erspan_tun_opt_from_nlattr()
649 if (nla_len(a) > sizeof(match->key->tun_opts)) { in erspan_tun_opt_from_nlattr()
651 nla_len(a), sizeof(match->key->tun_opts)); in erspan_tun_opt_from_nlattr()
855 const void *tun_opts, int swkey_tun_opts_len) in vxlan_opt_to_nlattr() argument
857 const struct vxlan_metadata *opts = tun_opts; in vxlan_opt_to_nlattr()
873 const void *tun_opts, int swkey_tun_opts_len, in __ip_tun_to_nlattr() argument
930 swkey_tun_opts_len, tun_opts)) in __ip_tun_to_nlattr()
933 vxlan_opt_to_nlattr(skb, tun_opts, swkey_tun_opts_len)) in __ip_tun_to_nlattr()
937 swkey_tun_opts_len, tun_opts)) in __ip_tun_to_nlattr()
946 const void *tun_opts, int swkey_tun_opts_len, in ip_tun_to_nlattr() argument
956 err = __ip_tun_to_nlattr(skb, output, tun_opts, swkey_tun_opts_len, in ip_tun_to_nlattr()