| /Linux-v5.4/tools/testing/selftests/bpf/progs/ |
| D | test_tc_tunnel.c | 142 case ETH_P_TEB: in encap_ipv4() 178 case ETH_P_TEB: in encap_ipv4() 250 case ETH_P_TEB: in encap_ipv6() 285 case ETH_P_TEB: in encap_ipv6() 343 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_TEB); in __encap_gre_eth() 370 return encap_ipv4(skb, IPPROTO_UDP, ETH_P_TEB); in __encap_udp_eth() 415 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_TEB); in __encap_ip6gre_eth() 442 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_TEB); in __encap_ip6udp_eth() 466 case ETH_P_TEB: in decap_internal()
|
| D | bpf_flow.c | 200 if (gre->proto == bpf_htons(ETH_P_TEB)) { in parse_ip_proto()
|
| /Linux-v5.4/include/net/ |
| D | tun_proto.h | 23 return htons(ETH_P_TEB); in tun_p_to_eth_p() 39 case htons(ETH_P_TEB): in tun_p_from_eth_p()
|
| D | vxlan.h | 316 skb->inner_protocol != htons(ETH_P_TEB) || in vxlan_features_check()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | tc_tun_gre.c | 42 greh->protocol = htons(ETH_P_TEB); in mlx5e_gen_ip_tunnel_header_gretap() 70 MLX5_SET(fte_match_set_misc, misc_v, gre_protocol, ETH_P_TEB); in mlx5e_tc_tun_parse_gretap()
|
| D | tc_tun_geneve.c | 112 geneveh->proto_type = htons(ETH_P_TEB); in mlx5e_gen_ip_tunnel_header_geneve() 301 MLX5_SET(fte_match_set_misc, misc_v, geneve_protocol_type, ETH_P_TEB); in mlx5e_tc_tun_parse_geneve_params()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | if_ether.h | 67 #define ETH_P_TEB 0x6558 /* Trans Ether Bridging */ macro
|
| /Linux-v5.4/net/nsh/ |
| D | nsh.c | 104 skb->mac_len = proto == htons(ETH_P_TEB) ? ETH_HLEN : 0; in nsh_gso_segment()
|
| /Linux-v5.4/net/ipv4/ |
| D | ip_gre.c | 144 if (tpi->proto == htons(ETH_P_TEB)) in ipgre_err() 281 htons(ETH_P_TEB), in erspan_rcv() 379 if (tpi->proto == htons(ETH_P_TEB)) in ipgre_rcv() 385 if (res == PACKET_NEXT && tpi->proto == htons(ETH_P_TEB)) { in ipgre_rcv() 697 gre_fb_xmit(skb, dev, htons(ETH_P_TEB)); in gre_tap_xmit() 707 __gre_xmit(skb, dev, &tunnel->parms.iph, htons(ETH_P_TEB)); in gre_tap_xmit()
|
| D | ip_tunnel_core.c | 96 if (!raw_proto && inner_proto == htons(ETH_P_TEB)) { in __iptunnel_pull_header()
|
| /Linux-v5.4/drivers/net/ |
| D | geneve.c | 359 if (unlikely(geneveh->proto_type != htons(ETH_P_TEB))) in geneve_udp_encap_recv() 372 htons(ETH_P_TEB), in geneve_udp_encap_recv() 402 if (geneveh->proto_type != htons(ETH_P_TEB)) in geneve_udp_encap_err_lookup() 733 geneveh->proto_type = htons(ETH_P_TEB); in geneve_build_header() 764 skb_set_inner_protocol(skb, htons(ETH_P_TEB)); in geneve_build_skb()
|
| D | vxlan.c | 1658 __be16 protocol = htons(ETH_P_TEB); in vxlan_rcv() 2159 __be16 inner_protocol = htons(ETH_P_TEB); in vxlan_build_skb()
|
| /Linux-v5.4/net/openvswitch/ |
| D | vport.c | 478 skb->protocol = htons(ETH_P_TEB); in ovs_vport_send()
|
| D | flow.c | 834 if (skb->protocol == htons(ETH_P_TEB)) in key_extract_mac_proto()
|
| D | actions.c | 335 if (skb->protocol == htons(ETH_P_TEB)) in pop_nsh()
|
| /Linux-v5.4/net/ethernet/ |
| D | eth.c | 524 .type = cpu_to_be16(ETH_P_TEB),
|
| /Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/ |
| D | match.c | 330 ext->ethertype = cpu_to_be16(ETH_P_TEB); in nfp_flower_compile_ipv4_gre_tun()
|
| D | action.c | 465 set_tun->tun_proto = htons(ETH_P_TEB); in nfp_fl_set_ipv4_tun()
|
| /Linux-v5.4/net/ipv6/ |
| D | ip6_gre.c | 125 int dev_type = (gre_proto == htons(ETH_P_TEB) || in ip6gre_tunnel_lookup() 546 htons(ETH_P_TEB), in ip6erspan_rcv() 725 protocol = (dev->type == ARPHRD_ETHER) ? htons(ETH_P_TEB) : proto; in __gre6_xmit()
|
| /Linux-v5.4/drivers/net/ethernet/intel/fm10k/ |
| D | fm10k_netdev.c | 423 (ETH_P_TEB << FM10K_TUNNEL_CFG_NVGRE_SHIFT)); in fm10k_restore_udp_port_info()
|
| D | fm10k_main.c | 693 skb->inner_protocol != htons(ETH_P_TEB)) in fm10k_tx_encap_offload()
|
| /Linux-v5.4/net/core/ |
| D | flow_dissector.c | 556 if (*p_proto == htons(ETH_P_TEB)) { in __skb_flow_dissect_gre()
|
| /Linux-v5.4/drivers/net/ethernet/netronome/nfp/ |
| D | nfp_net_common.c | 3531 skb->inner_protocol != htons(ETH_P_TEB) || in nfp_net_features_check()
|
| /Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
| D | sge.c | 1224 skb->inner_protocol != htons(ETH_P_TEB)) in cxgb_encap_offload_supported()
|
| /Linux-v5.4/drivers/net/ethernet/emulex/benet/ |
| D | be_main.c | 5250 skb->inner_protocol != htons(ETH_P_TEB) || in be_features_check()
|