Server chosen tcpfwd ports (#43)

Server chosen tcpfwd ports
This commit is contained in:
houseofkodai
2018-01-25 19:51:41 +05:30
committed by Matt Johnston
parent 3d61b6eab6
commit 917722257d
3 changed files with 84 additions and 15 deletions

View File

@@ -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,