7 #include <sys/select.h>
10 void slirp_init(void);
12 void slirp_select_fill(int *pnfds,
13 fd_set *readfds, fd_set *writefds, fd_set *xfds);
15 void slirp_select_poll(fd_set *readfds, fd_set *writefds, fd_set *xfds);
17 void slirp_input(const uint8_t *pkt, int pkt_len);
19 /* you must provide the following functions: */
20 int slirp_can_output(void);
21 void slirp_output(const uint8_t *pkt, int pkt_len);