All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
CHardwareConfig Class Reference

#include <HardwareConfig.h>

Collaboration diagram for CHardwareConfig:
Collaboration graph

Public Types

enum  EEnvironment {
  ENV_SIMPLE_EXECUTIVE = 0, ENV_LINUX_NO_ETHERNET_DRIVER = 1, ENV_LINUX_OCTEON_ETHERNET_DRIVER = 2, ENV_LINUX_VSN_TAP_DRIVER = 3,
  ENV_LINUX_PHACT_TAP_DRIVER = 4, ENV_UNKOWN_ENVIRONMENT = 15
}
 

Public Member Functions

bool Open (int iPacketBuffers=0, int iWqeBuffers=0, int iPkoBuffers=0, int iTimBuffers=0, int iDFABuffers=0)
 
void Close (void)
 
void BackupConfig (void)
 
void RestoreConfig (void)
 

Static Public Member Functions

static const charPoolExtraToString (int iPool)
 
static const charEnvironmentToString (enum EEnvironment eEnvironment)
 
static bool IsLinux (void)
 
static bool IsVsnTapDriverActive (void)
 
static bool IsPhactTapDriverActive (void)
 
static bool IsOcteonEthernetDriverActive (void)
 
static EEnvironment GetEnvironment (void)
 
static void Ipd (bool bEnable)
 

Detailed Description

Definition at line 12 of file HardwareConfig.h.

Member Enumeration Documentation

Enumerator
ENV_SIMPLE_EXECUTIVE 
ENV_LINUX_NO_ETHERNET_DRIVER 
ENV_LINUX_OCTEON_ETHERNET_DRIVER 
ENV_LINUX_VSN_TAP_DRIVER 
ENV_LINUX_PHACT_TAP_DRIVER 
ENV_UNKOWN_ENVIRONMENT 

Definition at line 18 of file HardwareConfig.h.

Member Function Documentation

void CHardwareConfig::BackupConfig ( void  )
void CHardwareConfig::Close ( void  )
static const char* CHardwareConfig::EnvironmentToString ( enum EEnvironment  eEnvironment)
inlinestatic

Definition at line 39 of file HardwareConfig.h.

static EEnvironment CHardwareConfig::GetEnvironment ( void  )
static
static void CHardwareConfig::Ipd ( bool  bEnable)
static
static bool CHardwareConfig::IsLinux ( void  )
static
static bool CHardwareConfig::IsOcteonEthernetDriverActive ( void  )
static
static bool CHardwareConfig::IsPhactTapDriverActive ( void  )
static
static bool CHardwareConfig::IsVsnTapDriverActive ( void  )
static
bool CHardwareConfig::Open ( int  iPacketBuffers = 0,
int  iWqeBuffers = 0,
int  iPkoBuffers = 0,
int  iTimBuffers = 0,
int  iDFABuffers = 0 
)
static const char* CHardwareConfig::PoolExtraToString ( int  iPool)
inlinestatic

Definition at line 28 of file HardwareConfig.h.

void CHardwareConfig::RestoreConfig ( void  )

The documentation for this class was generated from the following file: