/Linux-v6.1/tools/testing/selftests/bpf/progs/ |
D | test_tc_tunnel.c | 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() 403 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_TEB); in __encap_gre_eth() 430 return encap_ipv4(skb, IPPROTO_UDP, ETH_P_TEB); in __encap_udp_eth() 440 ETH_P_TEB, in __encap_vxlan_eth() 486 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_TEB); in __encap_ip6gre_eth() 513 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_TEB); in __encap_ip6udp_eth() 523 ETH_P_TEB, in __encap_ip6vxlan_eth() [all …]
|
D | bpf_flow.c | 214 if (gre->proto == bpf_htons(ETH_P_TEB)) { in parse_ip_proto()
|
/Linux-v6.1/include/net/ |
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()
|
D | vxlan.h | 371 skb->inner_protocol != htons(ETH_P_TEB) || in vxlan_features_check()
|
/Linux-v6.1/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() 305 MLX5_SET(fte_match_set_misc, misc_v, geneve_protocol_type, ETH_P_TEB); in mlx5e_tc_tun_parse_geneve_params()
|
/Linux-v6.1/include/uapi/linux/ |
D | if_ether.h | 67 #define ETH_P_TEB 0x6558 /* Trans Ether Bridging */ macro
|
/Linux-v6.1/net/nsh/ |
D | nsh.c | 104 skb->mac_len = proto == htons(ETH_P_TEB) ? ETH_HLEN : 0; in nsh_gso_segment()
|
/Linux-v6.1/net/ipv4/ |
D | ip_gre.c | 146 if (tpi->proto == htons(ETH_P_TEB)) in ipgre_err() 301 htons(ETH_P_TEB), in erspan_rcv() 406 if (tpi->proto == htons(ETH_P_TEB)) in ipgre_rcv() 412 if (res == PACKET_NEXT && tpi->proto == htons(ETH_P_TEB)) { in ipgre_rcv() 733 gre_fb_xmit(skb, dev, htons(ETH_P_TEB)); in gre_tap_xmit() 743 __gre_xmit(skb, dev, &tunnel->parms.iph, htons(ETH_P_TEB)); in gre_tap_xmit()
|
D | ip_tunnel_core.c | 100 if (!raw_proto && inner_proto == htons(ETH_P_TEB)) { in __iptunnel_pull_header()
|
/Linux-v6.1/drivers/net/ |
D | geneve.c | 258 if (gnvh->proto_type == htons(ETH_P_TEB)) { in geneve_rx() 370 if (unlikely((inner_proto != htons(ETH_P_TEB) && in geneve_udp_encap_recv() 384 inner_proto != htons(ETH_P_TEB)))) { in geneve_udp_encap_recv() 420 if (geneveh->proto_type != htons(ETH_P_TEB)) in geneve_udp_encap_err_lookup() 536 if (likely(type == htons(ETH_P_TEB))) in geneve_gro_receive() 566 if (likely(type == htons(ETH_P_TEB))) in geneve_gro_complete() 782 inner_proto = inner_proto_inherit ? skb->protocol : htons(ETH_P_TEB); in geneve_build_skb()
|
/Linux-v6.1/net/openvswitch/ |
D | vport.c | 484 skb->protocol = htons(ETH_P_TEB); in ovs_vport_send()
|
D | actions.c | 189 if (ethertype == htons(ETH_P_TEB)) in pop_mpls() 336 if (skb->protocol == htons(ETH_P_TEB)) in pop_nsh()
|
D | flow.c | 989 if (skb->protocol == htons(ETH_P_TEB)) in key_extract_mac_proto()
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/flower/ |
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()
|
D | action.c | 492 set_tun->tun_proto = htons(ETH_P_TEB); in nfp_fl_set_tun()
|
/Linux-v6.1/net/ethernet/ |
D | eth.c | 477 .type = cpu_to_be16(ETH_P_TEB),
|
/Linux-v6.1/net/ipv6/ |
D | ip6_gre.c | 125 int dev_type = (gre_proto == htons(ETH_P_TEB) || in ip6gre_tunnel_lookup() 545 htons(ETH_P_TEB), in ip6erspan_rcv() 760 protocol = (dev->type == ARPHRD_ETHER) ? htons(ETH_P_TEB) : proto; in __gre6_xmit()
|
/Linux-v6.1/drivers/net/ethernet/sfc/ |
D | efx_common.c | 1337 if (ntohs(skb->inner_protocol) != ETH_P_TEB) in efx_can_encap_offloads()
|
/Linux-v6.1/drivers/net/ethernet/sfc/siena/ |
D | efx_common.c | 1349 if (ntohs(skb->inner_protocol) != ETH_P_TEB) in efx_can_encap_offloads()
|
/Linux-v6.1/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_netdev.c | 386 (ETH_P_TEB << FM10K_TUNNEL_CFG_NVGRE_SHIFT)); in fm10k_restore_udp_port_info()
|
D | fm10k_main.c | 683 skb->inner_protocol != htons(ETH_P_TEB)) in fm10k_tx_encap_offload()
|
/Linux-v6.1/net/core/ |
D | flow_dissector.c | 617 if (*p_proto == htons(ETH_P_TEB)) { in __skb_flow_dissect_gre()
|
/Linux-v6.1/drivers/net/vxlan/ |
D | vxlan_core.c | 1670 __be16 protocol = htons(ETH_P_TEB); in vxlan_rcv() 2184 __be16 inner_protocol = htons(ETH_P_TEB); in vxlan_build_skb()
|
/Linux-v6.1/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 1723 skb->inner_protocol != htons(ETH_P_TEB) || in xgbe_is_vxlan()
|