#include <wvaddr.h>
Inheritance diagram for WvIPAddr:
Public Member Functions | |
WvIPAddr (const unsigned char _binaddr[4]) | |
WvIPAddr (const __u32 _binaddr=0) | |
WvIPAddr (const char string[]) | |
WvIPAddr (const WvString &string) | |
void | string_init (const char string[]) |
WvIPAddr (const struct sockaddr *addr) | |
WvIPAddr (const WvIPAddr &_addr) | |
virtual | ~WvIPAddr () |
WvIPAddr | operator & (const WvIPAddr &a2) const |
WvIPAddr | operator| (const WvIPAddr &a2) const |
WvIPAddr | operator^ (const WvIPAddr &a2) const |
WvIPAddr | operator~ () const |
WvIPAddr | operator+ (int n) const |
WvIPAddr | operator- (int n) const |
__u32 | s_addr () const |
virtual WvEncap | encap () const |
virtual struct sockaddr * | sockaddr () const |
virtual size_t | sockaddr_len () const |
virtual const unsigned char * | rawdata () const |
virtual size_t | rawdata_len () const |
WvIPAddr (const unsigned char _binaddr[4]) | |
WvIPAddr (const __u32 _binaddr=0) | |
WvIPAddr (const char string[]) | |
WvIPAddr (const WvString &string) | |
void | string_init (const char string[]) |
WvIPAddr (const struct sockaddr *addr) | |
WvIPAddr (const WvIPAddr &_addr) | |
virtual | ~WvIPAddr () |
WvIPAddr | operator & (const WvIPAddr &a2) const |
WvIPAddr | operator| (const WvIPAddr &a2) const |
WvIPAddr | operator^ (const WvIPAddr &a2) const |
WvIPAddr | operator~ () const |
WvIPAddr | operator+ (int n) const |
WvIPAddr | operator- (int n) const |
__u32 | s_addr () const |
virtual WvEncap | encap () const |
virtual struct sockaddr * | sockaddr () const |
virtual size_t | sockaddr_len () const |
virtual const unsigned char * | rawdata () const |
virtual size_t | rawdata_len () const |
Public Attributes | |
unsigned char | binaddr [4] |
Protected Member Functions | |
virtual WvString | printable () const |
virtual WvString | printable () const |
We don't support automatic name lookups yet, but this will be the place to do it when support is added.
Definition at line 217 of file include/wvaddr.h.
|
Definition at line 224 of file include/wvaddr.h. Referenced by WvIPNet::base(), WvIPNet::normalize(), operator &(), operator+(), operator-(), operator^(), operator|(), operator~(), WvIPNet::string_init(), and WvIPNet::WvIPNet(). |
|
Definition at line 226 of file include/wvaddr.h. |
|
Definition at line 228 of file include/wvaddr.h. References string_init(). |
|
Definition at line 230 of file include/wvaddr.h. References string_init(). |
|
Definition at line 233 of file include/wvaddr.h. |
|
Definition at line 236 of file include/wvaddr.h. References binaddr. |
|
|
|
Definition at line 224 of file ipstreams/wvaddr.h. |
|
Definition at line 226 of file ipstreams/wvaddr.h. |
|
Definition at line 228 of file ipstreams/wvaddr.h. References string_init(). |
|
Definition at line 230 of file ipstreams/wvaddr.h. References string_init(). |
|
Definition at line 233 of file ipstreams/wvaddr.h. |
|
Definition at line 236 of file ipstreams/wvaddr.h. References binaddr. |
|
|
|
Implements WvAddr. |
|
Implements WvAddr. |
|
|
|
Definition at line 399 of file wvaddr.cc. References binaddr, and WvIPAddr(). |
|
|
|
Definition at line 445 of file wvaddr.cc. References __u32, s_addr(), and WvIPAddr(). |
|
|
|
Definition at line 452 of file wvaddr.cc. References __u32, s_addr(), and WvIPAddr(). |
|
|
|
Definition at line 421 of file wvaddr.cc. References binaddr, and WvIPAddr(). |
|
|
|
Definition at line 410 of file wvaddr.cc. References binaddr, and WvIPAddr(). |
|
|
|
Definition at line 432 of file wvaddr.cc. References binaddr, and WvIPAddr(). |
|
Implements WvAddr. Reimplemented in WvIPNet, WvIPPortAddr, WvIPNet, and WvIPPortAddr. |
|
Implements WvAddr. Reimplemented in WvIPNet, WvIPPortAddr, WvIPNet, and WvIPPortAddr. Definition at line 391 of file wvaddr.cc. Referenced by WvIPNet::printable(). |
|
Reimplemented from WvAddr. |
|
Reimplemented from WvAddr. Definition at line 465 of file wvaddr.cc. References binaddr. |
|
Reimplemented from WvAddr. |
|
Reimplemented from WvAddr. |
|
Definition at line 246 of file ipstreams/wvaddr.h. References __u32. |
|
Definition at line 246 of file include/wvaddr.h. References __u32. Referenced by WvIPNet::bits(), operator+(), operator-(), sockaddr(), and WvIPPortAddr::WvIPPortAddr(). |
|
Implements WvAddr. Reimplemented in WvIPPortAddr, and WvIPPortAddr. |
|
Implements WvAddr. Reimplemented in WvIPPortAddr, and WvIPPortAddr. Definition at line 480 of file wvaddr.cc. References s_addr(), and sockaddr_bin. Referenced by WvInterface::addarp(), WvInterface::setipaddr(), and WvIPPortAddr::sockaddr(). |
|
Implements WvAddr. |
|
Implements WvAddr. Definition at line 492 of file wvaddr.cc. Referenced by WvInterface::addarp(), WvTCPConn::do_connect(), WvTCPConn::post_select(), WvInterface::setipaddr(), WvUDPStream::uwrite(), WvTCPListener::WvTCPListener(), and WvUDPStream::WvUDPStream(). |
|
Reimplemented in WvIPNet, WvIPPortAddr, WvIPNet, and WvIPPortAddr. |
|
Reimplemented in WvIPNet, WvIPPortAddr, WvIPNet, and WvIPPortAddr. Definition at line 366 of file wvaddr.cc. References binaddr. Referenced by WvIPAddr(). |
|
Definition at line 222 of file ipstreams/wvaddr.h. Referenced by WvIPNet::is_default(), WvIPNet::is_host(), operator &(), operator^(), operator|(), operator~(), rawdata(), string_init(), and WvIPAddr(). |