Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

PANA_DeviceId Class Reference

#include <pana_device_id.h>

List of all members.

Public Types

enum  TYPE { UNKNOWN = 0, IPV4_ADDRESS = 1, IPV6_ADDRESS = 2, LL_ADDRESS = 3 }

Public Member Functions

 PANA_DeviceId (PANA_DeviceId::TYPE type, std::string &id)
 PANA_DeviceId (PANA_DeviceId::TYPE type)
void type (PANA_DeviceId::TYPE t)
PANA_DeviceId::TYPE type ()
const std::string & id ()
bool operator== (PANA_DeviceId &cmp)
PANA_DeviceIdoperator= (PANA_DeviceId &src)

Protected Attributes

TYPE m_Type
std::string m_Id


Detailed Description

9.4.2 Device-Id AVP

The first octet (8 bits) of the Device-Id (Code 1025) AVP data contains the device type. Rest of the AVP data payload contains the device data. The content and format of data (including byte and bit ordering) is expected to be specified in specific documents. For instance, [IPv6-ETHER].

UNKNOWN 0 IPV4_ADDRESS 1 IPV6_ADDRESS 2 LL_ADDRESS 3

For type 1 (IPv4 address), data size is 32 bits and for type 2 (IPv6 address), data size is 128 bits.

Definition at line 58 of file pana_device_id.h.


The documentation for this class was generated from the following file:
Generated on Fri Jun 25 19:18:30 2004 for PANA by doxygen 1.3.5