#include <arpa/inet.h>
#include <errno.h>
#include <libvirt/libvirt.h>
#include <libvirt/virterror.h>
#include <net/if.h>
#include <linux/if_tun.h>
#include <boost/lexical_cast.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <pugixml/pugixml.hpp>
#include <fstream>
#include "cfg/cfg_init.h"
#include "oper/libvirt_instance_adapter.h"
#include "oper/service_instance.h"
#include "oper/instance_task.h"
#include "oper/interface_common.h"
#include "base/address.h"
#include "base/logging.h"
Go to the source code of this file.
static bool alloc_tap_interface |
( |
const char * |
devname, |
|
|
int |
flags |
|
) |
| |
|
static |
static bool close_descriptor |
( |
int |
fd | ) |
|
|
static |
static bool destroy_tap_interface |
( |
const char * |
devname | ) |
|
|
static |
static xml_node get_or_create_node |
( |
xml_node * |
parent, |
|
|
const std::string & |
child_name |
|
) |
| |
|
static |