Lines Matching refs:erspan_ver
694 if (tunnel->erspan_ver == 0) { in erspan_xmit()
697 } else if (tunnel->erspan_ver == 1) { in erspan_xmit()
702 } else if (tunnel->erspan_ver == 2) { in erspan_xmit()
1210 t->erspan_ver = nla_get_u8(data[IFLA_GRE_ERSPAN_VER]); in erspan_netlink_parms()
1212 if (t->erspan_ver > 2) in erspan_netlink_parms()
1216 if (t->erspan_ver == 1) { in erspan_netlink_parms()
1222 } else if (t->erspan_ver == 2) { in erspan_netlink_parms()
1297 if (tunnel->erspan_ver == 0) in erspan_tunnel_init()
1304 erspan_hdr_len(tunnel->erspan_ver); in erspan_tunnel_init()
1498 if (t->erspan_ver <= 2) { in ipgre_fill_info()
1499 if (t->erspan_ver != 0 && !t->collect_md) in ipgre_fill_info()
1502 if (nla_put_u8(skb, IFLA_GRE_ERSPAN_VER, t->erspan_ver)) in ipgre_fill_info()
1505 if (t->erspan_ver == 1) { in ipgre_fill_info()
1508 } else if (t->erspan_ver == 2) { in ipgre_fill_info()
1566 t->erspan_ver = 1; in erspan_setup()