#include <stddef.h>
#include <stdint.h>
+#ifdef THREADED
+#include "dispatch.h"
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
/* Packet send and receive. */
int netdev_recv(struct netdev *, struct ofpbuf *);
void netdev_recv_wait(struct netdev *);
+#ifdef THREADED
+int netdev_dispatch(struct netdev *, int, pkt_handler, u_char *);
+int netdev_get_fd(struct netdev *);
+#endif
int netdev_drain(struct netdev *);
int netdev_send(struct netdev *, const struct ofpbuf *);