#include <wvaddr.h>
Inheritance diagram for WvIPAddr:
Public Methods | |
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 Methods | |
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. References binaddr. 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. References binaddr. |
|
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 459 of file wvaddr.cc. References WvEncap::IPv4. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements WvAddr. Reimplemented in WvIPNet. |
|
Implements WvAddr. Reimplemented in WvIPNet. Definition at line 391 of file wvaddr.cc. References binaddr. Referenced by WvIPPortAddr::printable, and 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. |
|
Definition at line 246 of file include/wvaddr.h. References __u32, and binaddr. Referenced by WvIPNet::bits, operator+, operator-, sockaddr, and WvIPPortAddr::WvIPPortAddr. |
|
Implements WvAddr. Reimplemented in WvIPPortAddr. |
|
Implements WvAddr. Reimplemented in WvIPPortAddr. Definition at line 480 of file wvaddr.cc. References s_addr, and sockaddr_bin. Referenced by WvInterface::addarp, WvInterface::setipaddr, WvIPPortAddr::sockaddr, and WvIPAddr. |
|
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. |
|
Reimplemented in WvIPNet. 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::base, WvIPNet::is_default, WvIPNet::is_host, operator &, operator^, operator|, operator~, printable, rawdata, s_addr, string_init, and WvIPAddr. |