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 | a9ba3a856d8e84f4c32bcfa2b92727b7add4996c (patch) | |
tree | e45a11e63905d3a231456c272d0e094d7a869974 /slirp/main.h | |
parent | e1c5a2b33409b9795fa58bf389eac855981330a5 (diff) |
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 'slirp/main.h')
-rw-r--r-- | slirp/main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/slirp/main.h b/slirp/main.h index 3ef2996519..b4926147d8 100644 --- a/slirp/main.h +++ b/slirp/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 |