git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
socket-util: drain_rcvbuf() for Windows.
[sliver-openvswitch.git]
/
lib
/
socket-util.h
diff --git
a/lib/socket-util.h
b/lib/socket-util.h
index
61372f8
..
92f0c6f
100644
(file)
--- a/
lib/socket-util.h
+++ b/
lib/socket-util.h
@@
-38,7
+38,9
@@
int lookup_hostname(const char *host_name, struct in_addr *);
int get_socket_rcvbuf(int sock);
int check_connection_completion(int fd);
+#ifndef _WIN32
int drain_rcvbuf(int fd);
+#endif
void drain_fd(int fd, size_t n_packets);
#ifndef _WIN32
int make_unix_socket(int style, bool nonblock,