OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Dhcpv6Handler::Dhcpv6OptionHandler Struct Reference

#include <dhcpv6_handler.h>

Inheritance diagram for Dhcpv6Handler::Dhcpv6OptionHandler:
Collaboration diagram for Dhcpv6Handler::Dhcpv6OptionHandler:

Public Member Functions

 Dhcpv6OptionHandler (uint8_t *ptr)
 
void WriteData (uint8_t c, uint8_t l, const void *d, uint16_t *optlen)
 
void AppendData (uint16_t l, const void *d, uint16_t *optlen)
 
uint16_t GetCode () const
 
uint16_t GetLen () const
 
uint16_t GetFixedLen () const
 
uint8_t * GetData ()
 
void SetCode (uint16_t c)
 
void SetLen (uint16_t l)
 
void AddLen (uint16_t l)
 
void SetNextOptionPtr (uint16_t optlen)
 
void SetDhcpOptionPtr (uint8_t *ptr)
 
- Public Member Functions inherited from DhcpHandlerBase::DhcpOptionHandler
virtual ~DhcpOptionHandler ()
 

Public Attributes

uint8_t * dhcp_option_ptr
 
Dhcpv6Optionsoption
 

Static Public Attributes

static const uint16_t kDhcpOptionFixedLen = 4
 

Detailed Description

Definition at line 240 of file dhcpv6_handler.h.

Constructor & Destructor Documentation

Dhcpv6Handler::Dhcpv6OptionHandler::Dhcpv6OptionHandler ( uint8_t *  ptr)
inlineexplicit

Definition at line 243 of file dhcpv6_handler.h.

Member Function Documentation

void Dhcpv6Handler::Dhcpv6OptionHandler::AddLen ( uint16_t  l)
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 256 of file dhcpv6_handler.h.

Here is the call graph for this function:

void Dhcpv6Handler::Dhcpv6OptionHandler::AppendData ( uint16_t  l,
const void *  d,
uint16_t *  optlen 
)
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 247 of file dhcpv6_handler.h.

Here is the call graph for this function:

uint16_t Dhcpv6Handler::Dhcpv6OptionHandler::GetCode ( ) const
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 250 of file dhcpv6_handler.h.

uint8_t* Dhcpv6Handler::Dhcpv6OptionHandler::GetData ( )
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 253 of file dhcpv6_handler.h.

uint16_t Dhcpv6Handler::Dhcpv6OptionHandler::GetFixedLen ( ) const
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 252 of file dhcpv6_handler.h.

uint16_t Dhcpv6Handler::Dhcpv6OptionHandler::GetLen ( ) const
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 251 of file dhcpv6_handler.h.

void Dhcpv6Handler::Dhcpv6OptionHandler::SetCode ( uint16_t  c)
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 254 of file dhcpv6_handler.h.

void Dhcpv6Handler::Dhcpv6OptionHandler::SetDhcpOptionPtr ( uint8_t *  ptr)
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 260 of file dhcpv6_handler.h.

void Dhcpv6Handler::Dhcpv6OptionHandler::SetLen ( uint16_t  l)
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 255 of file dhcpv6_handler.h.

void Dhcpv6Handler::Dhcpv6OptionHandler::SetNextOptionPtr ( uint16_t  optlen)
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 257 of file dhcpv6_handler.h.

void Dhcpv6Handler::Dhcpv6OptionHandler::WriteData ( uint8_t  c,
uint8_t  l,
const void *  d,
uint16_t *  optlen 
)
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 244 of file dhcpv6_handler.h.

Here is the call graph for this function:

Member Data Documentation

uint8_t* Dhcpv6Handler::Dhcpv6OptionHandler::dhcp_option_ptr

Definition at line 262 of file dhcpv6_handler.h.

const uint16_t Dhcpv6Handler::Dhcpv6OptionHandler::kDhcpOptionFixedLen = 4
static

Definition at line 241 of file dhcpv6_handler.h.

Dhcpv6Options* Dhcpv6Handler::Dhcpv6OptionHandler::option

Definition at line 263 of file dhcpv6_handler.h.


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