summaryrefslogtreecommitdiff
path: root/src/basic/socket-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-16 23:53:44 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-16 23:53:44 +0100
commit12343facf32d5d4c7945f9768db09fd2a8526cd2 (patch)
tree9e6035ad571bd87df655f2e82c000d3a7cd8242c /src/basic/socket-util.h
parentbd8b65996c2bb2f44453f815fcd2e083827c15a3 (diff)
parent4edc2c9b6b5b921873eb82e58719ed4d9e0d69bf (diff)
Merge pull request #2626 from poettering/fionread-fix
networkd: FIONREAD is not reliable on some sockets
Diffstat (limited to 'src/basic/socket-util.h')
-rw-r--r--src/basic/socket-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/socket-util.h b/src/basic/socket-util.h
index 92edc1dc22..d17a2f35f8 100644
--- a/src/basic/socket-util.h
+++ b/src/basic/socket-util.h
@@ -133,5 +133,7 @@ int send_one_fd_sa(int transport_fd,
#define send_one_fd(transport_fd, fd, flags) send_one_fd_sa(transport_fd, fd, NULL, 0, flags)
int receive_one_fd(int transport_fd, int flags);
+ssize_t next_datagram_size_fd(int fd);
+
#define CMSG_FOREACH(cmsg, mh) \
for ((cmsg) = CMSG_FIRSTHDR(mh); (cmsg); (cmsg) = CMSG_NXTHDR((mh), (cmsg)))