Searched refs:platform_labels (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/include/net/netns/
H A Dmpls.h12 size_t platform_labels; member in struct:netns_mpls
/linux-4.4.14/net/mpls/
H A Daf_mpls.c43 if (index < net->mpls.platform_labels) { mpls_route_input_rcu()
424 size_t platform_labels; find_free_label() local
428 platform_labels = net->mpls.platform_labels; find_free_label()
429 for (index = MPLS_LABEL_FIRST_UNRESERVED; index < platform_labels; find_free_label()
740 if (index >= net->mpls.platform_labels) mpls_route_add()
806 if (index >= net->mpls.platform_labels) mpls_route_del()
902 for (index = 0; index < net->mpls.platform_labels; index++) { mpls_ifdown()
1303 size_t platform_labels; mpls_dump_routes() local
1313 platform_labels = net->mpls.platform_labels; mpls_dump_routes()
1314 for (; index < platform_labels; index++) { mpls_dump_routes()
1440 old_limit = net->mpls.platform_labels; resize_platform_label_table()
1467 net->mpls.platform_labels = limit; resize_platform_label_table()
1493 int platform_labels = net->mpls.platform_labels; mpls_platform_labels() local
1497 .data = &platform_labels, mpls_platform_labels()
1507 ret = resize_platform_label_table(net, platform_labels); mpls_platform_labels()
1514 .procname = "platform_labels",
1527 net->mpls.platform_labels = 0; mpls_net_init()
1547 size_t platform_labels; mpls_net_exit() local
1566 platform_labels = net->mpls.platform_labels; mpls_net_exit()
1567 for (index = 0; index < platform_labels; index++) { mpls_net_exit()

Completed in 129 milliseconds