diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-08 19:24:00 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-08 19:24:00 +0000 |
commit | 27798c4bad6c56ce7faeefdc082fd501824c00bf (patch) | |
tree | 41fedaaa3c71d33e1435c878521c37563eaef404 /main.h | |
parent | 8a83e031bcc60c0fbfee518a265ee8b7c12c1e36 (diff) | |
download | slirp-27798c4bad6c56ce7faeefdc082fd501824c00bf.zip slirp-27798c4bad6c56ce7faeefdc082fd501824c00bf.tar.gz slirp-27798c4bad6c56ce7faeefdc082fd501824c00bf.tar.bz2 |
Add slirp_restrict option (Gleb Natapov)
Add "slirp firewall" to permit connection only to vmchannel addresses.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6241 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -44,6 +44,8 @@ extern int towrite_max; extern int ppp_exit; extern int tcp_keepintvl; extern uint8_t client_ethaddr[6]; +extern char *slirp_special_ip; +extern int slirp_restrict; #define PROTO_SLIP 0x1 #ifdef USE_PPP |