SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Data Fields | Private Attributes
sipwitch::stack::subnet Class Reference

#include <server.h>

Inheritance diagram for sipwitch::stack::subnet:
Inheritance graph
[legend]
Collaboration diagram for sipwitch::stack::subnet:
Collaboration graph
[legend]

Public Member Functions

 subnet (cidr::policy **acl, const char *rule, const char *name)
 
const char * getId (void)
 
struct sockaddr * getInterface (void)
 
 operator bool ()
 
bool operator! ()
 
void up (void)
 
void down (void)
 
bool offline (void)
 

Data Fields

struct sockaddr_storage iface
 

Private Attributes

char netname [MAX_NETWORK_SIZE]
 
bool active
 

Detailed Description

Definition at line 400 of file server.h.

Constructor & Destructor Documentation

sipwitch::stack::subnet::subnet ( cidr::policy **  acl,
const char *  rule,
const char *  name 
)

Definition at line 63 of file stack.cpp.

Member Function Documentation

void sipwitch::stack::subnet::down ( void  )
inline

Definition at line 426 of file server.h.

const char* sipwitch::stack::subnet::getId ( void  )
inline

Definition at line 411 of file server.h.

struct sockaddr* sipwitch::stack::subnet::getInterface ( void  )
inline

Definition at line 414 of file server.h.

bool sipwitch::stack::subnet::offline ( void  )
inline

Definition at line 429 of file server.h.

sipwitch::stack::subnet::operator bool ( )
inline

Definition at line 417 of file server.h.

bool sipwitch::stack::subnet::operator! ( )
inline

Definition at line 420 of file server.h.

void sipwitch::stack::subnet::up ( void  )
inline

Definition at line 423 of file server.h.

Field Documentation

bool sipwitch::stack::subnet::active
private

Definition at line 404 of file server.h.

struct sockaddr_storage sipwitch::stack::subnet::iface

Definition at line 409 of file server.h.

char sipwitch::stack::subnet::netname[MAX_NETWORK_SIZE]
private

Definition at line 403 of file server.h.


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