|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
Represents an IP-address and port (V4 or V6). More...
#include <GenericIPAddress.hxx>
Public Member Functions | |
| GenericIPAddress () | |
| GenericIPAddress (const sockaddr &addr) | |
| GenericIPAddress (const sockaddr_in &v4) | |
| size_t | length () const |
| bool | isVersion4 () const |
| bool | isVersion6 () const |
| bool | operator== (const GenericIPAddress &addr) const |
| bool | operator< (const GenericIPAddress &addr) const |
Public Attributes | ||
| union { | ||
| sockaddr address | ||
| sockaddr_in v4Address | ||
| char pad [28] | ||
| }; | ||
Friends | |
| EncodeStream & | operator<< (EncodeStream &strm, const GenericIPAddress &addr) |
Represents an IP-address and port (V4 or V6).
Definition at line 22 of file GenericIPAddress.hxx.
|
inline |
Definition at line 25 of file GenericIPAddress.hxx.
|
inline |
Definition at line 29 of file GenericIPAddress.hxx.
|
inline |
Definition at line 43 of file GenericIPAddress.hxx.
|
inline |
Definition at line 69 of file GenericIPAddress.hxx.
|
inline |
Definition at line 74 of file GenericIPAddress.hxx.
|
inline |
Definition at line 53 of file GenericIPAddress.hxx.
|
inline |
Definition at line 115 of file GenericIPAddress.hxx.
|
inline |
Definition at line 92 of file GenericIPAddress.hxx.
|
friend |
| union { ... } resip::GenericIPAddress |
| sockaddr resip::GenericIPAddress::address |
Definition at line 84 of file GenericIPAddress.hxx.
| char resip::GenericIPAddress::pad[28] |
Definition at line 89 of file GenericIPAddress.hxx.
| sockaddr_in resip::GenericIPAddress::v4Address |
Definition at line 85 of file GenericIPAddress.hxx.