5 #ifndef __RTE_EPOLL_H__ 6 #define __RTE_EPOLL_H__ 21 #define RTE_INTR_EVENT_ADD 1UL 22 #define RTE_INTR_EVENT_DEL 2UL 24 typedef void (*rte_intr_event_cb_t)(
int fd,
void *arg);
26 struct rte_epoll_data {
29 rte_intr_event_cb_t cb_fun;
34 RTE_EPOLL_INVALID = 0,
44 struct rte_epoll_data epdata;
47 #define RTE_EPOLL_PER_THREAD -1 68 int maxevents,
int timeout);
89 int maxevents,
int timeout);
int rte_epoll_wait_interruptible(int epfd, struct rte_epoll_event *events, int maxevents, int timeout)
int rte_epoll_wait(int epfd, struct rte_epoll_event *events, int maxevents, int timeout)
int rte_epoll_ctl(int epfd, int op, int fd, struct rte_epoll_event *event)