af_mpls.c (a4ac8c986d3f72ccbaf6d6782511fb645e568306) af_mpls.c (1511009cd68015c2e04135bfefa4bf5020baa8d9)
1#include <linux/types.h>
2#include <linux/skbuff.h>
3#include <linux/socket.h>
4#include <linux/sysctl.h>
5#include <linux/net.h>
6#include <linux/module.h>
7#include <linux/if_arp.h>
8#include <linux/ipv6.h>

--- 10 unchanged lines hidden (view full) ---

19#include <net/netns/generic.h>
20#if IS_ENABLED(CONFIG_IPV6)
21#include <net/ipv6.h>
22#endif
23#include <net/addrconf.h>
24#include <net/nexthop.h>
25#include "internal.h"
26
1#include <linux/types.h>
2#include <linux/skbuff.h>
3#include <linux/socket.h>
4#include <linux/sysctl.h>
5#include <linux/net.h>
6#include <linux/module.h>
7#include <linux/if_arp.h>
8#include <linux/ipv6.h>

--- 10 unchanged lines hidden (view full) ---

19#include <net/netns/generic.h>
20#if IS_ENABLED(CONFIG_IPV6)
21#include <net/ipv6.h>
22#endif
23#include <net/addrconf.h>
24#include <net/nexthop.h>
25#include "internal.h"
26
27/* put a reasonable limit on the number of labels
28 * we will accept from userspace
29 */
30#define MAX_NEW_LABELS 30
31
32/* max memory we will use for mpls_route */
33#define MAX_MPLS_ROUTE_MEM 4096
34
35/* Maximum number of labels to look ahead at when selecting a path of
36 * a multipath route
37 */
38#define MAX_MP_SELECT_LABELS 4
39

--- 2234 unchanged lines hidden ---
27/* max memory we will use for mpls_route */
28#define MAX_MPLS_ROUTE_MEM 4096
29
30/* Maximum number of labels to look ahead at when selecting a path of
31 * a multipath route
32 */
33#define MAX_MP_SELECT_LABELS 4
34

--- 2234 unchanged lines hidden ---