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 );
#define __asmcall
Declare a function with standard calling conventions.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
void msg(unsigned int row, const char *fmt,...)
Print message centred on specified row.
void(__asmcall *register_poll_fd)(int fd
Register file descriptor for polling.
void(__asmcall *notify)(void *device)
Notify that new events are ready.
void(__asmcall *timer_free)(void *timer
Delete a timer.
void *__asmcall * timer_new(void(__asmcall *callback)(void *opaque), void *opaque, void *device)
Create a new timer.
void(__asmcall *unregister_poll_fd)(int fd
Unregister file descriptor.
void(__asmcall *guest_error)(const char *msg
Print an error message.
int64_t(__asmcall *clock_get_ns)(void *device)
Get virtual clock.
Slirp device configuration.
int restricted
Restrict to host loopback connections only.
bool disable_host_loopback
Disable host loopback connections.
bool in6_enabled
IPv6 is enabled.
struct in_addr vnameserver6
DNS IPv6 address.
struct in_addr vhost
IPv4 host server address.
bool in_enabled
IPv4 is enabled.
const char ** vdnssearch
DNS search list.
uint32_t version
Configuration version.
size_t if_mtu
Interface MTU.
struct in6_addr vprefix_addr6
IPv6 prefix.
struct in_addr vnetmask
IPv4 netmask.
size_t if_mru
Interface MRU.
struct in_addr vnameserver
DNS IPv4 address.
const char * bootfile
Boot filename.
const char * tftp_server_name
TFTP server name.
const char * tftp_path
TFTP path prefix.
bool enable_emu
Enable emulation (apparently unsafe)
const char * vdomainname
Domain name.
const char * vhostname
Client hostname.
struct in_addr vdhcp_start
DHCPv4 start address.
uint8_t vprefix_len
IPv6 prefix length.
struct in_addr vnetwork
IPv4 network.
struct in6_addr vhost6
IPv6 host server address.