diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-02-29 19:14:23 +0100 |
---|---|---|
committer | Jan Kiszka <jan.kiszka@siemens.com> | 2012-03-13 14:05:49 +0100 |
commit | 1b4a91fe675c59d22e95b67b91603801e8bbe71f (patch) | |
tree | a64a380e0749009734d4bac8a6e1b14590d0324d /udp.h | |
parent | 0bca327c21750001cd21562743dc4d92eb00feb6 (diff) | |
download | slirp-1b4a91fe675c59d22e95b67b91603801e8bbe71f.zip slirp-1b4a91fe675c59d22e95b67b91603801e8bbe71f.tar.gz slirp-1b4a91fe675c59d22e95b67b91603801e8bbe71f.tar.bz2 |
slirp: Cleanup resources on instance removal
Close & free sockets when shutting down a slirp instance, also release
all buffers.
CC: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'udp.h')
-rw-r--r-- | udp.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -74,6 +74,7 @@ struct udpiphdr { struct mbuf; void udp_init(Slirp *); +void udp_cleanup(Slirp *); void udp_input(register struct mbuf *, int); int udp_output(struct socket *, struct mbuf *, struct sockaddr_in *); int udp_attach(struct socket *); |