Searched refs:encaptype (Results 1 – 2 of 2) sorted by relevance
73 __u16 encaptype = 0; in gre_parse_opt() local145 encaptype = rta_getattr_u16(greinfo[IFLA_GRE_ENCAP_TYPE]); in gre_parse_opt()265 encaptype = TUNNEL_ENCAP_NONE; in gre_parse_opt()269 encaptype = TUNNEL_ENCAP_FOU; in gre_parse_opt()271 encaptype = TUNNEL_ENCAP_GUE; in gre_parse_opt()273 encaptype = TUNNEL_ENCAP_NONE; in gre_parse_opt()330 addattr16(n, 1024, IFLA_GRE_ENCAP_TYPE, encaptype); in gre_parse_opt()
78 __u16 encaptype = 0; in iptunnel_parse_opt() local145 encaptype = rta_getattr_u16(iptuninfo[IFLA_IPTUN_ENCAP_TYPE]); in iptunnel_parse_opt()230 encaptype = TUNNEL_ENCAP_NONE; in iptunnel_parse_opt()234 encaptype = TUNNEL_ENCAP_FOU; in iptunnel_parse_opt()236 encaptype = TUNNEL_ENCAP_GUE; in iptunnel_parse_opt()238 encaptype = TUNNEL_ENCAP_NONE; in iptunnel_parse_opt()301 addattr16(n, 1024, IFLA_IPTUN_ENCAP_TYPE, encaptype); in iptunnel_parse_opt()