/openbmc/linux/include/net/ |
H A D | tun_proto.h | 28 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 D | mpls.h | 21 return eth_type == htons(ETH_P_MPLS_UC) || in eth_p_mpls()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_tc_tunnel.c | 158 case ETH_P_MPLS_UC: in __encap_ipv4() 200 case ETH_P_MPLS_UC: in __encap_ipv4() 289 case ETH_P_MPLS_UC: in __encap_ipv6() 330 case ETH_P_MPLS_UC: in __encap_ipv6() 453 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_gre_mpls() 480 return encap_ipv4(skb, IPPROTO_UDP, ETH_P_MPLS_UC); in __encap_udp_mpls() 545 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_ip6gre_mpls() 572 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_MPLS_UC); in __encap_ip6udp_mpls() 632 case ETH_P_MPLS_UC: in decap_internal()
|
H A D | bpf_flow.c | 128 case bpf_htons(ETH_P_MPLS_UC): in parse_eth_proto()
|
/openbmc/linux/Documentation/networking/ |
H A D | bareudp.rst | 18 MPLS procotcol can have ethertypes ETH_P_MPLS_UC (unicast) & ETH_P_MPLS_MC (multicast). 20 This special handling can be enabled only for ethertypes ETH_P_IP & ETH_P_MPLS_UC
|
/openbmc/u-boot/include/linux/ |
H A D | if_ether.h | 82 #define ETH_P_MPLS_UC 0x8847 /* MPLS Unicast traffic */ macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | if_ether.h | 79 #define ETH_P_MPLS_UC 0x8847 /* MPLS Unicast traffic */ macro
|
/openbmc/linux/samples/bpf/ |
H A D | sockex3_kern.c | 245 parse_eth_proto(skb, ETH_P_MPLS_UC); in bpf_func_mpls() 280 case ETH_P_MPLS_UC: in parse_eth_proto()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | mpls.c | 18 act->mpls_push.proto != htons(ETH_P_MPLS_UC)) { in tc_act_can_offload_mpls_push()
|
/openbmc/linux/net/mpls/ |
H A D | mpls_gso.c | 85 .type = cpu_to_be16(ETH_P_MPLS_UC),
|
H A D | mpls_iptunnel.c | 122 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_xmit()
|
H A D | af_mpls.c | 137 if (skb->protocol == htons(ETH_P_MPLS_UC)) { in mpls_stats_inc_outucastpkts() 432 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_forward() 481 .type = cpu_to_be16(ETH_P_MPLS_UC), 2422 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_getroute()
|
/openbmc/linux/net/ipv4/ |
H A D | ipip.c | 208 .proto = htons(ETH_P_MPLS_UC), 289 case htons(ETH_P_MPLS_UC): in ipip_tunnel_xmit()
|
/openbmc/linux/drivers/net/ |
H A D | bareudp.c | 99 } else if (bareudp->ethertype == htons(ETH_P_MPLS_UC)) { in bareudp_udp_encap_recv() 445 if (bareudp->ethertype == htons(ETH_P_MPLS_UC) && in bareudp_proto_valid() 651 (conf->ethertype != htons(ETH_P_MPLS_UC) && in bareudp_configure()
|
/openbmc/linux/Documentation/netlink/specs/ |
H A D | ovs_flow.yaml | 315 ethertype should ever be given are ETH_P_MPLS_UC and ETH_P_MPLS_MC, 333 ethertype should ever be given are ETH_P_MPLS_UC and ETH_P_MPLS_MC, 645 ETH_P_MPLS_UC or ETH_P_MPLS_MC to indicate the new packet contents.
|
/openbmc/linux/net/core/ |
H A D | flow_dissector.c | 1361 proto = htons(ETH_P_MPLS_UC); in __skb_flow_dissect() 1408 case htons(ETH_P_MPLS_UC): in __skb_flow_dissect() 1600 proto = htons(ETH_P_MPLS_UC); in __skb_flow_dissect()
|
H A D | pktgen.c | 2875 protocol = htons(ETH_P_MPLS_UC); in fill_packet_ipv4() 3003 protocol = htons(ETH_P_MPLS_UC); in fill_packet_ipv6()
|
/openbmc/linux/net/sched/ |
H A D | act_mpls.c | 300 htons(ETH_P_MPLS_UC); in tcf_mpls_init()
|
H A D | cls_flower.c | 1127 key->basic.n_proto = htons(ETH_P_MPLS_UC); in fl_set_key_pppoe() 1879 } else if (key->basic.n_proto == htons(ETH_P_MPLS_UC) || in fl_set_key()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | match.c | 163 if (match.key->n_proto == cpu_to_be16(ETH_P_MPLS_UC) || in nfp_flower_compile_mpls()
|
H A D | offload.c | 436 case cpu_to_be16(ETH_P_MPLS_UC): in nfp_flower_calculate_key_layers()
|
/openbmc/linux/net/ipv6/ |
H A D | sit.c | 745 .proto = htons(ETH_P_MPLS_UC), 1079 case htons(ETH_P_MPLS_UC): in sit_tunnel_xmit()
|
H A D | ip6_tunnel.c | 920 .proto = htons(ETH_P_MPLS_UC), 1440 case htons(ETH_P_MPLS_UC): in ip6_tnl_start_xmit()
|
/openbmc/linux/drivers/net/ppp/ |
H A D | ppp_generic.c | 350 case ETH_P_MPLS_UC: in ethertype_to_npindex() 364 ETH_P_MPLS_UC,
|
/openbmc/linux/net/wireless/ |
H A D | util.c | 956 case htons(ETH_P_MPLS_UC): in cfg80211_classify8021d()
|