Lines Matching refs:erspan_ver
1036 if (t->parms.erspan_ver == 1) in ip6erspan_tunnel_xmit()
1040 else if (t->parms.erspan_ver == 2) in ip6erspan_tunnel_xmit()
1052 proto = (t->parms.erspan_ver == 1) ? htons(ETH_P_ERSPAN) in ip6erspan_tunnel_xmit()
1198 t->parms.erspan_ver = p->erspan_ver; in ip6gre_tnl_copy_tnl_parm()
1756 parms->erspan_ver = 1; in ip6erspan_set_version()
1758 parms->erspan_ver = nla_get_u8(data[IFLA_GRE_ERSPAN_VER]); in ip6erspan_set_version()
1760 if (parms->erspan_ver == 1) { in ip6erspan_set_version()
1763 } else if (parms->erspan_ver == 2) { in ip6erspan_set_version()
1851 erspan_hdr_len(tunnel->parms.erspan_ver); in ip6erspan_calc_hlen()
2137 if (p->erspan_ver == 1 || p->erspan_ver == 2) { in ip6gre_fill_info()
2141 if (nla_put_u8(skb, IFLA_GRE_ERSPAN_VER, p->erspan_ver)) in ip6gre_fill_info()
2144 if (p->erspan_ver == 1) { in ip6gre_fill_info()