Changeset View
Changeset View
Standalone View
Standalone View
sys/net/iflib.h
Show First 20 Lines • Show All 371 Lines • ▼ Show 20 Lines | |||||
#define IFLIB_DRIVER_MEDIA 0x20000 | #define IFLIB_DRIVER_MEDIA 0x20000 | ||||
/* | /* | ||||
* When using a single hardware interrupt for the interface, only process RX | * When using a single hardware interrupt for the interface, only process RX | ||||
* interrupts instead of doing combined RX/TX processing. | * interrupts instead of doing combined RX/TX processing. | ||||
*/ | */ | ||||
#define IFLIB_SINGLE_IRQ_RX_ONLY 0x40000 | #define IFLIB_SINGLE_IRQ_RX_ONLY 0x40000 | ||||
/* | /* | ||||
* These enum values are used in iflib_needs_restart to indicate to iflib | |||||
* functions whether or not the interface needs restarting when certain events | |||||
* happen. | |||||
*/ | |||||
enum iflib_restart_event { | |||||
IFLIB_RESTART_VLAN_CONFIG, | |||||
}; | |||||
/* | |||||
* field accessors | * field accessors | ||||
*/ | */ | ||||
void *iflib_get_softc(if_ctx_t ctx); | void *iflib_get_softc(if_ctx_t ctx); | ||||
device_t iflib_get_dev(if_ctx_t ctx); | device_t iflib_get_dev(if_ctx_t ctx); | ||||
if_t iflib_get_ifp(if_ctx_t ctx); | if_t iflib_get_ifp(if_ctx_t ctx); | ||||
▲ Show 20 Lines • Show All 82 Lines • Show Last 20 Lines |