Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv4/
H A Dip_gre.c707 if (tunnel->erspan_ver == 0) { in erspan_xmit()
710 } else if (tunnel->erspan_ver == 1) { in erspan_xmit()
715 } else if (tunnel->erspan_ver == 2) { in erspan_xmit()
1219 if (t->erspan_ver > 2) in erspan_netlink_parms()
1223 if (t->erspan_ver == 1) { in erspan_netlink_parms()
1229 } else if (t->erspan_ver == 2) { in erspan_netlink_parms()
1304 if (tunnel->erspan_ver == 0) in erspan_tunnel_init()
1549 if (t->erspan_ver <= 2) { in erspan_fill_info()
1556 if (t->erspan_ver == 1) { in erspan_fill_info()
1559 } else if (t->erspan_ver == 2) { in erspan_fill_info()
[all …]
/openbmc/linux/net/ipv6/
H A Dip6_gre.c1052 if (t->parms.erspan_ver == 1) { in ip6erspan_tunnel_xmit()
1057 } else if (t->parms.erspan_ver == 2) { in ip6erspan_tunnel_xmit()
1217 t->parms.erspan_ver = p->erspan_ver; in ip6gre_tnl_copy_tnl_parm()
1773 parms->erspan_ver = 1; in ip6erspan_set_version()
1775 parms->erspan_ver = nla_get_u8(data[IFLA_GRE_ERSPAN_VER]); in ip6erspan_set_version()
1777 if (parms->erspan_ver == 1) { in ip6erspan_set_version()
1780 } else if (parms->erspan_ver == 2) { in ip6erspan_set_version()
1868 erspan_hdr_len(tunnel->parms.erspan_ver); in ip6erspan_calc_hlen()
2154 if (p->erspan_ver == 1 || p->erspan_ver == 2) { in ip6gre_fill_info()
2158 if (nla_put_u8(skb, IFLA_GRE_ERSPAN_VER, p->erspan_ver)) in ip6gre_fill_info()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H 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
/openbmc/linux/include/net/
H A Dip6_tunnel.h40 __u8 erspan_ver; /* ERSPAN version */ member
H A Dip_tunnels.h133 u8 erspan_ver; /* ERSPAN version */ member
/openbmc/linux/tools/testing/selftests/net/
H A Drtnetlink.sh1077 erspan_ver 1 erspan 488
1092 erspan_ver 2 erspan_dir ingress erspan_hwid 7
1142 erspan_ver 1 erspan 488
1157 erspan_ver 2 erspan_dir ingress erspan_hwid 7