diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-16 23:53:44 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-16 23:53:44 +0100 |
commit | 12343facf32d5d4c7945f9768db09fd2a8526cd2 (patch) | |
tree | 9e6035ad571bd87df655f2e82c000d3a7cd8242c /src/basic/socket-util.h | |
parent | bd8b65996c2bb2f44453f815fcd2e083827c15a3 (diff) | |
parent | 4edc2c9b6b5b921873eb82e58719ed4d9e0d69bf (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.h | 2 |
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))) |