Lines Matching defs:limit
278 * The IPv6 code below accesses through the IPv6 hop limit
323 * hop limit, but only if not 0 to avoid underflow.
2521 static int resize_platform_label_table(struct net *net, size_t limit)
2523 size_t size = sizeof(struct mpls_route *) * limit;
2537 if (limit > MPLS_LABEL_IPV4NULL) {
2551 if (limit > MPLS_LABEL_IPV6NULL) {
2572 for (index = limit; index < old_limit; index++)
2577 if (old_limit < limit)
2584 (limit > MPLS_LABEL_IPV6NULL)) {
2590 (limit > MPLS_LABEL_IPV4NULL)) {
2596 net->mpls.platform_labels = limit;