Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/bpf/progs/
A Dtest_tc_tunnel.c158 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 …]
A Dbpf_flow.c199 if (gre->proto == bpf_htons(ETH_P_TEB)) { in parse_ip_proto()
/linux/include/net/
A Dtun_proto.h23 return htons(ETH_P_TEB); in tun_p_to_eth_p()
39 case htons(ETH_P_TEB): in tun_p_from_eth_p()
A Dvxlan.h320 skb->inner_protocol != htons(ETH_P_TEB) || in vxlan_features_check()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
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()
A Dtc_tun_geneve.c112 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/include/uapi/linux/
A Dif_ether.h67 #define ETH_P_TEB 0x6558 /* Trans Ether Bridging */ macro
/linux/net/ipv4/
A Dip_gre.c146 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()
730 gre_fb_xmit(skb, dev, htons(ETH_P_TEB)); in gre_tap_xmit()
740 __gre_xmit(skb, dev, &tunnel->parms.iph, htons(ETH_P_TEB)); in gre_tap_xmit()
A Dip_tunnel_core.c100 if (!raw_proto && inner_proto == htons(ETH_P_TEB)) { in __iptunnel_pull_header()
/linux/net/nsh/
A Dnsh.c104 skb->mac_len = proto == htons(ETH_P_TEB) ? ETH_HLEN : 0; in nsh_gso_segment()
/linux/drivers/net/
A Dgeneve.c358 if (unlikely(geneveh->proto_type != htons(ETH_P_TEB))) in geneve_udp_encap_recv()
371 htons(ETH_P_TEB), in geneve_udp_encap_recv()
401 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()
A Dvxlan.c1835 __be16 protocol = htons(ETH_P_TEB); in vxlan_rcv()
2338 __be16 inner_protocol = htons(ETH_P_TEB); in vxlan_build_skb()
A Damt.c2316 if (iptunnel_pull_header(skb, hdr_size, htons(ETH_P_TEB), false)) in amt_membership_query_handler()
/linux/net/openvswitch/
A Dvport.c484 skb->protocol = htons(ETH_P_TEB); in ovs_vport_send()
A Dactions.c189 if (ethertype == htons(ETH_P_TEB)) in pop_mpls()
336 if (skb->protocol == htons(ETH_P_TEB)) in pop_nsh()
A Dflow.c848 if (skb->protocol == htons(ETH_P_TEB)) in key_extract_mac_proto()
/linux/drivers/net/ethernet/netronome/nfp/flower/
A Dmatch.c469 ext->ethertype = cpu_to_be16(ETH_P_TEB); in nfp_flower_compile_ipv4_gre_tun()
504 ext->ethertype = cpu_to_be16(ETH_P_TEB); in nfp_flower_compile_ipv6_gre_tun()
A Daction.c490 set_tun->tun_proto = htons(ETH_P_TEB); in nfp_fl_set_tun()
/linux/net/ethernet/
A Deth.c485 .type = cpu_to_be16(ETH_P_TEB),
/linux/net/ipv6/
A Dip6_gre.c125 int dev_type = (gre_proto == htons(ETH_P_TEB) || in ip6gre_tunnel_lookup()
550 htons(ETH_P_TEB), in ip6erspan_rcv()
740 protocol = (dev->type == ARPHRD_ETHER) ? htons(ETH_P_TEB) : proto; in __gre6_xmit()
/linux/drivers/net/ethernet/sfc/
A Defx_common.c1338 if (ntohs(skb->inner_protocol) != ETH_P_TEB) in efx_can_encap_offloads()
/linux/drivers/net/ethernet/intel/fm10k/
A Dfm10k_netdev.c386 (ETH_P_TEB << FM10K_TUNNEL_CFG_NVGRE_SHIFT)); in fm10k_restore_udp_port_info()
A Dfm10k_main.c675 skb->inner_protocol != htons(ETH_P_TEB)) in fm10k_tx_encap_offload()
/linux/net/core/
A Dflow_dissector.c591 if (*p_proto == htons(ETH_P_TEB)) { in __skb_flow_dissect_gre()
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-drv.c1726 skb->inner_protocol != htons(ETH_P_TEB) || in xgbe_is_vxlan()

Completed in 95 milliseconds

12