Home
last modified time | relevance | path

Searched refs:ETH_P_TEB (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c162 case ETH_P_TEB: in __encap_ipv4()
203 case ETH_P_TEB: in __encap_ipv4()
293 case ETH_P_TEB: in __encap_ipv6()
333 case ETH_P_TEB: in __encap_ipv6()
462 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_TEB); in __encap_gre_eth()
489 return encap_ipv4(skb, IPPROTO_UDP, ETH_P_TEB); in __encap_udp_eth()
499 ETH_P_TEB, in __encap_vxlan_eth()
554 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_TEB); in __encap_ip6gre_eth()
581 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_TEB); in __encap_ip6udp_eth()
591 ETH_P_TEB, in __encap_ip6vxlan_eth()
[all …]
H A Dbpf_flow.c214 if (gre->proto == bpf_htons(ETH_P_TEB)) { in parse_ip_proto()
/openbmc/linux/include/net/
H A Dtun_proto.h24 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 Dvxlan.h379 skb->inner_protocol != htons(ETH_P_TEB) || in vxlan_features_check()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_gre.c42 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 Dtc_tun_geneve.c112 geneveh->proto_type = htons(ETH_P_TEB); in mlx5e_gen_ip_tunnel_header_geneve()
310 MLX5_SET(fte_match_set_misc, misc_v, geneve_protocol_type, ETH_P_TEB); in mlx5e_tc_tun_parse_geneve_params()
/openbmc/u-boot/include/linux/
H A Dif_ether.h69 #define ETH_P_TEB 0x6558 /* Trans Ether Bridging */ macro
/openbmc/linux/include/uapi/linux/
H A Dif_ether.h67 #define ETH_P_TEB 0x6558 /* Trans Ether Bridging */ macro
/openbmc/linux/net/nsh/
H A Dnsh.c106 skb->mac_len = proto == htons(ETH_P_TEB) ? ETH_HLEN : 0; in nsh_gso_segment()
/openbmc/linux/net/ipv4/
H A Dip_gre.c146 if (tpi->proto == htons(ETH_P_TEB)) in ipgre_err()
306 htons(ETH_P_TEB), in erspan_rcv()
411 if (tpi->proto == htons(ETH_P_TEB)) in ipgre_rcv()
417 if (res == PACKET_NEXT && tpi->proto == htons(ETH_P_TEB)) { in ipgre_rcv()
743 gre_fb_xmit(skb, dev, htons(ETH_P_TEB)); in gre_tap_xmit()
753 __gre_xmit(skb, dev, &tunnel->parms.iph, htons(ETH_P_TEB)); in gre_tap_xmit()
H A Dip_tunnel_core.c100 if (!raw_proto && inner_proto == htons(ETH_P_TEB)) { in __iptunnel_pull_header()
/openbmc/linux/drivers/net/
H A Dgeneve.c258 if (gnvh->proto_type == htons(ETH_P_TEB)) { in geneve_rx()
394 inner_proto != htons(ETH_P_TEB)))) { in geneve_udp_encap_recv()
430 if (geneveh->proto_type != htons(ETH_P_TEB)) in geneve_udp_encap_err_lookup()
546 if (likely(type == htons(ETH_P_TEB))) in geneve_gro_receive()
576 if (likely(type == htons(ETH_P_TEB))) in geneve_gro_complete()
792 inner_proto = inner_proto_inherit ? skb->protocol : htons(ETH_P_TEB); in geneve_build_skb()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmatch.c492 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 Daction.c492 set_tun->tun_proto = htons(ETH_P_TEB); in nfp_fl_set_tun()
/openbmc/linux/net/openvswitch/
H A Dvport.c548 skb->protocol = htons(ETH_P_TEB); in ovs_vport_send()
H A Dactions.c191 if (ethertype == htons(ETH_P_TEB)) in pop_mpls()
338 if (skb->protocol == htons(ETH_P_TEB)) in pop_nsh()
H A Dflow.c993 if (skb->protocol == htons(ETH_P_TEB)) in key_extract_mac_proto()
/openbmc/linux/net/ethernet/
H A Deth.c467 .type = cpu_to_be16(ETH_P_TEB),
/openbmc/linux/net/ipv6/
H A Dip6_gre.c125 int dev_type = (gre_proto == htons(ETH_P_TEB) || in ip6gre_tunnel_lookup()
548 htons(ETH_P_TEB), in ip6erspan_rcv()
763 protocol = (dev->type == ARPHRD_ETHER) ? htons(ETH_P_TEB) : proto; in __gre6_xmit()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dtc_encap_actions.c337 geneve->proto_type = htons(ETH_P_TEB); in efx_gen_tun_header_geneve()
H A Defx_common.c1332 if (ntohs(skb->inner_protocol) != ETH_P_TEB) in efx_can_encap_offloads()
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Defx_common.c1349 if (ntohs(skb->inner_protocol) != ETH_P_TEB) in efx_can_encap_offloads()
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_netdev.c386 (ETH_P_TEB << FM10K_TUNNEL_CFG_NVGRE_SHIFT)); in fm10k_restore_udp_port_info()
H A Dfm10k_main.c683 skb->inner_protocol != htons(ETH_P_TEB)) in fm10k_tx_encap_offload()
/openbmc/linux/net/core/
H A Dflow_dissector.c695 if (*p_proto == htons(ETH_P_TEB)) { in __skb_flow_dissect_gre()

12