summaryrefslogtreecommitdiffstats
path: root/sys/net/ifq.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/ifq.h')
-rw-r--r--sys/net/ifq.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net/ifq.h b/sys/net/ifq.h
index 18d61e2..cf0c506 100644
--- a/sys/net/ifq.h
+++ b/sys/net/ifq.h
@@ -484,6 +484,10 @@ enum poll_cmd { POLL_ONLY, POLL_AND_CHECK_STATUS };
typedef int poll_handler_t(struct ifnet *ifp, enum poll_cmd cmd, int count);
int ether_poll_register(poll_handler_t *h, struct ifnet *ifp);
int ether_poll_deregister(struct ifnet *ifp);
+/* The following should be temporary, till all drivers use the driver API */
+typedef int poll_handler_drv_t(if_t ifh, enum poll_cmd cmd, int count);
+int ether_poll_register_drv(poll_handler_drv_t *h, if_t ifh);
+int ether_poll_deregister_drv(if_t ifh);
#endif /* DEVICE_POLLING */
#endif /* _KERNEL */
OpenPOWER on IntegriCloud