Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c18 #define ETH_P_MPLS_UC 0x8847 macro
154 case ETH_P_MPLS_UC: in __encap_ipv4()
196 case ETH_P_MPLS_UC: in __encap_ipv4()
285 case ETH_P_MPLS_UC: in __encap_ipv6()
326 case ETH_P_MPLS_UC: in __encap_ipv6()
448 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_MPLS_UC);
475 return encap_ipv4(skb, IPPROTO_UDP, ETH_P_MPLS_UC);
540 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_MPLS_UC);
567 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_MPLS_UC);
627 case ETH_P_MPLS_UC in decap_internal()
[all...]
H A Dbpf_flow.c128 case bpf_htons(ETH_P_MPLS_UC): in parse_eth_proto()
/linux/include/net/
H A Dtun_proto.h28 return htons(ETH_P_MPLS_UC); in tun_p_to_eth_p()
44 case htons(ETH_P_MPLS_UC): in tun_p_from_eth_p()
H A Dmpls.h21 return eth_type == htons(ETH_P_MPLS_UC) || in eth_p_mpls()
/linux/Documentation/networking/
H A Dbareudp.rst19 The MPLS protocol can have ethertypes ETH_P_MPLS_UC (unicast) & ETH_P_MPLS_MC (multicast).
21 This special handling can be enabled only for ethertypes ETH_P_IP & ETH_P_MPLS_UC
/linux/samples/bpf/
H A Dsockex3_kern.c245 parse_eth_proto(skb, ETH_P_MPLS_UC); in bpf_func_mpls()
280 case ETH_P_MPLS_UC: in parse_eth_proto()
/linux/include/uapi/linux/
H A Dif_ether.h79 #define ETH_P_MPLS_UC 0x8847 /* MPLS Unicast traffic */ macro
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dmpls.c18 act->mpls_push.proto != htons(ETH_P_MPLS_UC)) { in tc_act_can_offload_mpls_push()
/linux/net/mpls/
H A Dmpls_gso.c85 .type = cpu_to_be16(ETH_P_MPLS_UC),
H A Dmpls_iptunnel.c120 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_xmit()
H A Daf_mpls.c161 if (skb->protocol == htons(ETH_P_MPLS_UC)) { in mpls_stats_inc_outucastpkts()
456 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_forward()
505 .type = cpu_to_be16(ETH_P_MPLS_UC),
2496 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_getroute()
/linux/drivers/net/
H A Dbareudp.c100 } else if (bareudp->ethertype == htons(ETH_P_MPLS_UC)) { in bareudp_udp_encap_recv()
451 if (bareudp->ethertype == htons(ETH_P_MPLS_UC) && in bareudp_proto_valid()
662 (conf->ethertype != htons(ETH_P_MPLS_UC) && in bareudp_configure()
/linux/net/ipv4/
H A Dipip.c211 .proto = htons(ETH_P_MPLS_UC),
297 case htons(ETH_P_MPLS_UC): in ipip_tunnel_xmit()
/linux/net/sched/
H A Dact_mpls.c296 htons(ETH_P_MPLS_UC)); in tcf_mpls_init()
H A Dcls_flower.c1151 key->basic.n_proto = htons(ETH_P_MPLS_UC); in fl_set_key_pppoe()
1997 } else if (key->basic.n_proto == htons(ETH_P_MPLS_UC) || in fl_set_key()
/linux/net/core/
H A Dflow_dissector.c1395 proto = htons(ETH_P_MPLS_UC); in __skb_flow_dissect()
1442 case htons(ETH_P_MPLS_UC): in __skb_flow_dissect()
1634 proto = htons(ETH_P_MPLS_UC); in __skb_flow_dissect()
H A Dpktgen.c2944 protocol = htons(ETH_P_MPLS_UC); in fill_packet_ipv4()
3072 protocol = htons(ETH_P_MPLS_UC); in fill_packet_ipv6()
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmatch.c163 if (match.key->n_proto == cpu_to_be16(ETH_P_MPLS_UC) || in nfp_flower_compile_mpls()
H A Doffload.c440 case cpu_to_be16(ETH_P_MPLS_UC): in nfp_flower_calculate_key_layers()
/linux/net/ipv6/
H A Dsit.c748 .proto = htons(ETH_P_MPLS_UC),
1074 case htons(ETH_P_MPLS_UC): in sit_tunnel_xmit()
H A Dip6_tunnel.c925 .proto = htons(ETH_P_MPLS_UC),
1446 case htons(ETH_P_MPLS_UC): in ip6_tnl_start_xmit()
/linux/drivers/net/ppp/
H A Dppp_generic.c357 case ETH_P_MPLS_UC: in ethertype_to_npindex()
371 ETH_P_MPLS_UC,
/linux/net/wireless/
H A Dutil.c971 case htons(ETH_P_MPLS_UC): in cfg80211_classify8021d()
/linux/drivers/infiniband/hw/mlx5/
H A Dfs.c619 (((eth_type == ETH_P_MPLS_UC) || in is_valid_ethertype()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c5008 case htons(ETH_P_MPLS_UC): in mlx5e_gre_tunnel_inner_proto_offload_supported()