Changeset View
Changeset View
Standalone View
Standalone View
sys/net/iflib.h
Show First 20 Lines • Show All 319 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* Driver needs frames padded to some minimum length | * Driver needs frames padded to some minimum length | ||||
*/ | */ | ||||
#define IFLIB_NEED_ETHER_PAD 0x100 | #define IFLIB_NEED_ETHER_PAD 0x100 | ||||
/* | /* | ||||
* Interface needs admin task to ignore interface up/down status | * Interface needs admin task to ignore interface up/down status | ||||
*/ | */ | ||||
#define IFLIB_ADMIN_ALWAYS_RUN 0x10000 | #define IFLIB_ADMIN_ALWAYS_RUN 0x10000 | ||||
/* | |||||
* Always flush SW/HW Tx queues before reconfiguring | |||||
* VLANs; to prevent anti-spoof errors | |||||
*/ | |||||
#define IFLIB_VLAN_ANTI_SPOOF 0x20000 | |||||
/* | /* | ||||
* 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); | ||||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |