Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if.h
Show First 20 Lines • Show All 579 Lines • ▼ Show 20 Lines | struct ifrsshash { | ||||
uint8_t ifrh_func; /* RSS_FUNC_ */ | uint8_t ifrh_func; /* RSS_FUNC_ */ | ||||
uint8_t ifrh_spare0; | uint8_t ifrh_spare0; | ||||
uint16_t ifrh_spare1; | uint16_t ifrh_spare1; | ||||
uint32_t ifrh_types; /* RSS_TYPE_ */ | uint32_t ifrh_types; /* RSS_TYPE_ */ | ||||
}; | }; | ||||
#define IFNET_PCP_NONE 0xff /* PCP disabled */ | #define IFNET_PCP_NONE 0xff /* PCP disabled */ | ||||
#define IFDR_MSG_SIZE 64 | |||||
struct ifdownreason { | |||||
char ifdr_name[IFNAMSIZ]; | |||||
char ifdr_msg[IFDR_MSG_SIZE]; | |||||
}; | |||||
#endif /* __BSD_VISIBLE */ | #endif /* __BSD_VISIBLE */ | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
#ifdef MALLOC_DECLARE | #ifdef MALLOC_DECLARE | ||||
MALLOC_DECLARE(M_IFADDR); | MALLOC_DECLARE(M_IFADDR); | ||||
MALLOC_DECLARE(M_IFMADDR); | MALLOC_DECLARE(M_IFMADDR); | ||||
#endif | #endif | ||||
#endif | #endif | ||||
Show All 15 Lines |