Searched full:eth_p_mpls_uc (Results 1 – 25 of 27) sorted by relevance
12
/linux-6.14.4/tools/testing/selftests/bpf/progs/ |
D | test_tc_tunnel.c | 161 case ETH_P_MPLS_UC: in __encap_ipv4() 203 case ETH_P_MPLS_UC: in __encap_ipv4() 292 case ETH_P_MPLS_UC: in __encap_ipv6() 333 case ETH_P_MPLS_UC: in __encap_ipv6() 456 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_gre_mpls() 483 return encap_ipv4(skb, IPPROTO_UDP, ETH_P_MPLS_UC); in __encap_udp_mpls() 548 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_MPLS_UC); in __encap_ip6gre_mpls() 575 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_MPLS_UC); in __encap_ip6udp_mpls() 635 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-6.14.4/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-6.14.4/Documentation/networking/ |
D | bareudp.rst | 19 The MPLS protocol can have ethertypes ETH_P_MPLS_UC (unicast) & ETH_P_MPLS_MC (multicast). 21 This special handling can be enabled only for ethertypes ETH_P_IP & ETH_P_MPLS_UC
|
/linux-6.14.4/samples/bpf/ |
D | sockex3_kern.c | 245 parse_eth_proto(skb, ETH_P_MPLS_UC); in bpf_func_mpls() 280 case ETH_P_MPLS_UC: in parse_eth_proto()
|
/linux-6.14.4/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-6.14.4/net/mpls/ |
D | mpls_gso.c | 85 .type = cpu_to_be16(ETH_P_MPLS_UC),
|
D | mpls_iptunnel.c | 120 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_xmit()
|
D | af_mpls.c | 137 if (skb->protocol == htons(ETH_P_MPLS_UC)) { in mpls_stats_inc_outucastpkts() 432 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_forward() 481 .type = cpu_to_be16(ETH_P_MPLS_UC), 2421 skb->protocol = htons(ETH_P_MPLS_UC); in mpls_getroute()
|
/linux-6.14.4/include/uapi/linux/ |
D | openvswitch.h | 710 * The only values @mpls_ethertype should ever be given are %ETH_P_MPLS_UC and 715 __be16 mpls_ethertype; /* Either %ETH_P_MPLS_UC or %ETH_P_MPLS_MC */ 725 * The only values @mpls_ethertype should ever be given are %ETH_P_MPLS_UC and 730 __be16 mpls_ethertype; /* Either %ETH_P_MPLS_UC or %ETH_P_MPLS_MC */ 967 * encapsulating frame to either %ETH_P_MPLS_UC or %ETH_P_MPLS_MC to
|
D | if_ether.h | 79 #define ETH_P_MPLS_UC 0x8847 /* MPLS Unicast traffic */ macro
|
/linux-6.14.4/Documentation/netlink/specs/ |
D | ovs_flow.yaml | 318 ethertype should ever be given are ETH_P_MPLS_UC and ETH_P_MPLS_MC, 336 ethertype should ever be given are ETH_P_MPLS_UC and ETH_P_MPLS_MC, 649 ETH_P_MPLS_UC or ETH_P_MPLS_MC to indicate the new packet contents.
|
/linux-6.14.4/drivers/net/ |
D | bareudp.c | 100 } else if (bareudp->ethertype == htons(ETH_P_MPLS_UC)) { in bareudp_udp_encap_recv() 450 if (bareudp->ethertype == htons(ETH_P_MPLS_UC) && in bareudp_proto_valid() 661 (conf->ethertype != htons(ETH_P_MPLS_UC) && in bareudp_configure()
|
/linux-6.14.4/net/ipv4/ |
D | ipip.c | 211 .proto = htons(ETH_P_MPLS_UC), 297 case htons(ETH_P_MPLS_UC): in ipip_tunnel_xmit()
|
/linux-6.14.4/net/core/ |
D | flow_dissector.c | 1395 proto = htons(ETH_P_MPLS_UC); in __skb_flow_dissect() 1442 case htons(ETH_P_MPLS_UC): in __skb_flow_dissect() 1634 proto = htons(ETH_P_MPLS_UC); in __skb_flow_dissect()
|
D | pktgen.c | 2896 protocol = htons(ETH_P_MPLS_UC); in fill_packet_ipv4() 3024 protocol = htons(ETH_P_MPLS_UC); in fill_packet_ipv6()
|
/linux-6.14.4/net/sched/ |
D | act_mpls.c | 298 htons(ETH_P_MPLS_UC)); in tcf_mpls_init()
|
D | cls_flower.c | 1151 key->basic.n_proto = htons(ETH_P_MPLS_UC); in fl_set_key_pppoe() 1997 } else if (key->basic.n_proto == htons(ETH_P_MPLS_UC) || in fl_set_key()
|
/linux-6.14.4/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 | 440 case cpu_to_be16(ETH_P_MPLS_UC): in nfp_flower_calculate_key_layers()
|
/linux-6.14.4/net/ipv6/ |
D | sit.c | 747 .proto = htons(ETH_P_MPLS_UC), 1081 case htons(ETH_P_MPLS_UC): in sit_tunnel_xmit()
|
D | ip6_tunnel.c | 920 .proto = htons(ETH_P_MPLS_UC), 1442 case htons(ETH_P_MPLS_UC): in ip6_tnl_start_xmit()
|
/linux-6.14.4/drivers/net/ppp/ |
D | ppp_generic.c | 363 case ETH_P_MPLS_UC: in ethertype_to_npindex() 377 ETH_P_MPLS_UC,
|
/linux-6.14.4/drivers/infiniband/hw/mlx5/ |
D | fs.c | 613 (((eth_type == ETH_P_MPLS_UC) || in is_valid_ethertype()
|
12