| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_tc_tunnel.c | 19 #define ETH_P_TEB 0x6558 macro 158 case ETH_P_TEB: in __encap_ipv4() 199 case ETH_P_TEB: in __encap_ipv4() 289 case ETH_P_TEB: in __encap_ipv6() 329 case ETH_P_TEB: in __encap_ipv6() 457 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_TEB); 484 return encap_ipv4(skb, IPPROTO_UDP, ETH_P_TEB); 494 ETH_P_TEB, 549 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_TEB); 576 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_TEB); [all...] |
| H A D | bpf_flow.c | 214 if (gre->proto == bpf_htons(ETH_P_TEB)) { in parse_ip_proto()
|
| /linux/include/net/ |
| H A D | tun_proto.h | 24 return htons(ETH_P_TEB); in tun_p_to_eth_p() 40 case htons(ETH_P_TEB): in tun_p_from_eth_p()
|
| H A D | vxlan.h | 385 skb->inner_protocol != htons(ETH_P_TEB) || in vxlan_features_check()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | tc_tun_gre.c | 46 greh->protocol = htons(ETH_P_TEB); in mlx5e_gen_ip_tunnel_header_gretap() 74 MLX5_SET(fte_match_set_misc, misc_v, gre_protocol, ETH_P_TEB); in mlx5e_tc_tun_parse_gretap()
|
| H A D | tc_tun_geneve.c | 113 geneveh->proto_type = htons(ETH_P_TEB); in mlx5e_gen_ip_tunnel_header_geneve() 311 MLX5_SET(fte_match_set_misc, misc_v, geneve_protocol_type, ETH_P_TEB); in mlx5e_tc_tun_parse_geneve_params()
|
| /linux/include/uapi/linux/ |
| H A D | if_ether.h | 67 #define ETH_P_TEB 0x6558 /* Trans Ether Bridging */ macro
|
| /linux/net/nsh/ |
| H A D | nsh.c | 106 skb->mac_len = proto == htons(ETH_P_TEB) ? ETH_HLEN : 0; in nsh_gso_segment()
|
| /linux/net/ipv4/ |
| H A D | ip_gre.c | 146 if (tpi->proto == htons(ETH_P_TEB)) in ipgre_err() 314 htons(ETH_P_TEB), in erspan_rcv() 424 if (tpi->proto == htons(ETH_P_TEB)) in ipgre_rcv() 430 if (res == PACKET_NEXT && tpi->proto == htons(ETH_P_TEB)) { in ipgre_rcv() 767 gre_fb_xmit(skb, dev, htons(ETH_P_TEB)); in gre_tap_xmit() 778 __gre_xmit(skb, dev, &tunnel->parms.iph, htons(ETH_P_TEB)); in gre_tap_xmit()
|
| H A D | ip_tunnel_core.c | 117 if (!raw_proto && inner_proto == htons(ETH_P_TEB)) { in __iptunnel_pull_header()
|
| /linux/drivers/net/ |
| H A D | geneve.c | 116 static const __be16 proto_id_map[] = { htons(ETH_P_TEB), 303 if (gnvh->proto_type == htons(ETH_P_TEB)) { in geneve_rx() 679 inner_proto != htons(ETH_P_TEB)))) { in geneve_udp_encap_recv() 726 if (geneveh->proto_type != htons(ETH_P_TEB)) in geneve_udp_encap_err_lookup() 930 if (likely(type == htons(ETH_P_TEB))) in geneve_gro_receive() 961 if (likely(type == htons(ETH_P_TEB))) in geneve_gro_complete() 1261 inner_proto = inner_proto_inherit ? skb->protocol : htons(ETH_P_TEB); in geneve_build_skb()
|
| H A D | bareudp.c | 320 if (skb_vlan_inet_prepare(skb, skb->protocol != htons(ETH_P_TEB))) in bareudp_xmit_skb() 390 if (skb_vlan_inet_prepare(skb, skb->protocol != htons(ETH_P_TEB))) in bareudp6_xmit_skb()
|
| /linux/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | match.c | 492 ext->ethertype = cpu_to_be16(ETH_P_TEB); in nfp_flower_compile_ipv4_gre_tun() 527 ext->ethertype = cpu_to_be16(ETH_P_TEB); in nfp_flower_compile_ipv6_gre_tun()
|
| H A D | action.c | 507 set_tun->tun_proto = htons(ETH_P_TEB); in nfp_fl_set_tun()
|
| /linux/tools/testing/selftests/net/ |
| H A D | tuntap_helpers.h | 307 uint16_t protocol = htons(ETH_P_TEB); in build_geneve_header()
|
| /linux/net/openvswitch/ |
| H A D | vport.c | 550 skb->protocol = htons(ETH_P_TEB); in ovs_vport_send()
|
| H A D | actions.c | 155 if (ethertype == htons(ETH_P_TEB)) in pop_mpls() 313 if (skb->protocol == htons(ETH_P_TEB)) in pop_nsh()
|
| H A D | flow.c | 989 if (skb->protocol == htons(ETH_P_TEB)) in key_extract_mac_proto()
|
| /linux/net/ethernet/ |
| H A D | eth.c | 462 .type = cpu_to_be16(ETH_P_TEB),
|
| /linux/net/ipv6/ |
| H A D | ip6_gre.c | 150 int dev_type = (gre_proto == htons(ETH_P_TEB) || in ip6gre_tunnel_lookup() 517 htons(ETH_P_TEB), in ip6erspan_rcv() 735 protocol = (dev->type == ARPHRD_ETHER) ? htons(ETH_P_TEB) : proto; in __gre6_xmit()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | tc_encap_actions.c | 339 geneve->proto_type = htons(ETH_P_TEB); in efx_gen_tun_header_geneve()
|
| H A D | efx_common.c | 1312 if (ntohs(skb->inner_protocol) != ETH_P_TEB) in efx_can_encap_offloads()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | efx_common.c | 1339 if (ntohs(skb->inner_protocol) != ETH_P_TEB) in efx_can_encap_offloads()
|
| /linux/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_netdev.c | 386 (ETH_P_TEB << FM10K_TUNNEL_CFG_NVGRE_SHIFT)); in fm10k_restore_udp_port_info()
|
| H A D | fm10k_main.c | 682 skb->inner_protocol != htons(ETH_P_TEB)) in fm10k_tx_encap_offload()
|