Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/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.h20 return eth_type == htons(ETH_P_MPLS_UC) || in eth_p_mpls()
/Linux-v5.4/include/uapi/linux/
Dif_ether.h79 #define ETH_P_MPLS_UC 0x8847 /* MPLS Unicast traffic */ macro
/Linux-v5.4/samples/bpf/
Dsockex3_kern.c46 case ETH_P_MPLS_UC: in parse_eth_proto()
273 parse_eth_proto(skb, ETH_P_MPLS_UC); in PROG()
/Linux-v5.4/net/mpls/
Dmpls_gso.c78 .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),
2417 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_getroute()
/Linux-v5.4/net/ipv4/
Dipip.c208 .proto = htons(ETH_P_MPLS_UC),
286 case htons(ETH_P_MPLS_UC): in ipip_tunnel_xmit()
/Linux-v5.4/net/sched/
Dact_mpls.c261 htons(ETH_P_MPLS_UC); in tcf_mpls_init()
Dcls_flower.c1168 } else if (key->basic.n_proto == htons(ETH_P_MPLS_UC) || in fl_set_key()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c122 if (match.key->n_proto == cpu_to_be16(ETH_P_MPLS_UC) || in nfp_flower_compile_mac()
Doffload.c363 case cpu_to_be16(ETH_P_MPLS_UC): in nfp_flower_calculate_key_layers()
/Linux-v5.4/net/core/
Dflow_dissector.c1153 case htons(ETH_P_MPLS_UC): in __skb_flow_dissect()
1289 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()
/Linux-v5.4/net/ipv6/
Dsit.c710 .proto = htons(ETH_P_MPLS_UC),
1042 case htons(ETH_P_MPLS_UC): in sit_tunnel_xmit()
/Linux-v5.4/drivers/net/ppp/
Dppp_generic.c347 case ETH_P_MPLS_UC: in ethertype_to_npindex()
361 ETH_P_MPLS_UC,
/Linux-v5.4/net/wireless/
Dutil.c770 case htons(ETH_P_MPLS_UC): in cfg80211_classify8021d()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmain.c3158 (((eth_type == ETH_P_MPLS_UC) || in is_valid_ethertype()