Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_tc_tunnel.c138 case ETH_P_MPLS_UC: in encap_ipv4()
175 case ETH_P_MPLS_UC: in encap_ipv4()
246 case ETH_P_MPLS_UC: in encap_ipv6()
282 case ETH_P_MPLS_UC: in encap_ipv6()
334 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_gre_mpls()
361 return encap_ipv4(skb, IPPROTO_UDP, ETH_P_MPLS_UC); in __encap_udp_mpls()
406 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_ip6gre_mpls()
433 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_MPLS_UC); in __encap_ip6udp_mpls()
463 case ETH_P_MPLS_UC: in decap_internal()
Dbpf_flow.c127 case bpf_htons(ETH_P_MPLS_UC): in parse_eth_proto()
/kernel/linux/linux-5.10/include/net/
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()
Dmpls.h21 return eth_type == htons(ETH_P_MPLS_UC) || in eth_p_mpls()
/kernel/linux/linux-5.10/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
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dif_ether.h49 #define ETH_P_MPLS_UC 0x8847 macro
/kernel/linux/linux-5.10/include/uapi/linux/
Dif_ether.h79 #define ETH_P_MPLS_UC 0x8847 /* MPLS Unicast traffic */ macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dif_ether.h62 #define ETH_P_MPLS_UC 0x8847 macro
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
430 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_forward()
478 .type = cpu_to_be16(ETH_P_MPLS_UC),
2445 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_getroute()
/kernel/linux/linux-5.10/drivers/net/
Dbareudp.c91 } else if (bareudp->ethertype == htons(ETH_P_MPLS_UC)) { in bareudp_udp_encap_recv()
419 if (bareudp->ethertype == htons(ETH_P_MPLS_UC) && in bareudp_proto_valid()
624 (conf->ethertype != htons(ETH_P_MPLS_UC) && in bareudp_configure()
/kernel/linux/linux-5.10/net/ipv4/
Dipip.c208 .proto = htons(ETH_P_MPLS_UC),
286 case htons(ETH_P_MPLS_UC): in ipip_tunnel_xmit()
/kernel/linux/linux-5.10/net/sched/
Dact_mpls.c285 htons(ETH_P_MPLS_UC); in tcf_mpls_init()
Dcls_flower.c1598 } else if (key->basic.n_proto == htons(ETH_P_MPLS_UC) || in fl_set_key()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c133 if (match.key->n_proto == cpu_to_be16(ETH_P_MPLS_UC) || in nfp_flower_compile_mac()
Doffload.c438 case cpu_to_be16(ETH_P_MPLS_UC): in nfp_flower_calculate_key_layers()
/kernel/linux/linux-5.10/net/core/
Dflow_dissector.c1229 case htons(ETH_P_MPLS_UC): in __skb_flow_dissect()
1368 proto = htons(ETH_P_MPLS_UC); in __skb_flow_dissect()
Dpktgen.c2736 protocol = htons(ETH_P_MPLS_UC); in fill_packet_ipv4()
2864 protocol = htons(ETH_P_MPLS_UC); in fill_packet_ipv6()
/kernel/linux/linux-5.10/net/ipv6/
Dsit.c748 .proto = htons(ETH_P_MPLS_UC),
1080 case htons(ETH_P_MPLS_UC): in sit_tunnel_xmit()
Dip6_tunnel.c942 .proto = htons(ETH_P_MPLS_UC),
1453 case htons(ETH_P_MPLS_UC): in ip6_tnl_start_xmit()
/kernel/linux/linux-5.10/drivers/net/ppp/
Dppp_generic.c347 case ETH_P_MPLS_UC: in ethertype_to_npindex()
361 ETH_P_MPLS_UC,
/kernel/linux/linux-5.10/net/wireless/
Dutil.c865 case htons(ETH_P_MPLS_UC): in cfg80211_classify8021d()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dfs.c671 (((eth_type == ETH_P_MPLS_UC) || in is_valid_ethertype()

12