Lines Matching refs:nlattr
478 static int ip_tun_parse_opts_geneve(struct nlattr *attr, in ip_tun_parse_opts_geneve()
482 struct nlattr *tb[LWTUNNEL_IP_OPT_GENEVE_MAX + 1]; in ip_tun_parse_opts_geneve()
515 static int ip_tun_parse_opts_vxlan(struct nlattr *attr, in ip_tun_parse_opts_vxlan()
519 struct nlattr *tb[LWTUNNEL_IP_OPT_VXLAN_MAX + 1]; in ip_tun_parse_opts_vxlan()
543 static int ip_tun_parse_opts_erspan(struct nlattr *attr, in ip_tun_parse_opts_erspan()
547 struct nlattr *tb[LWTUNNEL_IP_OPT_ERSPAN_MAX + 1]; in ip_tun_parse_opts_erspan()
592 static int ip_tun_parse_opts(struct nlattr *attr, struct ip_tunnel_info *info, in ip_tun_parse_opts()
596 struct nlattr *nla; in ip_tun_parse_opts()
648 static int ip_tun_get_optlen(struct nlattr *attr, in ip_tun_get_optlen()
654 static int ip_tun_set_opts(struct nlattr *attr, struct ip_tunnel_info *info, in ip_tun_set_opts()
660 static int ip_tun_build_state(struct net *net, struct nlattr *attr, in ip_tun_build_state()
665 struct nlattr *tb[LWTUNNEL_IP_MAX + 1]; in ip_tun_build_state()
742 struct nlattr *nest; in ip_tun_fill_encap_opts_geneve()
770 struct nlattr *nest; in ip_tun_fill_encap_opts_vxlan()
790 struct nlattr *nest; in ip_tun_fill_encap_opts_erspan()
820 struct nlattr *nest; in ip_tun_fill_encap_opts()
947 static int ip6_tun_build_state(struct net *net, struct nlattr *attr, in ip6_tun_build_state()
952 struct nlattr *tb[LWTUNNEL_IP6_MAX + 1]; in ip6_tun_build_state()