A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
uint8_t offset
 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 34 of file ipv6-option-header.h.

Member Data Documentation

◆ factor

uint8_t ns3::Ipv6OptionHeader::Alignment::factor

Factor.

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

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

◆ offset

uint8_t ns3::Ipv6OptionHeader::Alignment::offset

Offset.

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

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


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