Searched refs:mpls (Results 1 – 15 of 15) sorted by relevance
/linux-4.4.14/net/mpls/ |
D | af_mpls.c | 43 if (index < net->mpls.platform_labels) { in mpls_route_input_rcu() 45 rcu_dereference(net->mpls.platform_label); in mpls_route_input_rcu() 411 platform_label = rtnl_dereference(net->mpls.platform_label); in mpls_route_update() 427 platform_label = rtnl_dereference(net->mpls.platform_label); in find_free_label() 428 platform_labels = net->mpls.platform_labels; in find_free_label() 740 if (index >= net->mpls.platform_labels) in mpls_route_add() 749 platform_label = rtnl_dereference(net->mpls.platform_label); in mpls_route_add() 806 if (index >= net->mpls.platform_labels) in mpls_route_del() 901 platform_label = rtnl_dereference(net->mpls.platform_label); in mpls_ifdown() 902 for (index = 0; index < net->mpls.platform_labels; index++) { in mpls_ifdown() [all …]
|
D | Kconfig | 28 Add support for forwarding of mpls packets. 34 mpls ip tunnel support.
|
/linux-4.4.14/Documentation/networking/ |
D | mpls-sysctl.txt | 1 /proc/sys/net/mpls/* Variables: 13 label will be recognized by the kernel and mpls forwarding
|
D | pktgen.txt | 179 pgset "mpls 0001000a,0002000a,0000000a" set MPLS labels (in this example 193 pgset "mpls 0" turn off mpls (or any invalid argument works too!) 314 mpls
|
/linux-4.4.14/net/ |
D | Makefile | 72 obj-$(CONFIG_MPLS) += mpls/
|
D | Kconfig | 232 source "net/mpls/Kconfig" 382 tunnels like mpls. There is no netdevice associated with a light
|
/linux-4.4.14/net/openvswitch/ |
D | flow.h | 78 } mpls; member
|
D | actions.c | 141 const struct ovs_action_push_mpls *mpls) in push_mpls() argument 159 *new_mpls_lse = mpls->mpls_lse; in push_mpls() 164 hdr->h_proto = mpls->mpls_ethertype; in push_mpls() 168 skb->protocol = mpls->mpls_ethertype; in push_mpls() 225 flow_key->mpls.top_lse = lse; in set_mpls()
|
D | flow_netlink.c | 1050 SW_FLOW_KEY_PUT(match, mpls.top_lse, in ovs_key_from_nlattrs() 1545 mpls_key->mpls_lse = output->mpls.top_lse; in __ovs_nla_put_key() 2284 const struct ovs_action_push_mpls *mpls = nla_data(a); in __ovs_nla_copy_actions() local 2286 if (!eth_p_mpls(mpls->mpls_ethertype)) in __ovs_nla_copy_actions() 2298 eth_type = mpls->mpls_ethertype; in __ovs_nla_copy_actions()
|
D | flow.c | 619 memcpy(&key->mpls.top_lse, &lse, MPLS_HLEN); in key_extract()
|
/linux-4.4.14/net/wireless/ |
D | util.c | 777 struct mpls_label mpls_tmp, *mpls; in cfg80211_classify8021d() local 779 mpls = skb_header_pointer(skb, sizeof(struct ethhdr), in cfg80211_classify8021d() 780 sizeof(*mpls), &mpls_tmp); in cfg80211_classify8021d() 781 if (!mpls) in cfg80211_classify8021d() 784 return (ntohl(mpls->entry) & MPLS_LS_TC_MASK) in cfg80211_classify8021d()
|
/linux-4.4.14/include/net/ |
D | net_namespace.h | 138 struct netns_mpls mpls; member
|
/linux-4.4.14/net/core/ |
D | pktgen.c | 2684 static void mpls_push(__be32 *mpls, struct pktgen_dev *pkt_dev) in mpls_push() argument 2688 *mpls++ = pkt_dev->labels[i] & ~MPLS_STACK_BOTTOM; in mpls_push() 2690 mpls--; in mpls_push() 2691 *mpls |= MPLS_STACK_BOTTOM; in mpls_push() 2806 __be32 *mpls; in fill_packet_ipv4() local 2838 mpls = (__be32 *)skb_put(skb, pkt_dev->nr_labels*sizeof(__u32)); in fill_packet_ipv4() 2840 mpls_push(mpls, pkt_dev); in fill_packet_ipv4() 2935 __be32 *mpls; in fill_packet_ipv6() local 2965 mpls = (__be32 *)skb_put(skb, pkt_dev->nr_labels*sizeof(__u32)); in fill_packet_ipv6() 2967 mpls_push(mpls, pkt_dev); in fill_packet_ipv6()
|
D | flow_dissector.c | 318 mpls: in __skb_flow_dissect() 478 goto mpls; in __skb_flow_dissect()
|
/linux-4.4.14/include/uapi/linux/ |
D | Kbuild | 267 header-y += mpls.h
|