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

#include <dhcp_handler.h>

Inheritance diagram for DhcpHandler::Dhcpv4OptionHandler:
Collaboration diagram for DhcpHandler::Dhcpv4OptionHandler:

Public Member Functions

 Dhcpv4OptionHandler (uint8_t *ptr)
 
void WriteData (uint8_t c, uint8_t l, const void *d, uint16_t *optlen)
 
void WriteByte (uint8_t c, 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
 
Dhcpv4Optionsoption
 

Static Public Attributes

static const uint16_t kDhcpOptionFixedLen = 2
 

Detailed Description

Definition at line 279 of file dhcp_handler.h.

Constructor & Destructor Documentation

DhcpHandler::Dhcpv4OptionHandler::Dhcpv4OptionHandler ( uint8_t *  ptr)
inlineexplicit

Definition at line 282 of file dhcp_handler.h.

Member Function Documentation

void DhcpHandler::Dhcpv4OptionHandler::AddLen ( uint16_t  l)
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 298 of file dhcp_handler.h.

void DhcpHandler::Dhcpv4OptionHandler::AppendData ( uint16_t  l,
const void *  d,
uint16_t *  optlen 
)
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 289 of file dhcp_handler.h.

Here is the call graph for this function:

uint16_t DhcpHandler::Dhcpv4OptionHandler::GetCode ( ) const
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 292 of file dhcp_handler.h.

uint8_t* DhcpHandler::Dhcpv4OptionHandler::GetData ( )
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 295 of file dhcp_handler.h.

uint16_t DhcpHandler::Dhcpv4OptionHandler::GetFixedLen ( ) const
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 294 of file dhcp_handler.h.

uint16_t DhcpHandler::Dhcpv4OptionHandler::GetLen ( ) const
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 293 of file dhcp_handler.h.

void DhcpHandler::Dhcpv4OptionHandler::SetCode ( uint16_t  c)
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 296 of file dhcp_handler.h.

void DhcpHandler::Dhcpv4OptionHandler::SetDhcpOptionPtr ( uint8_t *  ptr)
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 302 of file dhcp_handler.h.

void DhcpHandler::Dhcpv4OptionHandler::SetLen ( uint16_t  l)
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 297 of file dhcp_handler.h.

void DhcpHandler::Dhcpv4OptionHandler::SetNextOptionPtr ( uint16_t  optlen)
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 299 of file dhcp_handler.h.

void DhcpHandler::Dhcpv4OptionHandler::WriteByte ( uint8_t  c,
uint16_t *  optlen 
)
inline

Definition at line 286 of file dhcp_handler.h.

Here is the call graph for this function:

void DhcpHandler::Dhcpv4OptionHandler::WriteData ( uint8_t  c,
uint8_t  l,
const void *  d,
uint16_t *  optlen 
)
inlinevirtual

Implements DhcpHandlerBase::DhcpOptionHandler.

Definition at line 283 of file dhcp_handler.h.

Here is the call graph for this function:

Member Data Documentation

uint8_t* DhcpHandler::Dhcpv4OptionHandler::dhcp_option_ptr

Definition at line 304 of file dhcp_handler.h.

const uint16_t DhcpHandler::Dhcpv4OptionHandler::kDhcpOptionFixedLen = 2
static

Definition at line 280 of file dhcp_handler.h.

Dhcpv4Options* DhcpHandler::Dhcpv4OptionHandler::option

Definition at line 305 of file dhcp_handler.h.


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