full picoTCP stack integration. hasn't been stress-tested yet

This commit is contained in:
Joseph Henry
2016-10-18 16:38:09 -07:00
parent 4e386ac482
commit 844e8a0826
7 changed files with 234 additions and 90 deletions

View File

@@ -478,6 +478,11 @@ namespace ZeroTier {
*/
Connection *getConnection(PhySocket *sock);
/*
* Returns a pointer to a TcpConnection associated with a given pico_socket
*/
Connection *getConnection(struct pico_socket *socket);
/*
* Closes a TcpConnection, associated LWIP PCB strcuture,
* PhySocket, and underlying file descriptor