summaryrefslogtreecommitdiffhomepage
path: root/netio.h
diff options
context:
space:
mode:
Diffstat (limited to 'netio.h')
-rw-r--r--netio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/netio.h b/netio.h
index 532157c..090df3d 100644
--- a/netio.h
+++ b/netio.h
@@ -14,6 +14,7 @@ enum dropbear_prio {
void set_sock_nodelay(int sock);
void set_sock_priority(int sock, enum dropbear_prio prio);
+int get_sock_port(int sock);
void get_socket_address(int fd, char **local_host, char **local_port,
char **remote_host, char **remote_port, int host_lookup);
void getaddrstring(struct sockaddr_storage* addr,