aboutsummaryrefslogtreecommitdiff
path: root/lib/socket-util.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-10-14 13:30:29 -0700
committerBen Pfaff <blp@nicira.com>2011-10-14 14:08:44 -0700
commitc1c19657f457a908d207a5f8313ea0ea33a4f3f5 (patch)
tree5f307129fde4bf5fbd0b0a87c17a4c56256b9c21 /lib/socket-util.h
parent30b44744a1d806acf79f9feb8b848e851afda3e2 (diff)
socket-util: New function get_socket_rcvbuf().
This will be used in an upcoming commit.
Diffstat (limited to 'lib/socket-util.h')
-rw-r--r--lib/socket-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/socket-util.h b/lib/socket-util.h
index 10591392..422cea9c 100644
--- 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);