Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/ipv4/
A Dip_gre.c697 if (tunnel->erspan_ver == 0) { in erspan_xmit()
700 } else if (tunnel->erspan_ver == 1) { in erspan_xmit()
705 } else if (tunnel->erspan_ver == 2) { in erspan_xmit()
1209 if (t->erspan_ver > 2) in erspan_netlink_parms()
1213 if (t->erspan_ver == 1) { in erspan_netlink_parms()
1219 } else if (t->erspan_ver == 2) { in erspan_netlink_parms()
1294 if (tunnel->erspan_ver == 0) in erspan_tunnel_init()
1539 if (t->erspan_ver <= 2) { in erspan_fill_info()
1546 if (t->erspan_ver == 1) { in erspan_fill_info()
1549 } else if (t->erspan_ver == 2) { in erspan_fill_info()
[all …]
/linux-6.3-rc2/net/ipv6/
A Dip6_gre.c1046 if (t->parms.erspan_ver == 1) in ip6erspan_tunnel_xmit()
1050 else if (t->parms.erspan_ver == 2) in ip6erspan_tunnel_xmit()
1062 proto = (t->parms.erspan_ver == 1) ? htons(ETH_P_ERSPAN) in ip6erspan_tunnel_xmit()
1210 t->parms.erspan_ver = p->erspan_ver; in ip6gre_tnl_copy_tnl_parm()
1765 parms->erspan_ver = 1; in ip6erspan_set_version()
1769 if (parms->erspan_ver == 1) { in ip6erspan_set_version()
1772 } else if (parms->erspan_ver == 2) { in ip6erspan_set_version()
1860 erspan_hdr_len(tunnel->parms.erspan_ver); in ip6erspan_calc_hlen()
2145 if (p->erspan_ver == 1 || p->erspan_ver == 2) { in ip6gre_fill_info()
2149 if (nla_put_u8(skb, IFLA_GRE_ERSPAN_VER, p->erspan_ver)) in ip6gre_fill_info()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_tunnel.sh119 erspan_ver 1 erspan 123
124 erspan_ver 2 erspan_dir egress erspan_hwid 3
149 erspan_ver 1 erspan 123
154 erspan_ver 2 erspan_dir egress erspan_hwid 7
/linux-6.3-rc2/include/net/
A Dip6_tunnel.h40 __u8 erspan_ver; /* ERSPAN version */ member
A Dip_tunnels.h125 u8 erspan_ver; /* ERSPAN version */ member
/linux-6.3-rc2/tools/testing/selftests/net/
A 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

Completed in 15 milliseconds