dca_ipr::Ipv6 Class Reference
[IP Reputation]

#include <ipr_ipdata.h>

Inheritance diagram for dca_ipr::Ipv6:
dca_ipr::Ip

List of all members.


Detailed Description

Definition of the Ipv6 class.

The Ipv6 class defines a class that is used for classification of IP version 6 addresses.

Definition at line 96 of file ipr_ipdata.h.

Public Member Functions

 Ipv6 (const unsigned char ipaddr[16])
 Constructs an Ipv6 class with a 16 byte char array.
 Ipv6 (const char *buffer, size_t buffer_len)
 Constructs an Ipv6 class using a string represenatation e.g. "2001:0db8:85a3:0000:0000:8a2e:0370:7334", "fe80:0:0:0:202:b3ff:fe1e:8329", "fe80::202:b3ff:fe1e:8329".

Constructor & Destructor Documentation

dca_ipr::Ipv6::Ipv6 ( const unsigned char  ipaddr[16]  ) 

Constructs an Ipv6 class with a 16 byte char array.

Parameters:
[in] ipaddr Numeric representation of the IPv6 address
Note:
Since the buffer will not be copied it must exist until the classification call is returned, and for the lifetime of the Ipv6 class.
dca_ipr::Ipv6::Ipv6 ( const char *  buffer,
size_t  buffer_len 
)

Constructs an Ipv6 class using a string represenatation e.g. "2001:0db8:85a3:0000:0000:8a2e:0370:7334", "fe80:0:0:0:202:b3ff:fe1e:8329", "fe80::202:b3ff:fe1e:8329".

Parameters:
[in] buffer Constant buffer pointer 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 Ipv6 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