Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/nd6.c
Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Lines | |||||
VNET_DEFINE(int, nd6_gctimer) = (60 * 60 * 24); /* 1 day: garbage | VNET_DEFINE(int, nd6_gctimer) = (60 * 60 * 24); /* 1 day: garbage | ||||
* collection timer */ | * collection timer */ | ||||
/* preventing too many loops in ND option parsing */ | /* preventing too many loops in ND option parsing */ | ||||
VNET_DEFINE_STATIC(int, nd6_maxndopt) = 10; /* max # of ND options allowed */ | VNET_DEFINE_STATIC(int, nd6_maxndopt) = 10; /* max # of ND options allowed */ | ||||
VNET_DEFINE(int, nd6_maxnudhint) = 0; /* max # of subsequent upper | VNET_DEFINE(int, nd6_maxnudhint) = 0; /* max # of subsequent upper | ||||
* layer hints */ | * layer hints */ | ||||
VNET_DEFINE_STATIC(int, nd6_maxqueuelen) = 1; /* max pkts cached in unresolved | VNET_DEFINE_STATIC(int, nd6_maxqueuelen) = 16; /* max pkts cached in unresolved | ||||
* ND entries */ | * ND entries */ | ||||
#define V_nd6_maxndopt VNET(nd6_maxndopt) | #define V_nd6_maxndopt VNET(nd6_maxndopt) | ||||
#define V_nd6_maxqueuelen VNET(nd6_maxqueuelen) | #define V_nd6_maxqueuelen VNET(nd6_maxqueuelen) | ||||
#ifdef ND6_DEBUG | #ifdef ND6_DEBUG | ||||
VNET_DEFINE(int, nd6_debug) = 1; | VNET_DEFINE(int, nd6_debug) = 1; | ||||
#else | #else | ||||
VNET_DEFINE(int, nd6_debug) = 0; | VNET_DEFINE(int, nd6_debug) = 0; | ||||
▲ Show 20 Lines • Show All 2,542 Lines • Show Last 20 Lines |