16 #define SLIRP_EVENT_IN 0x01 19 #define SLIRP_EVENT_OUT 0x02 22 #define SLIRP_EVENT_PRI 0x04 25 #define SLIRP_EVENT_ERR 0x08 28 #define SLIRP_EVENT_HUP 0x10 116 void *opaque,
void *
device );
Slirp device configuration.
struct in_addr vnameserver
DNS IPv4 address.
void msg(unsigned int row, const char *fmt,...)
Print message centred on specified row.
bool enable_emu
Enable emulation (apparently unsafe)
void(__asmcall *guest_error)(const char *msg
Print an error message.
const char * tftp_server_name
TFTP server name.
const char * vhostname
Client hostname.
const char * bootfile
Boot filename.
size_t if_mtu
Interface MTU.
int64_t(__asmcall *clock_get_ns)(void *device)
Get virtual clock.
const char ** vdnssearch
DNS search list.
struct in6_addr vhost6
IPv6 host server address.
struct in6_addr vprefix_addr6
IPv6 prefix.
#define __asmcall
Declare a function with standard calling conventions.
bool in6_enabled
IPv6 is enabled.
struct in_addr vnetwork
IPv4 network.
struct in_addr vhost
IPv4 host server address.
void *__asmcall * timer_new(void(__asmcall *callback)(void *opaque), void *opaque, void *device)
Create a new timer.
int restricted
Restrict to host loopback connections only.
struct in_addr vdhcp_start
DHCPv4 start address.
const char * vdomainname
Domain name.
struct in_addr vnetmask
IPv4 netmask.
const char * tftp_path
TFTP path prefix.
uint32_t version
Configuration version.
struct in_addr vnameserver6
DNS IPv6 address.
static struct timer * timer
Current timer.
uint8_t vprefix_len
IPv6 prefix length.
FILE_LICENCE(GPL2_OR_LATER)
size_t if_mru
Interface MRU.
bool disable_host_loopback
Disable host loopback connections.
ssize_t(__asmcall *send_packet)(const void *buf
Send packet.
bool in_enabled
IPv4 is enabled.