summaryrefslogtreecommitdiff
path: root/sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sock.h')
-rw-r--r--sock.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sock.h b/sock.h
index 8f68d42..155e64e 100644
--- a/sock.h
+++ b/sock.h
@@ -1,13 +1,16 @@
#ifndef SOCK_H
#define SOCK_H
+#include <stdbool.h>
+#include <stdint.h>
+
extern int af_socket(int af);
extern int pf_socket(void);
extern int pf_socket_type(uint32_t type);
extern void set_nonblocking(int fd);
extern int set_nonblocking_sloppy(int fd);
extern int set_reuseaddr(int fd);
-extern void set_sock_qdisc_bypass(int fd, int verbose);
+extern void set_sock_qdisc_bypass(int fd, bool verbose);
extern void set_sock_prio(int fd, int prio);
extern void set_tcp_nodelay(int fd);
extern void set_socket_keepalive(int fd);