dca_interface
6.3.4
|
#include <ipr_ipdata.h>
Definition of the Ipv4 class.
The Ipv4 class defines a class that is used for classification of IP version 4 addresses.
Definition at line 65 of file ipr_ipdata.h.
Public Member Functions | |
Ipv4 (unsigned int ipaddr) | |
Constructs an Ipv4 class with a given numeric IP address of IPv4. More... | |
Ipv4 (const char *buffer, size_t buffer_len) | |
Constructs an Ipv4 class using a string represenatation e.g. "127.0.0.1". More... | |
Public Member Functions inherited from dca_ipr::Ip | |
Ip (const char *buffer, size_t buffer_len) | |
Constructs an Ip class with a given C-string and its length. More... | |
dca_ipr::Ipv4::Ipv4 | ( | unsigned int | ipaddr | ) |
Constructs an Ipv4 class with a given numeric IP address of IPv4.
[in] | ipaddr | Numeric representation of the IPv4 address as a 32 bit unsigned integer |
dca_ipr::Ipv4::Ipv4 | ( | const char * | buffer, |
size_t | buffer_len | ||
) |
Constructs an Ipv4 class using a string represenatation e.g. "127.0.0.1".
[in] | buffer | Constant buffer point to an ASCII 7-bit string of the IP address |
[in] | buffer_len | The length of the string the buffer points to |