Changeset View
Changeset View
Standalone View
Standalone View
head/sys/net/route/route_ddb.c
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
#include <ddb/ddb.h> | #include <ddb/ddb.h> | ||||
#include <ddb/db_lex.h> | #include <ddb/db_lex.h> | ||||
#include <net/if.h> | #include <net/if.h> | ||||
#include <net/if_var.h> | #include <net/if_var.h> | ||||
#include <net/if_dl.h> | #include <net/if_dl.h> | ||||
#include <net/route.h> | #include <net/route.h> | ||||
#include <net/route/nhop.h> | #include <net/route/nhop.h> | ||||
#include <net/route/route_ctl.h> | |||||
#include <net/route/route_var.h> | #include <net/route/route_var.h> | ||||
/* | /* | ||||
* Unfortunately, RTF_ values are expressed as raw masks rather than powers of | * Unfortunately, RTF_ values are expressed as raw masks rather than powers of | ||||
* 2, so we cannot use them as nice C99 initializer indices below. | * 2, so we cannot use them as nice C99 initializer indices below. | ||||
*/ | */ | ||||
static const char * const rtf_flag_strings[] = { | static const char * const rtf_flag_strings[] = { | ||||
"UP", | "UP", | ||||
▲ Show 20 Lines • Show All 210 Lines • Show Last 20 Lines |