Lines Matching refs:erspan_ver
684 if (tunnel->erspan_ver == 0) { in erspan_xmit()
687 } else if (tunnel->erspan_ver == 1) { in erspan_xmit()
692 } else if (tunnel->erspan_ver == 2) { in erspan_xmit()
1200 t->erspan_ver = nla_get_u8(data[IFLA_GRE_ERSPAN_VER]); in erspan_netlink_parms()
1202 if (t->erspan_ver > 2) in erspan_netlink_parms()
1206 if (t->erspan_ver == 1) { in erspan_netlink_parms()
1212 } else if (t->erspan_ver == 2) { in erspan_netlink_parms()
1287 if (tunnel->erspan_ver == 0) in erspan_tunnel_init()
1294 erspan_hdr_len(tunnel->erspan_ver); in erspan_tunnel_init()
1488 if (t->erspan_ver <= 2) { in ipgre_fill_info()
1489 if (t->erspan_ver != 0 && !t->collect_md) in ipgre_fill_info()
1492 if (nla_put_u8(skb, IFLA_GRE_ERSPAN_VER, t->erspan_ver)) in ipgre_fill_info()
1495 if (t->erspan_ver == 1) { in ipgre_fill_info()
1498 } else if (t->erspan_ver == 2) { in ipgre_fill_info()
1556 t->erspan_ver = 1; in erspan_setup()