A Discrete-Event Network Simulator
API
ns3::Ipv6OptionHeader::Alignment Struct Reference

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

#include "ipv6-option-header.h"

+ Collaboration diagram for ns3::Ipv6OptionHeader::Alignment:

Public Attributes

uint8_t factor
 Factor. More...
 
uint8_t offset
 Offset. More...
 

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 47 of file ipv6-option-header.h.

Member Data Documentation

◆ factor

uint8_t ns3::Ipv6OptionHeader::Alignment::factor

Factor.

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

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

◆ offset

uint8_t ns3::Ipv6OptionHeader::Alignment::offset

Offset.

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

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


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