Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/progs/
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()
Dbpf_flow.c128 case bpf_htons(ETH_P_MPLS_UC): in parse_eth_proto()
/linux-6.1.9/include/net/
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()
Dmpls.h21 return eth_type == htons(ETH_P_MPLS_UC) || in eth_p_mpls()
/linux-6.1.9/Documentation/networking/
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-6.1.9/samples/bpf/
Dsockex3_kern.c49 case ETH_P_MPLS_UC: in parse_eth_proto()
276 parse_eth_proto(skb, ETH_P_MPLS_UC); in PROG()
/linux-6.1.9/include/uapi/linux/
Dif_ether.h79 #define ETH_P_MPLS_UC 0x8847 /* MPLS Unicast traffic */ macro
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dmpls.c18 act->mpls_push.proto != htons(ETH_P_MPLS_UC)) { in tc_act_can_offload_mpls_push()
/linux-6.1.9/net/mpls/
Dmpls_gso.c81 .type = cpu_to_be16(ETH_P_MPLS_UC),
Dmpls_iptunnel.c122 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_xmit()
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),
2432 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_getroute()
/linux-6.1.9/drivers/net/
Dbareudp.c98 } else if (bareudp->ethertype == htons(ETH_P_MPLS_UC)) { in bareudp_udp_encap_recv()
423 if (bareudp->ethertype == htons(ETH_P_MPLS_UC) && in bareudp_proto_valid()
629 (conf->ethertype != htons(ETH_P_MPLS_UC) && in bareudp_configure()
/linux-6.1.9/net/ipv4/
Dipip.c208 .proto = htons(ETH_P_MPLS_UC),
288 case htons(ETH_P_MPLS_UC): in ipip_tunnel_xmit()
/linux-6.1.9/net/sched/
Dact_mpls.c290 htons(ETH_P_MPLS_UC); in tcf_mpls_init()
Dcls_flower.c1076 key->basic.n_proto = htons(ETH_P_MPLS_UC); in fl_set_key_pppoe()
1773 } else if (key->basic.n_proto == htons(ETH_P_MPLS_UC) || in fl_set_key()
/linux-6.1.9/net/core/
Dflow_dissector.c1281 proto = htons(ETH_P_MPLS_UC); in __skb_flow_dissect()
1328 case htons(ETH_P_MPLS_UC): in __skb_flow_dissect()
1514 proto = htons(ETH_P_MPLS_UC); in __skb_flow_dissect()
Dpktgen.c2877 protocol = htons(ETH_P_MPLS_UC); in fill_packet_ipv4()
3005 protocol = htons(ETH_P_MPLS_UC); in fill_packet_ipv6()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c163 if (match.key->n_proto == cpu_to_be16(ETH_P_MPLS_UC) || in nfp_flower_compile_mpls()
Doffload.c436 case cpu_to_be16(ETH_P_MPLS_UC): in nfp_flower_calculate_key_layers()
/linux-6.1.9/net/ipv6/
Dsit.c745 .proto = htons(ETH_P_MPLS_UC),
1079 case htons(ETH_P_MPLS_UC): in sit_tunnel_xmit()
Dip6_tunnel.c905 .proto = htons(ETH_P_MPLS_UC),
1427 case htons(ETH_P_MPLS_UC): in ip6_tnl_start_xmit()
/linux-6.1.9/drivers/net/ppp/
Dppp_generic.c349 case ETH_P_MPLS_UC: in ethertype_to_npindex()
363 ETH_P_MPLS_UC,
/linux-6.1.9/net/wireless/
Dutil.c871 case htons(ETH_P_MPLS_UC): in cfg80211_classify8021d()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dfs.c614 (((eth_type == ETH_P_MPLS_UC) || in is_valid_ethertype()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c4577 case htons(ETH_P_MPLS_UC): in mlx5e_gre_tunnel_inner_proto_offload_supported()