nd6.c (d1d941c5b910e075495cb06b92a99d3a3e7a3d6c) nd6.c (0da3f8c98d17d9c6e67d0f6cf45085df6a5ef041)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

101VNET_DEFINE(int, nd6_gctimer) = (60 * 60 * 24); /* 1 day: garbage
102 * collection timer */
103
104/* preventing too many loops in ND option parsing */
105VNET_DEFINE_STATIC(int, nd6_maxndopt) = 10; /* max # of ND options allowed */
106
107VNET_DEFINE(int, nd6_maxnudhint) = 0; /* max # of subsequent upper
108 * layer hints */
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

101VNET_DEFINE(int, nd6_gctimer) = (60 * 60 * 24); /* 1 day: garbage
102 * collection timer */
103
104/* preventing too many loops in ND option parsing */
105VNET_DEFINE_STATIC(int, nd6_maxndopt) = 10; /* max # of ND options allowed */
106
107VNET_DEFINE(int, nd6_maxnudhint) = 0; /* max # of subsequent upper
108 * layer hints */
109VNET_DEFINE_STATIC(int, nd6_maxqueuelen) = 1; /* max pkts cached in unresolved
109VNET_DEFINE_STATIC(int, nd6_maxqueuelen) = 16; /* max pkts cached in unresolved
110 * ND entries */
111#define V_nd6_maxndopt VNET(nd6_maxndopt)
112#define V_nd6_maxqueuelen VNET(nd6_maxqueuelen)
113
114#ifdef ND6_DEBUG
115VNET_DEFINE(int, nd6_debug) = 1;
116#else
117VNET_DEFINE(int, nd6_debug) = 0;

--- 2542 unchanged lines hidden ---
110 * ND entries */
111#define V_nd6_maxndopt VNET(nd6_maxndopt)
112#define V_nd6_maxqueuelen VNET(nd6_maxqueuelen)
113
114#ifdef ND6_DEBUG
115VNET_DEFINE(int, nd6_debug) = 1;
116#else
117VNET_DEFINE(int, nd6_debug) = 0;

--- 2542 unchanged lines hidden ---