diff options
Diffstat (limited to 'src/VBox/Devices/Network/slirp/socket.h')
| -rw-r--r-- | src/VBox/Devices/Network/slirp/socket.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/VBox/Devices/Network/slirp/socket.h b/src/VBox/Devices/Network/slirp/socket.h index 15bea049f..1fa88ed0c 100644 --- a/src/VBox/Devices/Network/slirp/socket.h +++ b/src/VBox/Devices/Network/slirp/socket.h @@ -105,8 +105,13 @@ struct socket #endif /* required for port-forwarding */ struct libalias *so_la; + /* libalias might attach the socket and we want to notify libalias we're freeing it */ + void *so_pvLnk; }; +/* this function inform libalias about socket close */ +void slirpDeleteLinkSocket(void *pvLnk); + #ifdef VBOX_WITH_SLIRP_MT # define SOCKET_LOCK(so) \ do { \ |
