Home
last modified time | relevance | path

Searched refs:mpls (Results 1 – 11 of 11) sorted by relevance

/net/mpls/
Daf_mpls.c44 if (index < net->mpls.platform_labels) { in mpls_route_input_rcu()
46 rcu_dereference(net->mpls.platform_label); in mpls_route_input_rcu()
439 platform_label = rtnl_dereference(net->mpls.platform_label); in mpls_route_update()
455 platform_label = rtnl_dereference(net->mpls.platform_label); in find_free_label()
456 platform_labels = net->mpls.platform_labels; in find_free_label()
769 if (is_ok && *index >= net->mpls.platform_labels) in mpls_label_ok()
772 *index = array_index_nospec(*index, net->mpls.platform_labels); in mpls_label_ok()
803 platform_label = rtnl_dereference(net->mpls.platform_label); in mpls_route_add()
951 platform_label = rtnl_dereference(net->mpls.platform_label); in mpls_ifdown()
952 for (index = 0; index < net->mpls.platform_labels; index++) { in mpls_ifdown()
[all …]
DKconfig28 Add support for forwarding of mpls packets.
34 mpls ip tunnel support.
/net/openvswitch/
Dactions.c161 const struct ovs_action_push_mpls *mpls) in push_mpls() argument
184 new_mpls_lse->label_stack_entry = mpls->mpls_lse; in push_mpls()
188 update_ethertype(skb, eth_hdr(skb), mpls->mpls_ethertype); in push_mpls()
189 skb->protocol = mpls->mpls_ethertype; in push_mpls()
247 flow_key->mpls.top_lse = lse; in set_mpls()
Dflow.h84 } mpls; member
Dflow_netlink.c1205 SW_FLOW_KEY_PUT(match, mpls.top_lse, in ovs_key_from_nlattrs()
1660 mpls_key->mpls_lse = output->mpls.top_lse; in __ovs_nla_put_key()
2415 const struct ovs_action_push_mpls *mpls = nla_data(a); in __ovs_nla_copy_actions() local
2417 if (!eth_p_mpls(mpls->mpls_ethertype)) in __ovs_nla_copy_actions()
2429 eth_type = mpls->mpls_ethertype; in __ovs_nla_copy_actions()
Dflow.c647 memcpy(&key->mpls.top_lse, &lse, MPLS_HLEN); in key_extract()
/net/
DMakefile74 obj-$(CONFIG_MPLS) += mpls/
DKconfig241 source "net/mpls/Kconfig"
404 tunnels like mpls. There is no netdevice associated with a light
/net/wireless/
Dutil.c856 struct mpls_label mpls_tmp, *mpls; in cfg80211_classify8021d() local
858 mpls = skb_header_pointer(skb, sizeof(struct ethhdr), in cfg80211_classify8021d()
859 sizeof(*mpls), &mpls_tmp); in cfg80211_classify8021d()
860 if (!mpls) in cfg80211_classify8021d()
863 return (ntohl(mpls->entry) & MPLS_LS_TC_MASK) in cfg80211_classify8021d()
/net/core/
Dpktgen.c2695 static void mpls_push(__be32 *mpls, struct pktgen_dev *pkt_dev) in mpls_push() argument
2699 *mpls++ = pkt_dev->labels[i] & ~MPLS_STACK_BOTTOM; in mpls_push()
2701 mpls--; in mpls_push()
2702 *mpls |= MPLS_STACK_BOTTOM; in mpls_push()
2818 __be32 *mpls; in fill_packet_ipv4() local
2848 mpls = (__be32 *)skb_put(skb, pkt_dev->nr_labels*sizeof(__u32)); in fill_packet_ipv4()
2850 mpls_push(mpls, pkt_dev); in fill_packet_ipv4()
2945 __be32 *mpls; in fill_packet_ipv6() local
2975 mpls = (__be32 *)skb_put(skb, pkt_dev->nr_labels*sizeof(__u32)); in fill_packet_ipv6()
2977 mpls_push(mpls, pkt_dev); in fill_packet_ipv6()
Dflow_dissector.c330 mpls: in __skb_flow_dissect()
536 goto mpls; in __skb_flow_dissect()