dca_ipr::Ipv4 Class Reference
[IP Reputation]

#include <ipr_ipdata.h>

Inheritance diagram for dca_ipr::Ipv4:
dca_ipr::Ip

List of all members.


Detailed Description

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.
 Ipv4 (const char *buffer, size_t buffer_len)
 Constructs an Ipv4 class using a string represenatation e.g. "127.0.0.1".

Constructor & Destructor Documentation

dca_ipr::Ipv4::Ipv4 ( unsigned int  ipaddr  ) 

Constructs an Ipv4 class with a given numeric IP address of IPv4.

Parameters:
[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".

Parameters:
[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
Note:
Since the buffer will not be copied it must exist until the classification call returns, and for the lifetime of the Ipv4 class.

The documentation for this class was generated from the following file:

Generated on 26 Sep 2016 for dca_interface by  doxygen 1.6.1