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/
A Dtest_tc_tunnel.c154 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()
394 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_gre_mpls()
421 return encap_ipv4(skb, IPPROTO_UDP, ETH_P_MPLS_UC); in __encap_udp_mpls()
477 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_ip6gre_mpls()
504 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_MPLS_UC); in __encap_ip6udp_mpls()
544 case ETH_P_MPLS_UC: in decap_internal()
A Dbpf_flow.c126 case bpf_htons(ETH_P_MPLS_UC): in parse_eth_proto()
/linux/include/net/
A Dtun_proto.h27 return htons(ETH_P_MPLS_UC); in tun_p_to_eth_p()
43 case htons(ETH_P_MPLS_UC): in tun_p_from_eth_p()
A Dmpls.h21 return eth_type == htons(ETH_P_MPLS_UC) || in eth_p_mpls()
/linux/Documentation/networking/
A Dbareudp.rst18 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
/linux/samples/bpf/
A Dsockex3_kern.c49 case ETH_P_MPLS_UC: in parse_eth_proto()
276 parse_eth_proto(skb, ETH_P_MPLS_UC); in PROG()
/linux/include/uapi/linux/
A Dif_ether.h79 #define ETH_P_MPLS_UC 0x8847 /* MPLS Unicast traffic */ macro
/linux/net/mpls/
A Dmpls_gso.c81 .type = cpu_to_be16(ETH_P_MPLS_UC),
A Dmpls_iptunnel.c122 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_xmit()
A Daf_mpls.c136 if (skb->protocol == htons(ETH_P_MPLS_UC)) { in mpls_stats_inc_outucastpkts()
431 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_forward()
480 .type = cpu_to_be16(ETH_P_MPLS_UC),
2433 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_getroute()
/linux/drivers/net/
A Dbareudp.c91 } else if (bareudp->ethertype == htons(ETH_P_MPLS_UC)) { in bareudp_udp_encap_recv()
415 if (bareudp->ethertype == htons(ETH_P_MPLS_UC) && in bareudp_proto_valid()
618 (conf->ethertype != htons(ETH_P_MPLS_UC) && in bareudp_configure()
/linux/net/ipv4/
A Dipip.c208 .proto = htons(ETH_P_MPLS_UC),
288 case htons(ETH_P_MPLS_UC): in ipip_tunnel_xmit()
/linux/net/sched/
A Dact_mpls.c285 htons(ETH_P_MPLS_UC); in tcf_mpls_init()
A Dcls_flower.c1620 } else if (key->basic.n_proto == htons(ETH_P_MPLS_UC) || in fl_set_key()
/linux/net/core/
A Dflow_dissector.c1238 case htons(ETH_P_MPLS_UC): in __skb_flow_dissect()
1407 proto = htons(ETH_P_MPLS_UC); in __skb_flow_dissect()
A Dpktgen.c2876 protocol = htons(ETH_P_MPLS_UC); in fill_packet_ipv4()
3004 protocol = htons(ETH_P_MPLS_UC); in fill_packet_ipv6()
/linux/drivers/net/ethernet/netronome/nfp/flower/
A Dmatch.c161 if (match.key->n_proto == cpu_to_be16(ETH_P_MPLS_UC) || in nfp_flower_compile_mpls()
A Doffload.c436 case cpu_to_be16(ETH_P_MPLS_UC): in nfp_flower_calculate_key_layers()
/linux/net/ipv6/
A Dsit.c753 .proto = htons(ETH_P_MPLS_UC),
1087 case htons(ETH_P_MPLS_UC): in sit_tunnel_xmit()
A Dip6_tunnel.c912 .proto = htons(ETH_P_MPLS_UC),
1423 case htons(ETH_P_MPLS_UC): in ip6_tnl_start_xmit()
/linux/drivers/net/ppp/
A Dppp_generic.c346 case ETH_P_MPLS_UC: in ethertype_to_npindex()
360 ETH_P_MPLS_UC,
/linux/net/wireless/
A Dutil.c867 case htons(ETH_P_MPLS_UC): in cfg80211_classify8021d()
/linux/drivers/infiniband/hw/mlx5/
A Dfs.c673 (((eth_type == ETH_P_MPLS_UC) || in is_valid_ethertype()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_tc.c3998 act->mpls_push.proto != htons(ETH_P_MPLS_UC)) { in parse_tc_fdb_actions()
A Den_main.c4261 case htons(ETH_P_MPLS_UC): in mlx5e_gre_tunnel_inner_proto_offload_supported()

Completed in 77 milliseconds