aboutsummaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-08 19:24:00 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-08 19:24:00 +0000
commit27798c4bad6c56ce7faeefdc082fd501824c00bf (patch)
tree41fedaaa3c71d33e1435c878521c37563eaef404 /main.h
parent8a83e031bcc60c0fbfee518a265ee8b7c12c1e36 (diff)
downloadslirp-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.h b/main.h
index b02c879..c534c8b 100644
--- a/main.h
+++ b/main.h
@@ -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