Searched refs:ETH_P_MPLS_UC (Results 1 – 25 of 25) sorted by relevance
/Linux-v6.1/tools/testing/selftests/bpf/progs/ |
D | test_tc_tunnel.c | 154 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()
|
D | bpf_flow.c | 128 case bpf_htons(ETH_P_MPLS_UC): in parse_eth_proto()
|
/Linux-v6.1/include/net/ |
D | tun_proto.h | 28 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()
|
D | mpls.h | 21 return eth_type == htons(ETH_P_MPLS_UC) || in eth_p_mpls()
|
/Linux-v6.1/Documentation/networking/ |
D | bareudp.rst | 18 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-v6.1/samples/bpf/ |
D | sockex3_kern.c | 49 case ETH_P_MPLS_UC: in parse_eth_proto() 276 parse_eth_proto(skb, ETH_P_MPLS_UC); in PROG()
|
/Linux-v6.1/include/uapi/linux/ |
D | if_ether.h | 79 #define ETH_P_MPLS_UC 0x8847 /* MPLS Unicast traffic */ macro
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
D | mpls.c | 18 act->mpls_push.proto != htons(ETH_P_MPLS_UC)) { in tc_act_can_offload_mpls_push()
|
/Linux-v6.1/net/mpls/ |
D | mpls_gso.c | 81 .type = cpu_to_be16(ETH_P_MPLS_UC),
|
D | mpls_iptunnel.c | 122 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_xmit()
|
D | af_mpls.c | 136 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-v6.1/drivers/net/ |
D | bareudp.c | 98 } 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-v6.1/net/ipv4/ |
D | ipip.c | 208 .proto = htons(ETH_P_MPLS_UC), 288 case htons(ETH_P_MPLS_UC): in ipip_tunnel_xmit()
|
/Linux-v6.1/net/sched/ |
D | act_mpls.c | 284 htons(ETH_P_MPLS_UC); in tcf_mpls_init()
|
D | cls_flower.c | 1076 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-v6.1/net/core/ |
D | flow_dissector.c | 1281 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()
|
D | pktgen.c | 2877 protocol = htons(ETH_P_MPLS_UC); in fill_packet_ipv4() 3005 protocol = htons(ETH_P_MPLS_UC); in fill_packet_ipv6()
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/flower/ |
D | match.c | 163 if (match.key->n_proto == cpu_to_be16(ETH_P_MPLS_UC) || in nfp_flower_compile_mpls()
|
D | offload.c | 436 case cpu_to_be16(ETH_P_MPLS_UC): in nfp_flower_calculate_key_layers()
|
/Linux-v6.1/net/ipv6/ |
D | sit.c | 745 .proto = htons(ETH_P_MPLS_UC), 1079 case htons(ETH_P_MPLS_UC): in sit_tunnel_xmit()
|
D | ip6_tunnel.c | 905 .proto = htons(ETH_P_MPLS_UC), 1427 case htons(ETH_P_MPLS_UC): in ip6_tnl_start_xmit()
|
/Linux-v6.1/drivers/net/ppp/ |
D | ppp_generic.c | 349 case ETH_P_MPLS_UC: in ethertype_to_npindex() 363 ETH_P_MPLS_UC,
|
/Linux-v6.1/net/wireless/ |
D | util.c | 871 case htons(ETH_P_MPLS_UC): in cfg80211_classify8021d()
|
/Linux-v6.1/drivers/infiniband/hw/mlx5/ |
D | fs.c | 614 (((eth_type == ETH_P_MPLS_UC) || in is_valid_ethertype()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_main.c | 4574 case htons(ETH_P_MPLS_UC): in mlx5e_gre_tunnel_inner_proto_offload_supported()
|