| Top |
| GVirSandboxConfigNetwork * | gvir_sandbox_config_network_new () |
| void | gvir_sandbox_config_network_set_source () |
| const gchar * | gvir_sandbox_config_network_get_source () |
| void | gvir_sandbox_config_network_set_mac () |
| const gchar * | gvir_sandbox_config_network_get_mac () |
| void | gvir_sandbox_config_network_set_dhcp () |
| gboolean | gvir_sandbox_config_network_get_dhcp () |
| void | gvir_sandbox_config_network_add_address () |
| GList * | gvir_sandbox_config_network_get_addresses () |
| void | gvir_sandbox_config_network_set_filterref () |
| GVirSandboxConfigNetworkFilterref * | gvir_sandbox_config_network_get_filterref () |
| void | gvir_sandbox_config_network_add_route () |
| GList * | gvir_sandbox_config_network_get_routes () |
Provides an object to store information about a kernel ramdisk
The GVirSandboxConfigNetwork object stores the information required to build a kernel ramdisk to use when booting a virtual machine as a sandbox.
GVirSandboxConfigNetwork *
gvir_sandbox_config_network_new (void);
Create a new network config with DHCP enabled
void gvir_sandbox_config_network_set_source (GVirSandboxConfigNetwork *config,const gchar *network);
const gchar *
gvir_sandbox_config_network_get_source
(GVirSandboxConfigNetwork *config);
void gvir_sandbox_config_network_set_mac (GVirSandboxConfigNetwork *config,const gchar *mac);
const gchar *
gvir_sandbox_config_network_get_mac (GVirSandboxConfigNetwork *config);
void gvir_sandbox_config_network_set_dhcp (GVirSandboxConfigNetwork *config,gboolean dhcp);
gboolean
gvir_sandbox_config_network_get_dhcp (GVirSandboxConfigNetwork *config);
void gvir_sandbox_config_network_add_address (GVirSandboxConfigNetwork *config,GVirSandboxConfigNetworkAddress *addr);
Add a network interface address. This will be ignored unless DHCP has been disabled
GList *
gvir_sandbox_config_network_get_addresses
(GVirSandboxConfigNetwork *config);
Retrieve the list of network interface addresses
void gvir_sandbox_config_network_set_filterref (GVirSandboxConfigNetwork *config,GVirSandboxConfigNetworkFilterref *ref);
Set a network filterref for the given network.
GVirSandboxConfigNetworkFilterref *
gvir_sandbox_config_network_get_filterref
(GVirSandboxConfigNetwork *config);
Retrieve the associated filter reference.
void gvir_sandbox_config_network_add_route (GVirSandboxConfigNetwork *config,GVirSandboxConfigNetworkRoute *addr);
Add a network interface route. This will be ignored unless DHCP has been disabled
GList *
gvir_sandbox_config_network_get_routes
(GVirSandboxConfigNetwork *config);
Retrieve the list of network interface routes
#define GVIR_SANDBOX_TYPE_CONFIG_NETWORK_HANDLE (gvir_sandbox_config_network_handle_get_type ())
struct GVirSandboxConfigNetworkClass {
GObjectClass parent_class;
gpointer padding[LIBVIRT_SANDBOX_CLASS_PADDING];
};