#include <stdint.h>
#include <errno.h>
#include "linux/vserver/switch.h"
#include "linux/vserver/cacct_cmd.h"
#include "linux/vserver/network_cmd.h"
#include "vserver.h"
Include dependency graph for network.c:
Go to the source code of this file.
Functions | |
int | nx_create (nid_t nid, nx_flags_t *data) |
Create network context. | |
int | nx_migrate (nid_t nid) |
Migrate to an existing network context. | |
int | nx_task_nid (pid_t pid) |
Get the network context ID of a process. | |
int | nx_info (nid_t nid, nx_info_t *data) |
Get network context information. | |
int | nx_addr_add (nid_t nid, nx_addr_t *data) |
Add network context addresses. | |
int | nx_addr_remove (nid_t nid, nx_addr_t *data) |
Remove network context addresses. | |
int | nx_flags_set (nid_t nid, nx_flags_t *data) |
Set network context flags. | |
int | nx_flags_get (nid_t nid, nx_flags_t *data) |
Get network context flags. | |
int | nx_caps_set (nid_t nid, nx_flags_t *data) |
Set network context capabilities. | |
int | nx_caps_get (nid_t nid, nx_flags_t *data) |
Get network context capabilities. | |
int | nx_sock_stat (nid_t nid, nx_sock_stat_t *data) |
Get network socket accounting data. |