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: New function get_socket_rcvbuf().
[sliver-openvswitch.git]
/
lib
/
socket-util.h
diff --git
a/lib/socket-util.h
b/lib/socket-util.h
index
1059139
..
422cea9
100644
(file)
--- a/
lib/socket-util.h
+++ b/
lib/socket-util.h
@@
-33,6
+33,7
@@
int lookup_ipv6(const char *host_name, struct in6_addr *address);
int lookup_hostname(const char *host_name, struct in_addr *);
int get_socket_error(int sock);
+int get_socket_rcvbuf(int sock);
int check_connection_completion(int fd);
int drain_rcvbuf(int fd);
void drain_fd(int fd, size_t n_packets);