A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::Ipv6OptionHeader::Alignment Struct Reference

represents the alignment requirements of an option header More...

#include <ipv6-option-header.h>

Public Attributes

uint8_t factor
 
uint8_t offset
 

Detailed Description

represents the alignment requirements of an option header

Represented as factor*n+offset (eg. 8n+2) See RFC 2460. No alignment is represented as 1n+0.

Definition at line 46 of file ipv6-option-header.h.

Member Data Documentation

uint8_t ns3::Ipv6OptionHeader::Alignment::factor

Factor

Definition at line 48 of file ipv6-option-header.h.

Referenced by ns3::OptionField::CalculatePad().

uint8_t ns3::Ipv6OptionHeader::Alignment::offset

Offset

Definition at line 49 of file ipv6-option-header.h.

Referenced by ns3::OptionField::CalculatePad().


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