Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/nd6.h
Show First 20 Lines • Show All 231 Lines • ▼ Show 20 Lines | struct nd_prefix { | ||||
time_t ndpr_lastupdate; /* reception time of last advertisement */ | time_t ndpr_lastupdate; /* reception time of last advertisement */ | ||||
struct prf_ra ndpr_flags; | struct prf_ra ndpr_flags; | ||||
u_int32_t ndpr_stateflags; /* actual state flags */ | u_int32_t ndpr_stateflags; /* actual state flags */ | ||||
/* list of routers that advertise the prefix: */ | /* list of routers that advertise the prefix: */ | ||||
LIST_HEAD(pr_rtrhead, nd_pfxrouter) ndpr_advrtrs; | LIST_HEAD(pr_rtrhead, nd_pfxrouter) ndpr_advrtrs; | ||||
u_char ndpr_plen; | u_char ndpr_plen; | ||||
int ndpr_addrcnt; /* count of derived addresses */ | int ndpr_addrcnt; /* count of derived addresses */ | ||||
int ndpr_num_autoconf_addrs; /* count of derived addresses, related to autoconf */ | |||||
markj: Call it ndpr_autoconf_addrcnt, to be more consistent with ndpr_addrcnt? | |||||
volatile u_int ndpr_refcnt; | volatile u_int ndpr_refcnt; | ||||
}; | }; | ||||
#define ndpr_raf ndpr_flags | #define ndpr_raf ndpr_flags | ||||
#define ndpr_raf_onlink ndpr_flags.onlink | #define ndpr_raf_onlink ndpr_flags.onlink | ||||
#define ndpr_raf_auto ndpr_flags.autonomous | #define ndpr_raf_auto ndpr_flags.autonomous | ||||
#define ndpr_raf_router ndpr_flags.router | #define ndpr_raf_router ndpr_flags.router | ||||
▲ Show 20 Lines • Show All 184 Lines • Show Last 20 Lines |
Call it ndpr_autoconf_addrcnt, to be more consistent with ndpr_addrcnt?