1 #ifndef _NET_IF_POLL_H_
2 #define _NET_IF_POLL_H_
9 typedef void (*ifpoll_iofn_t)(struct ifnet *, void *, int);
10 typedef void (*ifpoll_stfn_t)(struct ifnet *);
12 struct ifpoll_status {
13 struct lwkt_serialize *serializer;
14 ifpoll_stfn_t status_func;
18 struct lwkt_serialize *serializer;
20 ifpoll_iofn_t poll_func;
24 struct ifnet *ifpi_ifp;
25 struct ifpoll_status ifpi_status;
26 struct ifpoll_io ifpi_rx[MAXCPU];
27 struct ifpoll_io ifpi_tx[MAXCPU];
32 #endif /* !_NET_IF_POLL_H_ */