Lines Matching refs:erspan_ver
1035 if (t->parms.erspan_ver == 1) in ip6erspan_tunnel_xmit()
1039 else if (t->parms.erspan_ver == 2) in ip6erspan_tunnel_xmit()
1051 proto = (t->parms.erspan_ver == 1) ? htons(ETH_P_ERSPAN) in ip6erspan_tunnel_xmit()
1197 t->parms.erspan_ver = p->erspan_ver; in ip6gre_tnl_copy_tnl_parm()
1755 parms->erspan_ver = 1; in ip6erspan_set_version()
1757 parms->erspan_ver = nla_get_u8(data[IFLA_GRE_ERSPAN_VER]); in ip6erspan_set_version()
1759 if (parms->erspan_ver == 1) { in ip6erspan_set_version()
1762 } else if (parms->erspan_ver == 2) { in ip6erspan_set_version()
1850 erspan_hdr_len(tunnel->parms.erspan_ver); in ip6erspan_calc_hlen()
2135 if (p->erspan_ver == 1 || p->erspan_ver == 2) { in ip6gre_fill_info()
2139 if (nla_put_u8(skb, IFLA_GRE_ERSPAN_VER, p->erspan_ver)) in ip6gre_fill_info()
2142 if (p->erspan_ver == 1) { in ip6gre_fill_info()