Changeset View
Changeset View
Standalone View
Standalone View
head/sys/net/route.h
Show First 20 Lines • Show All 224 Lines • ▼ Show 20 Lines | |||||
#define NHR_NONE 0x00 /* empty flags field */ | #define NHR_NONE 0x00 /* empty flags field */ | ||||
#define NHR_REF 0x02 /* reference nexhop */ | #define NHR_REF 0x02 /* reference nexhop */ | ||||
/* uRPF */ | /* uRPF */ | ||||
#define NHR_NODEFAULT 0x04 /* do not consider default route */ | #define NHR_NODEFAULT 0x04 /* do not consider default route */ | ||||
/* Control plane route request flags */ | /* Control plane route request flags */ | ||||
#define NHR_COPY 0x100 /* Copy rte data */ | #define NHR_COPY 0x100 /* Copy rte data */ | ||||
#define NHR_UNLOCKED 0x200 /* Do not lock table */ | |||||
/* | /* | ||||
* Routing statistics. | * Routing statistics. | ||||
*/ | */ | ||||
struct rtstat { | struct rtstat { | ||||
uint64_t rts_badredirect; /* bogus redirect calls */ | uint64_t rts_badredirect; /* bogus redirect calls */ | ||||
uint64_t rts_dynamic; /* routes created by redirects */ | uint64_t rts_dynamic; /* routes created by redirects */ | ||||
uint64_t rts_newgateway; /* routes modified by redirects */ | uint64_t rts_newgateway; /* routes modified by redirects */ | ||||
▲ Show 20 Lines • Show All 219 Lines • Show Last 20 Lines |