0.01.00
dhcp6.hpp File Reference

This file includes definitions for DHCPv6 Service. More...

#include "openthread-core-config.h"
#include "common/message.hpp"
#include "net/udp6.hpp"

Go to the source code of this file.

Classes

class  ot::Dhcp6::Dhcp6Header
 This class implements DHCPv6 header. More...
 
class  ot::Dhcp6::Dhcp6Option
 This class implements DHCPv6 option. More...
 
class  ot::Dhcp6::ClientIdentifier
 
class  ot::Dhcp6::ServerIdentifier
 
class  ot::Dhcp6::IaNa
 
class  ot::Dhcp6::IaAddress
 
class  ot::Dhcp6::ElapsedTime
 
class  ot::Dhcp6::StatusCode
 
class  ot::Dhcp6::RapidCommit
 

Typedefs

typedef enum ot::Dhcp6::Type ot::Dhcp6::Type
 DHCPv6 Message Types. More...
 
typedef enum ot::Dhcp6::Code ot::Dhcp6::Code
 DHCPv6 Option Codes. More...
 
typedef enum ot::Dhcp6::DuidType ot::Dhcp6::DuidType
 Duid Type. More...
 
typedef enum ot::Dhcp6::Status ot::Dhcp6::Status
 Status Code. More...
 

Enumerations

enum  {
  kDhcpClientPort = 546,
  kDhcpServerPort = 547,
  kTransactionIdSize = 3,
  kLinkLayerAddressLen = 8,
  kHardwareTypeEui64 = 27
}
 DHCPv6 constant. More...
 
enum  ot::Dhcp6::Type {
  kTypeSolicit = 1,
  kTypeAdvertise = 2,
  kTypeRequest = 3,
  kTypeConfirm = 4,
  kTypeRenew = 5,
  kTypeRebind = 6,
  kTypeReply = 7,
  kTypeRelease = 8,
  kTypeDecline = 9,
  kTypeReconfigure = 10,
  kTypeInformationRequest = 11,
  kTypeRelayForward = 12,
  kTypeRelayReply = 13,
  kTypeLeaseQuery = 14,
  kTypeLeaseQueryReply = 15
}
 DHCPv6 Message Types. More...
 
enum  ot::Dhcp6::Code {
  kOptionClientIdentifier = 1,
  kOptionServerIdentifier = 2,
  kOptionIaNa = 3,
  kOptionIaTa = 4,
  kOptionIaAddress = 5,
  kOptionRequestOption = 6,
  kOptionPreference = 7,
  kOptionElapsedTime = 8,
  kOptionRelayMessage = 9,
  kOptionAuthentication = 11,
  kOptionServerUnicast = 12,
  kOptionStatusCode = 13,
  kOptionRapidCommit = 14,
  kOptionUserClass = 15,
  kOptionVendorClass = 16,
  kOptionVendorSpecificInformation = 17,
  kOptionInterfaceId = 18,
  kOptionReconfigureMessage = 19,
  kOptionReconfigureAccept = 20,
  kOptionLeaseQuery = 44,
  kOptionClientData = 45,
  kOptionClientLastTransactionTime = 46
}
 DHCPv6 Option Codes. More...
 
enum  ot::Dhcp6::DuidType {
  kDuidLLT = 1,
  kDuidEN = 2,
  kDuidLL = 3
}
 Duid Type. More...
 
enum  ot::Dhcp6::Status {
  kStatusSuccess = 0,
  kStatusUnspecFail = 1,
  kStatusNoAddrsAvail = 2,
  kStatusNoBinding = 3,
  kStatusNotOnLink = 4,
  kStatusUseMulticast = 5,
  kUnknownQueryType = 7,
  kMalformedQuery = 8,
  kNotConfigured = 9,
  kNotAllowed = 10
}
 Status Code. More...
 

Variables

OT_TOOL_PACKED_BEGIN class ot::Dhcp6::Dhcp6Header ot::Dhcp6::OT_TOOL_PACKED_END
 

Detailed Description

This file includes definitions for DHCPv6 Service.