summaryrefslogtreecommitdiff
path: root/sock.h
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2015-06-18 00:16:20 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2015-06-18 00:16:20 +0200
commit41ce2d49645c6eb87f751c4df0b554f4388e73c3 (patch)
tree9a8e839c81c1a3c5a2b841644192b395d449b145 /sock.h
parent3e0003f06c310440d74d4ee91d37a478cb3a5095 (diff)
sock: Add dgram socket creation.
LINKTYPE_LINUX_SLL needs datagram packet sockets. We'll need this function at a later point in time. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'sock.h')
-rw-r--r--sock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sock.h b/sock.h
index 50f7102..8f68d42 100644
--- a/sock.h
+++ b/sock.h
@@ -3,6 +3,7 @@
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);