Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

VBoxNetAdpCtl.cpp File Reference


Detailed Description

Apps - VBoxAdpCtl, Configuration tool for vboxnetX adapters.

Definition in file VBoxNetAdpCtl.cpp.

#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/wait.h>

Go to the source code of this file.

Defines

#define MAX_ADDRESSES   128
#define MAX_ADDRLEN   64
#define VBOXADPCTL_DEL_CMD   "delete"
#define VBOXADPCTL_IFCONFIG_PATH   "/sbin/ifconfig"

Functions

static int executeIfconfig (const char *pcszAdapterName, const char *pcszArg1, const char *pcszArg2=NULL, const char *pcszArg3=NULL, const char *pcszArg4=NULL, const char *pcszArg5=NULL)
int main (int argc, char *argv[])
static bool removeAddresses (const char *pszAdapterName)
static void showUsage (void)


Generated by  Doxygen 1.6.0   Back to index