Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A 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()
H A Dbpf_flow.c127 case bpf_htons(ETH_P_MPLS_UC): in parse_eth_proto()
/OK3568_Linux_fs/kernel/include/net/
H 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()
H A Dmpls.h21 return eth_type == htons(ETH_P_MPLS_UC) || in eth_p_mpls()
/OK3568_Linux_fs/kernel/Documentation/networking/
H 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
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dsockex3_kern.c49 case ETH_P_MPLS_UC: in parse_eth_proto()
276 parse_eth_proto(skb, ETH_P_MPLS_UC); in PROG()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dif_ether.h79 #define ETH_P_MPLS_UC 0x8847 /* MPLS Unicast traffic */ macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dif_ether.h79 #define ETH_P_MPLS_UC 0x8847 /* MPLS Unicast traffic */ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dif_ether.h79 #define ETH_P_MPLS_UC 0x8847 /* MPLS Unicast traffic */ macro
/OK3568_Linux_fs/kernel/net/mpls/
H A Dmpls_gso.c81 .type = cpu_to_be16(ETH_P_MPLS_UC),
H A Dmpls_iptunnel.c122 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_xmit()
H A 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),
2441 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_getroute()
/OK3568_Linux_fs/kernel/drivers/net/
H A Dbareudp.c91 } else if (bareudp->ethertype == htons(ETH_P_MPLS_UC)) { in bareudp_udp_encap_recv()
414 if (bareudp->ethertype == htons(ETH_P_MPLS_UC) && in bareudp_proto_valid()
619 (conf->ethertype != htons(ETH_P_MPLS_UC) && in bareudp_configure()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dipip.c208 .proto = htons(ETH_P_MPLS_UC),
286 case htons(ETH_P_MPLS_UC): in ipip_tunnel_xmit()
/OK3568_Linux_fs/kernel/net/sched/
H A Dact_mpls.c285 htons(ETH_P_MPLS_UC); in tcf_mpls_init()
H A Dcls_flower.c1606 } else if (key->basic.n_proto == htons(ETH_P_MPLS_UC) || in fl_set_key()
/OK3568_Linux_fs/kernel/net/core/
H A Dflow_dissector.c1230 case htons(ETH_P_MPLS_UC): in __skb_flow_dissect()
1369 proto = htons(ETH_P_MPLS_UC); in __skb_flow_dissect()
H A Dpktgen.c2736 protocol = htons(ETH_P_MPLS_UC); in fill_packet_ipv4()
2864 protocol = htons(ETH_P_MPLS_UC); in fill_packet_ipv6()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/flower/
H A Dmatch.c133 if (match.key->n_proto == cpu_to_be16(ETH_P_MPLS_UC) || in nfp_flower_compile_mac()
H A Doffload.c438 case cpu_to_be16(ETH_P_MPLS_UC): in nfp_flower_calculate_key_layers()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dsit.c746 .proto = htons(ETH_P_MPLS_UC),
1078 case htons(ETH_P_MPLS_UC): in sit_tunnel_xmit()
H A Dip6_tunnel.c942 .proto = htons(ETH_P_MPLS_UC),
1453 case htons(ETH_P_MPLS_UC): in ip6_tnl_start_xmit()
/OK3568_Linux_fs/kernel/drivers/net/ppp/
H A Dppp_generic.c347 case ETH_P_MPLS_UC: in ethertype_to_npindex()
361 ETH_P_MPLS_UC,
/OK3568_Linux_fs/kernel/net/wireless/
H A Dutil.c865 case htons(ETH_P_MPLS_UC): in cfg80211_classify8021d()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/
H A Dfs.c671 (((eth_type == ETH_P_MPLS_UC) || in is_valid_ethertype()

12