#include <wvaddr.h>
Inheritance diagram for WvIPPortAddr:
Note that the rawdata() function is inherited from WvIPAddr, so it does not include the port number in the raw data.
Definition at line 389 of file wvaddr.h.
Public Member Functions | |
WvIPPortAddr () | |
WvIPPortAddr (const unsigned char _ipaddr[4], uint16_t _port=0) | |
WvIPPortAddr (const WvIPAddr &_ipaddr, uint16_t _port=0) | |
WvIPPortAddr (const char string[]) | |
WvIPPortAddr (WvStringParm string) | |
void | string_init (const char string[]) |
WvIPPortAddr (uint16_t _port) | |
WvIPPortAddr (const char string[], uint16_t _port) | |
WvIPPortAddr (struct sockaddr_in *sin) | |
virtual | ~WvIPPortAddr () |
virtual bool | comparator (const WvAddr *a2, bool first_pass=true) const |
virtual const char * | type () const |
virtual struct sockaddr * | sockaddr () const |
virtual unsigned | WvHash () const |
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 |
uint32_t | addr () const |
bool | is_zero () const |
virtual WvEncap | encap () const |
virtual size_t | sockaddr_len () const |
virtual const unsigned char * | rawdata () const |
virtual size_t | rawdata_len () const |
operator WvString () const | |
virtual bool | isbroadcast () const |
bool | operator== (const WvAddr &a2) const |
bool | operator!= (const WvAddr &a2) const |
Static Public Member Functions | |
static WvAddr * | gen (struct sockaddr *addr) |
Public Attributes | |
uint16_t | port |
unsigned char | binaddr [4] |
Protected Member Functions | |
virtual WvString | printable () const |