blocxx
|
#include <NwIface.hpp>
Public Member Functions | |
NwIface () | |
String | getName () |
unsigned long | getIPAddress () |
String | getIPAddressString () |
unsigned long | getBroadcastAddress () |
String | getBroadcastAddressString () |
unsigned long | getNetmask () |
String | getNetmaskString () |
bool | sameNetwork (unsigned long addr) |
bool | sameNetwork (const String &straddr) |
Static Public Member Functions | |
static unsigned long | stringToAddress (const String &straddr) |
Private Member Functions | |
void | getInterfaceName (SocketHandle_t sockfd) |
Private Attributes | |
unsigned long | m_addr |
unsigned long | m_bcastAddr |
unsigned long | m_netmask |
String | m_name |
Definition at line 60 of file NwIface.hpp.
usr src packages BUILD blocxx src blocxx NwIface cpp usr src packages BUILD blocxx src blocxx NwIface cpp BLOCXX_NAMESPACE::NwIface::NwIface | ( | ) |
SocketException |
Definition at line 111 of file NwIface.cpp.
unsigned long BLOCXX_NAMESPACE::NwIface::getBroadcastAddress | ( | ) |
Definition at line 180 of file NwIface.cpp.
String BLOCXX_NAMESPACE::NwIface::getBroadcastAddressString | ( | ) |
Definition at line 186 of file NwIface.cpp.
void BLOCXX_NAMESPACE::NwIface::getInterfaceName | ( | SocketHandle_t | sockfd | ) | [private] |
SocketException |
Definition at line 230 of file NwIface.cpp.
unsigned long BLOCXX_NAMESPACE::NwIface::getIPAddress | ( | ) |
Definition at line 168 of file NwIface.cpp.
String BLOCXX_NAMESPACE::NwIface::getIPAddressString | ( | ) |
Definition at line 174 of file NwIface.cpp.
String BLOCXX_NAMESPACE::NwIface::getName | ( | ) |
Definition at line 162 of file NwIface.cpp.
unsigned long BLOCXX_NAMESPACE::NwIface::getNetmask | ( | ) |
Definition at line 200 of file NwIface.cpp.
String BLOCXX_NAMESPACE::NwIface::getNetmaskString | ( | ) |
Definition at line 206 of file NwIface.cpp.
bool BLOCXX_NAMESPACE::NwIface::sameNetwork | ( | const String & | straddr | ) |
Definition at line 218 of file NwIface.cpp.
bool BLOCXX_NAMESPACE::NwIface::sameNetwork | ( | unsigned long | addr | ) |
Definition at line 212 of file NwIface.cpp.
unsigned long BLOCXX_NAMESPACE::NwIface::stringToAddress | ( | const String & | straddr | ) | [static] |
Definition at line 224 of file NwIface.cpp.
unsigned long BLOCXX_NAMESPACE::NwIface::m_addr [private] |
Definition at line 83 of file NwIface.hpp.
unsigned long BLOCXX_NAMESPACE::NwIface::m_bcastAddr [private] |
Definition at line 84 of file NwIface.hpp.
String BLOCXX_NAMESPACE::NwIface::m_name [private] |
Definition at line 87 of file NwIface.hpp.
unsigned long BLOCXX_NAMESPACE::NwIface::m_netmask [private] |
Definition at line 85 of file NwIface.hpp.