|
AFI
Advanced Forwarding Interface
|
![]() |
Data class for IPv6 addresses. More...
#include <AftData.h>
Public Types | |
|
typedef std::shared_ptr < AftDataIP6Addr > | Ptr |
| Pointer type for all AftData IPv6 addresses. | |
Public Member Functions | |
| AftDataIP6Addr (AftDataBytes newAddress) | |
| Constructor for IPv6 address. More... | |
| AftDataIP6Addr (uint8_t *newAddress, uint32_t newBitLength) | |
| Constructor for IPv6 address. More... | |
| AftDataIP6Addr (uint8_t *newAddress) | |
| Constructor for IPv6 address. More... | |
| AftDataIP6Addr (std::string prefixString) | |
| Constructor for IPv6 address. More... | |
| const AftDataBytes & | data () const |
| const uint8_t * | dataArray () const |
| virtual uint32_t | append (AftDataBytes &aData) |
| Append contents of data object to AftDataBytes vector. More... | |
| virtual const std::string | dataClass () const |
| virtual std::ostream & | description (std::ostream &os) const |
| Append a description of the data to an output stream. More... | |
| virtual int | compare (const AftData &aData) const |
| Compare data. More... | |
Public Member Functions inherited from AftData | |
| AftData (uint32_t newBitLength) | |
| Base constructor for data objects. More... | |
| const uint32_t | bitLength () const |
| const uint32_t | byteLength () const |
| bool | operator== (const AftData &aData) const |
| Comparator for data. More... | |
Static Public Member Functions | |
| static AftDataIP6Addr::Ptr | create (AftDataBytes newAddress) |
| Factory generator for IPv6 address. More... | |
| static AftDataIP6Addr::Ptr | create (uint8_t *newAddress, uint32_t newBitLength) |
| Factory generator for IPv6 address. More... | |
| static AftDataIP6Addr::Ptr | create (std::string prefixString) |
| Factory generator for IPv4 address. More... | |
Protected Attributes | |
| AftDataBytes | _data |
| Encapsulated IP6 address. | |
Protected Attributes inherited from AftData | |
| uint32_t | _bitLength |
| Size of encapsulated data in bits. | |
Additional Inherited Members | |
Protected Member Functions inherited from AftData | |
| void | setBitLength (uint32_t newBitLength) |
| Set the bitlength of the data. More... | |
Data class for IPv6 addresses.
|
inline |
Constructor for IPv6 address.
| [in] | newAddress | IPv6 address as a byte vector to represent in data |
|
inline |
Constructor for IPv6 address.
| [in] | newAddress | IPv6 address as a C-style byte array to represent in data |
| [in] | newBitLength | Length of IPv6 address in bits (i.e. subnet length) |
|
inline |
Constructor for IPv6 address.
| [in] | newAddress | IPv6 address as a C-style byte array to represent in data |
|
inline |
Constructor for IPv6 address.
| [in] | prefixString | IPv6 address as a standard-notation string to represent in data |
|
inlinevirtual |
Append contents of data object to AftDataBytes vector.
| [in] | data | Reference to AftDataBytes vector to append to |
Reimplemented from AftData.
|
inlinevirtual |
Compare data.
| [in] | aData | Reference to data to compare against |
Reimplemented from AftData.
|
inlinestatic |
Factory generator for IPv6 address.
| [in] | newAddress | IPv6 address as a byte vector to represent in data |
|
inlinestatic |
Factory generator for IPv6 address.
| [in] | newAddress | IPv6 address as a C-style byte array to represent in data |
| [in] | newBitLength | Length of IPv6 address in bits (i.e. subnet length) |
|
inlinestatic |
Factory generator for IPv4 address.
| [in] | prefixString | IPv4 address as a dot-notation string to represent in data |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from AftData.
|
inlinevirtual |
Append a description of the data to an output stream.
| [in] | os | Reference to output stream to append description to |
Reimplemented from AftData.
1.8.6