Searched refs:mpls (Results 1 – 13 of 13) sorted by relevance
| /net/mpls/ |
| A D | af_mpls.c | 82 if (index < net->mpls.platform_labels) { in mpls_route_input_rcu() 305 net->mpls.ip_ttl_propagate)) in mpls_egress() 327 net->mpls.ip_ttl_propagate)) in mpls_egress() 2552 old_limit = net->mpls.platform_labels; in resize_platform_label_table() 2579 net->mpls.platform_labels = limit; in resize_platform_label_table() 2661 net->mpls.platform_labels = 0; in mpls_net_init() 2662 net->mpls.platform_label = NULL; in mpls_net_init() 2663 net->mpls.ip_ttl_propagate = 1; in mpls_net_init() 2664 net->mpls.default_ttl = 255; in mpls_net_init() 2678 if (net->mpls.ctl == NULL) { in mpls_net_init() [all …]
|
| A D | mpls_iptunnel.c | 80 !net->mpls.ip_ttl_propagate) in mpls_xmit() 81 ttl = net->mpls.default_ttl; in mpls_xmit() 89 !net->mpls.ip_ttl_propagate) in mpls_xmit() 90 ttl = net->mpls.default_ttl; in mpls_xmit()
|
| A D | Kconfig | 31 Add support for forwarding of mpls packets. 37 mpls ip tunnel support.
|
| /net/openvswitch/ |
| A D | actions.c | 178 flow_key->mpls.lse[0] = lse; in set_mpls() 1379 struct ovs_action_push_mpls *mpls = nla_data(a); in do_execute_actions() local 1381 err = push_mpls(skb, key, mpls->mpls_lse, in do_execute_actions() 1382 mpls->mpls_ethertype, skb->mac_len); in do_execute_actions() 1386 struct ovs_action_add_mpls *mpls = nla_data(a); in do_execute_actions() local 1389 if (mpls->tun_flags & OVS_MPLS_L3_TUNNEL_FLAG_MASK) in do_execute_actions() 1392 err = push_mpls(skb, key, mpls->mpls_lse, in do_execute_actions() 1393 mpls->mpls_ethertype, mac_len); in do_execute_actions()
|
| A D | flow.c | 793 memset(&key->mpls, 0, sizeof(key->mpls)); in key_extract_l3l4() 806 memcpy(&key->mpls.lse[label_count - 1], &lse, in key_extract_l3l4() 819 key->mpls.num_labels_mask = GENMASK(label_count - 1, 0); in key_extract_l3l4()
|
| A D | flow_netlink.c | 1684 SW_FLOW_KEY_PUT(match, mpls.lse[i], in ovs_key_from_nlattrs() 1687 SW_FLOW_KEY_PUT(match, mpls.num_labels_mask, in ovs_key_from_nlattrs() 2182 num_labels = hweight_long(output->mpls.num_labels_mask); in __ovs_nla_put_key() 2190 mpls_key[i].mpls_lse = output->mpls.lse[i]; in __ovs_nla_put_key() 3298 const struct ovs_action_add_mpls *mpls = nla_data(a); in __ovs_nla_copy_actions() local 3300 if (!eth_p_mpls(mpls->mpls_ethertype)) in __ovs_nla_copy_actions() 3303 if (mpls->tun_flags & OVS_MPLS_L3_TUNNEL_FLAG_MASK) { in __ovs_nla_copy_actions() 3320 eth_type = mpls->mpls_ethertype; in __ovs_nla_copy_actions() 3325 const struct ovs_action_push_mpls *mpls = nla_data(a); in __ovs_nla_copy_actions() local 3327 if (!eth_p_mpls(mpls->mpls_ethertype)) in __ovs_nla_copy_actions() [all …]
|
| A D | flow.h | 153 } mpls; member
|
| /net/ |
| A D | Makefile | 70 obj-$(CONFIG_MPLS) += mpls/
|
| A D | Kconfig | 276 source "net/mpls/Kconfig" 450 tunnels like mpls. There is no netdevice associated with a light
|
| /net/sched/ |
| A D | act_mpls.c | 256 mpls_ttl = net->mpls.default_ttl ? in tcf_mpls_init() 257 net->mpls.default_ttl : ACT_MPLS_TTL_DEFAULT; in tcf_mpls_init()
|
| A D | cls_flower.c | 75 struct flow_dissector_key_mpls mpls; member 1999 ret = fl_set_key_mpls(tb, &key->mpls, &mask->mpls, extack); in fl_set_key() 2194 FLOW_DISSECTOR_KEY_MPLS, mpls); in fl_init_dissector() 3471 if (fl_dump_key_mpls(skb, &key->mpls, &mask->mpls)) in fl_dump_key()
|
| /net/core/ |
| A D | pktgen.c | 2801 static void mpls_push(__be32 *mpls, struct pktgen_dev *pkt_dev) in mpls_push() argument 2806 *mpls++ = pkt_dev->labels[i] & ~MPLS_STACK_BOTTOM; in mpls_push() 2808 mpls--; in mpls_push() 2809 *mpls |= MPLS_STACK_BOTTOM; in mpls_push() 2936 __be32 *mpls; in fill_packet_ipv4() local 2966 mpls = skb_put(skb, pkt_dev->nr_labels * sizeof(__u32)); in fill_packet_ipv4() 2968 mpls_push(mpls, pkt_dev); in fill_packet_ipv4() 3064 __be32 *mpls; in fill_packet_ipv6() local 3094 mpls = skb_put(skb, pkt_dev->nr_labels * sizeof(__u32)); in fill_packet_ipv6() 3096 mpls_push(mpls, pkt_dev); in fill_packet_ipv6()
|
| /net/wireless/ |
| A D | util.c | 1000 struct mpls_label mpls_tmp, *mpls; in cfg80211_classify8021d() local 1002 mpls = skb_header_pointer(skb, sizeof(struct ethhdr), in cfg80211_classify8021d() 1003 sizeof(*mpls), &mpls_tmp); in cfg80211_classify8021d() 1004 if (!mpls) in cfg80211_classify8021d() 1007 ret = (ntohl(mpls->entry) & MPLS_LS_TC_MASK) in cfg80211_classify8021d()
|
Completed in 59 milliseconds