dca_interface
6.3.4
|
#include <ipr_ipdata.h>
Definition of the Ip class.
The Ip class defines the base class used for an IP address classification.
There are two derived classes, Ipv4 and Ipv6, which introduce special performance optimized internal functions for a known type of IP address.. If you do not know whether or not an IP address is V4 or V6 use the Ip class itself for the classification.
Definition at line 33 of file ipr_ipdata.h.
Public Member Functions | |
Ip (const char *buffer, size_t buffer_len) | |
Constructs an Ip class with a given C-string and its length. More... | |
dca_ipr::Ip::Ip | ( | const char * | buffer, |
size_t | buffer_len | ||
) |
Constructs an Ip class with a given C-string and its length.
[in] | buffer | Pointer to a char buffer that contains the IP address to use. The buffer is not copied and must exist until the classification call returns, and for the lifetime of the Ip class. |
[in] | buffer_len | The length in characters of the buffer |