Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_var.h
Show First 20 Lines • Show All 713 Lines • ▼ Show 20 Lines | |||||
struct mbuf* drbr_dequeue_drv(if_t ifp, struct buf_ring *br); | struct mbuf* drbr_dequeue_drv(if_t ifp, struct buf_ring *br); | ||||
int drbr_needs_enqueue_drv(if_t ifp, struct buf_ring *br); | int drbr_needs_enqueue_drv(if_t ifp, struct buf_ring *br); | ||||
int drbr_enqueue_drv(if_t ifp, struct buf_ring *br, struct mbuf *m); | int drbr_enqueue_drv(if_t ifp, struct buf_ring *br, struct mbuf *m); | ||||
/* TSO */ | /* TSO */ | ||||
void if_hw_tsomax_common(if_t ifp, struct ifnet_hw_tsomax *); | void if_hw_tsomax_common(if_t ifp, struct ifnet_hw_tsomax *); | ||||
int if_hw_tsomax_update(if_t ifp, struct ifnet_hw_tsomax *); | int if_hw_tsomax_update(if_t ifp, struct ifnet_hw_tsomax *); | ||||
/* accessors for struct ifreq */ | |||||
void *ifr_data_get_ptr(void *ifrp); | |||||
#ifdef DEVICE_POLLING | #ifdef DEVICE_POLLING | ||||
enum poll_cmd { POLL_ONLY, POLL_AND_CHECK_STATUS }; | enum poll_cmd { POLL_ONLY, POLL_AND_CHECK_STATUS }; | ||||
typedef int poll_handler_t(if_t ifp, enum poll_cmd cmd, int count); | typedef int poll_handler_t(if_t ifp, enum poll_cmd cmd, int count); | ||||
int ether_poll_register(poll_handler_t *h, if_t ifp); | int ether_poll_register(poll_handler_t *h, if_t ifp); | ||||
int ether_poll_deregister(if_t ifp); | int ether_poll_deregister(if_t ifp); | ||||
#endif /* DEVICE_POLLING */ | #endif /* DEVICE_POLLING */ | ||||
#endif /* _KERNEL */ | #endif /* _KERNEL */ | ||||
#include <net/ifq.h> /* XXXAO: temporary unconditional include */ | #include <net/ifq.h> /* XXXAO: temporary unconditional include */ | ||||
#endif /* !_NET_IF_VAR_H_ */ | #endif /* !_NET_IF_VAR_H_ */ |