aboutsummaryrefslogtreecommitdiffstats
path: root/slirp-android/ctl.h
blob: 854ae9a91e3ec20cd33993a34776054e5e822bc6 (plain)
1
2
3
4
5
6
7
8
9
10
#define CTL_CMD		0
#define CTL_EXEC	1
#define CTL_ALIAS	2
#define CTL_DNS		3
/* NOTE: DNS_ADDR_MAX addresses, starting from CTL_DNS, are reserved */

#define CTL_IS_DNS(x)   ((unsigned)((x)-CTL_DNS) < (unsigned)dns_addr_count)

#define CTL_SPECIAL	"10.0.2.0"
#define CTL_LOCAL	"10.0.2.15"