Lines Matching full:nest
741 struct nlattr *nest; in ip_tun_fill_encap_opts_geneve() local
744 nest = nla_nest_start_noflag(skb, LWTUNNEL_IP_OPTS_GENEVE); in ip_tun_fill_encap_opts_geneve()
745 if (!nest) in ip_tun_fill_encap_opts_geneve()
755 nla_nest_cancel(skb, nest); in ip_tun_fill_encap_opts_geneve()
761 nla_nest_end(skb, nest); in ip_tun_fill_encap_opts_geneve()
769 struct nlattr *nest; in ip_tun_fill_encap_opts_vxlan() local
771 nest = nla_nest_start_noflag(skb, LWTUNNEL_IP_OPTS_VXLAN); in ip_tun_fill_encap_opts_vxlan()
772 if (!nest) in ip_tun_fill_encap_opts_vxlan()
777 nla_nest_cancel(skb, nest); in ip_tun_fill_encap_opts_vxlan()
781 nla_nest_end(skb, nest); in ip_tun_fill_encap_opts_vxlan()
789 struct nlattr *nest; in ip_tun_fill_encap_opts_erspan() local
791 nest = nla_nest_start_noflag(skb, LWTUNNEL_IP_OPTS_ERSPAN); in ip_tun_fill_encap_opts_erspan()
792 if (!nest) in ip_tun_fill_encap_opts_erspan()
809 nla_nest_end(skb, nest); in ip_tun_fill_encap_opts_erspan()
812 nla_nest_cancel(skb, nest); in ip_tun_fill_encap_opts_erspan()
819 struct nlattr *nest; in ip_tun_fill_encap_opts() local
825 nest = nla_nest_start_noflag(skb, type); in ip_tun_fill_encap_opts()
826 if (!nest) in ip_tun_fill_encap_opts()
837 nla_nest_cancel(skb, nest); in ip_tun_fill_encap_opts()
841 nla_nest_end(skb, nest); in ip_tun_fill_encap_opts()