| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A 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()
|
| H A D | bpf_flow.c | 200 if (gre->proto == bpf_htons(ETH_P_TEB)) { in parse_ip_proto()
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A 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()
|
| H A D | vxlan.h | 320 skb->inner_protocol != htons(ETH_P_TEB) || in vxlan_features_check()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A 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()
|
| H A 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()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | if_ether.h | 67 #define ETH_P_TEB 0x6558 /* Trans Ether Bridging */ macro
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | if_ether.h | 67 #define ETH_P_TEB 0x6558 /* Trans Ether Bridging */ macro
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | if_ether.h | 67 #define ETH_P_TEB 0x6558 /* Trans Ether Bridging */ macro
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | ip_gre.c | 144 if (tpi->proto == htons(ETH_P_TEB)) in ipgre_err() 299 htons(ETH_P_TEB), in erspan_rcv() 401 if (tpi->proto == htons(ETH_P_TEB)) in ipgre_rcv() 407 if (res == PACKET_NEXT && tpi->proto == htons(ETH_P_TEB)) { in ipgre_rcv() 728 gre_fb_xmit(skb, dev, htons(ETH_P_TEB)); in gre_tap_xmit() 738 __gre_xmit(skb, dev, &tunnel->parms.iph, htons(ETH_P_TEB)); in gre_tap_xmit()
|
| H A D | ip_tunnel_core.c | 100 if (!raw_proto && inner_proto == htons(ETH_P_TEB)) { in __iptunnel_pull_header()
|
| /OK3568_Linux_fs/kernel/net/nsh/ |
| H A D | nsh.c | 104 skb->mac_len = proto == htons(ETH_P_TEB) ? ETH_HLEN : 0; in nsh_gso_segment()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | match.c | 418 ext->ethertype = cpu_to_be16(ETH_P_TEB); in nfp_flower_compile_ipv4_gre_tun() 462 ext->ethertype = cpu_to_be16(ETH_P_TEB); in nfp_flower_compile_ipv6_gre_tun()
|
| H A D | action.c | 489 set_tun->tun_proto = htons(ETH_P_TEB); in nfp_fl_set_tun()
|
| /OK3568_Linux_fs/kernel/drivers/net/ |
| H A D | geneve.c | 357 if (unlikely(geneveh->proto_type != htons(ETH_P_TEB))) in geneve_udp_encap_recv() 370 htons(ETH_P_TEB), in geneve_udp_encap_recv() 400 if (geneveh->proto_type != htons(ETH_P_TEB)) in geneve_udp_encap_err_lookup() 731 geneveh->proto_type = htons(ETH_P_TEB); in geneve_build_header() 762 skb_set_inner_protocol(skb, htons(ETH_P_TEB)); in geneve_build_skb()
|
| H A D | vxlan.c | 1834 __be16 protocol = htons(ETH_P_TEB); in vxlan_rcv() 2337 __be16 inner_protocol = htons(ETH_P_TEB); in vxlan_build_skb()
|
| /OK3568_Linux_fs/kernel/net/openvswitch/ |
| H A D | vport.c | 482 skb->protocol = htons(ETH_P_TEB); in ovs_vport_send()
|
| H A D | actions.c | 188 if (ethertype == htons(ETH_P_TEB)) in pop_mpls() 335 if (skb->protocol == htons(ETH_P_TEB)) in pop_nsh()
|
| H A D | flow.c | 842 if (skb->protocol == htons(ETH_P_TEB)) in key_extract_mac_proto()
|
| /OK3568_Linux_fs/kernel/net/ethernet/ |
| H A D | eth.c | 485 .type = cpu_to_be16(ETH_P_TEB),
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | ip6_gre.c | 125 int dev_type = (gre_proto == htons(ETH_P_TEB) || in ip6gre_tunnel_lookup() 550 htons(ETH_P_TEB), in ip6erspan_rcv() 738 protocol = (dev->type == ARPHRD_ETHER) ? htons(ETH_P_TEB) : proto; in __gre6_xmit()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/ |
| H A D | efx_common.c | 1336 if (ntohs(skb->inner_protocol) != ETH_P_TEB) in efx_can_encap_offloads()
|
| /OK3568_Linux_fs/kernel/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 | 688 skb->inner_protocol != htons(ETH_P_TEB)) in fm10k_tx_encap_offload()
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | flow_dissector.c | 583 if (*p_proto == htons(ETH_P_TEB)) { in __skb_flow_dissect_gre()
|