Home
last modified time | relevance | path

Searched refs:erspan_ver (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/net/ipv4/
Dip_gre.c684 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()
[all …]
/Linux-v5.10/net/ipv6/
Dip6_gre.c1036 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()
[all …]
/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_tunnel.sh112 erspan_ver 1 erspan 123
117 erspan_ver 2 erspan_dir egress erspan_hwid 3
142 erspan_ver 1 erspan 123
147 erspan_ver 2 erspan_dir egress erspan_hwid 7
/Linux-v5.10/include/net/
Dip6_tunnel.h40 __u8 erspan_ver; /* ERSPAN version */ member
Dip_tunnels.h121 u8 erspan_ver; /* ERSPAN version */ member
/Linux-v5.10/tools/testing/selftests/net/
Drtnetlink.sh968 erspan_ver 1 erspan 488
983 erspan_ver 2 erspan_dir ingress erspan_hwid 7
1033 erspan_ver 1 erspan 488
1048 erspan_ver 2 erspan_dir ingress erspan_hwid 7