summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/socket.h b/lib/socket.h
index bc4525f..ab932b3 100644
--- a/lib/socket.h
+++ b/lib/socket.h
@@ -45,6 +45,7 @@ sock *sk_new(pool *); /* Allocate new socket */
int sk_open(sock *); /* Open socket */
int sk_send(sock *, unsigned len); /* Send data, <0=err, >0=ok, 0=sleep */
int sk_send_to(sock *, unsigned len, ip_addr to, unsigned port); /* sk_send to given destination */
+void sk_reallocate(sock *); /* Free and allocate tbuf & rbuf */
void sk_dump_all(void);
static inline int