A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::RadvdInterface Class Reference

Radvd interface configuration. More...

#include "radvd-interface.h"

+ Inheritance diagram for ns3::RadvdInterface:
+ Collaboration diagram for ns3::RadvdInterface:

Public Types

typedef std::list< Ptr< RadvdPrefix > > RadvdPrefixList
 Container: Ptr to RadvdPrefix.
 
typedef std::list< Ptr< RadvdPrefix > >::const_iterator RadvdPrefixListCI
 Container Const Iterator: Ptr to RadvdPrefix.
 
typedef std::list< Ptr< RadvdPrefix > >::iterator RadvdPrefixListI
 Container Iterator: Ptr to RadvdPrefix.
 

Public Member Functions

 RadvdInterface (uint32_t interface)
 Constructor.
 
 RadvdInterface (uint32_t interface, uint32_t maxRtrAdvInterval, uint32_t minRtrAdvInterval)
 Constructor.
 
 ~RadvdInterface ()
 Destructor.
 
void AddPrefix (Ptr< RadvdPrefix > routerPrefix)
 Add a prefix to advertise on interface.
 
uint8_t GetCurHopLimit () const
 Get current hop limit.
 
uint32_t GetDefaultLifeTime () const
 Get default lifetime.
 
uint8_t GetDefaultPreference () const
 Get default preference.
 
uint32_t GetHomeAgentLifeTime () const
 Get home agent lifetime.
 
uint32_t GetHomeAgentPreference () const
 Get home agent preference.
 
uint32_t GetInterface () const
 Get interface index for this configuration.
 
Time GetLastRaTxTime ()
 Get the last time a RA has been sent.
 
uint32_t GetLinkMtu () const
 Get link MTU.
 
uint32_t GetMaxRtrAdvInterval () const
 Get maximum RA interval.
 
uint32_t GetMinDelayBetweenRAs () const
 Get minimum delay between RAs.
 
uint32_t GetMinRtrAdvInterval () const
 Get minimum RA interval.
 
RadvdPrefixList GetPrefixes () const
 Get list of prefixes advertised for this interface.
 
uint32_t GetReachableTime () const
 Get reachable time.
 
uint32_t GetRetransTimer () const
 Get retransmission timer.
 
bool IsHomeAgentFlag () const
 Is "home agent" flag enabled ?
 
bool IsHomeAgentInfo () const
 Is Home Agent Information option should be included in RA ?
 
bool IsInitialRtrAdv () const
 Checks if the interface is subject to the initial Rtr Advertisements rule.
 
bool IsIntervalOpt () const
 Is advertisement interval option should be included in RA ?
 
bool IsManagedFlag () const
 Is managed flag enabled ?
 
bool IsMobRtrSupportFlag () const
 Is "mobile router support" flag enabled ?
 
bool IsOtherConfigFlag () const
 Is "other config" flag enabled ?
 
bool IsSendAdvert () const
 Is send advert enabled (periodic RA and reply to RS) ?
 
bool IsSourceLLAddress () const
 Is source LLA option should be included in RA ?
 
void SetCurHopLimit (uint8_t curHopLimit)
 Set current hop limit.
 
void SetDefaultLifeTime (uint32_t defaultLifeTime)
 Set default lifetime.
 
void SetDefaultPreference (uint8_t defaultPreference)
 Set default preference.
 
void SetHomeAgentFlag (bool homeAgentFlag)
 Set "home agent" flag.
 
void SetHomeAgentInfo (bool homeAgentFlag)
 Set flag to add or not HA information option to RA.
 
void SetHomeAgentLifeTime (uint32_t homeAgentLifeTime)
 Set home agent lifetime.
 
void SetHomeAgentPreference (uint32_t homeAgentPreference)
 Set home agent preference.
 
void SetIntervalOpt (bool intervalOpt)
 Set flag to add or not advertisement interval to RA.
 
void SetLastRaTxTime (Time now)
 Set the last RA send time.
 
void SetLinkMtu (uint32_t linkMtu)
 Set link MTU.
 
void SetManagedFlag (bool managedFlag)
 Set managed flag.
 
void SetMaxRtrAdvInterval (uint32_t maxRtrAdvInterval)
 Get maximum RA interval.
 
void SetMinDelayBetweenRAs (uint32_t minDelayBetweenRAs)
 Set minimum delay between RAs.
 
void SetMinRtrAdvInterval (uint32_t minRtrAdvInterval)
 Get minimum RA interval.
 
void SetMobRtrSupportFlag (bool mobRtrSupportFlag)
 Set "mobile router support" flag.
 
void SetOtherConfigFlag (bool otherConfigFlag)
 Set "other config" flag.
 
void SetReachableTime (uint32_t reachableTime)
 Set reachable time.
 
void SetRetransTimer (uint32_t retransTimer)
 Set retransmission timer.
 
void SetSendAdvert (bool sendAdvert)
 Set send advert flag.
 
void SetSourceLLAddress (bool sourceLLAddress)
 Set flag to add or not LLA to RA.
 
- Public Member Functions inherited from ns3::SimpleRefCount< RadvdInterface >
 SimpleRefCount ()
 Default constructor.
 
 SimpleRefCount (const SimpleRefCount &o)
 Copy constructor.
 
uint32_t GetReferenceCount () const
 Get the reference count of the object.
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment operator.
 
void Ref () const
 Increment the reference count.
 
void Unref () const
 Decrement the reference count.
 

Private Attributes

uint32_t m_curHopLimit
 Current hop limit (TTL).
 
uint32_t m_defaultLifeTime
 Default life time in seconds.
 
uint8_t m_defaultPreference
 Preference associated with default router.
 
bool m_homeAgentFlag
 Flag to add HA (home agent) flag in RA.
 
bool m_homeAgentInfo
 Flag to add Home Agent Information option (Mobile IPv6).
 
uint32_t m_homeAgentLifeTime
 Home agent lifetime in seconds.
 
uint32_t m_homeAgentPreference
 Home agent preference.
 
uint8_t m_initialRtrAdvertisementsLeft
 Number of fast announcement to do.
 
uint32_t m_interface
 Interface to advertise RA.
 
bool m_intervalOpt
 Flag to add Advertisement Interval option in RA.
 
Time m_lastSendTime
 Last RA send time.
 
uint32_t m_linkMtu
 Link MTU to use.
 
bool m_managedFlag
 Managed flag.
 
uint32_t m_maxRtrAdvInterval
 Maximum RA interval in milliseconds.
 
uint32_t m_minDelayBetweenRAs
 Minimum delay between RA in milliseconds.
 
uint32_t m_minRtrAdvInterval
 Minimum RA interval in milliseconds.
 
bool m_mobRtrSupportFlag
 Flag for HA to signals it supports Mobile Router registrations (NEMO Basic).
 
bool m_otherConfigFlag
 Other configuration flag.
 
RadvdPrefixList m_prefixes
 List of prefixes to advertise.
 
uint32_t m_reachableTime
 Reachable time in milliseconds.
 
uint32_t m_retransTimer
 Retransmission timer in milliseconds.
 
bool m_sendAdvert
 Flag whether or not router sends periodic RA and respond to RS.
 
bool m_sourceLLAddress
 Flag to add link-layer address in RA.
 

Detailed Description

Radvd interface configuration.

Definition at line 26 of file radvd-interface.h.

Member Typedef Documentation

◆ RadvdPrefixList

Container: Ptr to RadvdPrefix.

Definition at line 30 of file radvd-interface.h.

◆ RadvdPrefixListCI

typedef std::list<Ptr<RadvdPrefix>>::const_iterator ns3::RadvdInterface::RadvdPrefixListCI

Container Const Iterator: Ptr to RadvdPrefix.

Definition at line 34 of file radvd-interface.h.

◆ RadvdPrefixListI

typedef std::list<Ptr<RadvdPrefix>>::iterator ns3::RadvdInterface::RadvdPrefixListI

Container Iterator: Ptr to RadvdPrefix.

Definition at line 32 of file radvd-interface.h.

Constructor & Destructor Documentation

◆ RadvdInterface() [1/2]

◆ RadvdInterface() [2/2]

ns3::RadvdInterface::RadvdInterface ( uint32_t interface,
uint32_t maxRtrAdvInterval,
uint32_t minRtrAdvInterval )

◆ ~RadvdInterface()

ns3::RadvdInterface::~RadvdInterface ( )

Destructor.

Definition at line 74 of file radvd-interface.cc.

References m_prefixes, and NS_LOG_FUNCTION.

Member Function Documentation

◆ AddPrefix()

void ns3::RadvdInterface::AddPrefix ( Ptr< RadvdPrefix > routerPrefix)

Add a prefix to advertise on interface.

Parameters
routerPrefixprefix to advertise

Definition at line 86 of file radvd-interface.cc.

References m_prefixes, and NS_LOG_FUNCTION.

◆ GetCurHopLimit()

uint8_t ns3::RadvdInterface::GetCurHopLimit ( ) const

Get current hop limit.

Returns
current hop limit for the link

Definition at line 247 of file radvd-interface.cc.

References m_curHopLimit, and NS_LOG_FUNCTION.

◆ GetDefaultLifeTime()

uint32_t ns3::RadvdInterface::GetDefaultLifeTime ( ) const

Get default lifetime.

Returns
default lifetime

Definition at line 219 of file radvd-interface.cc.

References m_defaultLifeTime, and NS_LOG_FUNCTION.

◆ GetDefaultPreference()

uint8_t ns3::RadvdInterface::GetDefaultPreference ( ) const

Get default preference.

Returns
default preference

Definition at line 261 of file radvd-interface.cc.

References m_defaultPreference, and NS_LOG_FUNCTION.

◆ GetHomeAgentLifeTime()

uint32_t ns3::RadvdInterface::GetHomeAgentLifeTime ( ) const

Get home agent lifetime.

Returns
home agent lifetime

Definition at line 317 of file radvd-interface.cc.

References m_homeAgentLifeTime, and NS_LOG_FUNCTION.

◆ GetHomeAgentPreference()

uint32_t ns3::RadvdInterface::GetHomeAgentPreference ( ) const

Get home agent preference.

Returns
home agent preference

Definition at line 331 of file radvd-interface.cc.

References m_homeAgentPreference, and NS_LOG_FUNCTION.

◆ GetInterface()

uint32_t ns3::RadvdInterface::GetInterface ( ) const

Get interface index for this configuration.

Returns
interface index

Definition at line 93 of file radvd-interface.cc.

References m_interface, and NS_LOG_FUNCTION.

◆ GetLastRaTxTime()

Time ns3::RadvdInterface::GetLastRaTxTime ( )

Get the last time a RA has been sent.

Returns
the last RA send time

Definition at line 373 of file radvd-interface.cc.

References m_lastSendTime.

◆ GetLinkMtu()

uint32_t ns3::RadvdInterface::GetLinkMtu ( ) const

Get link MTU.

Returns
link MTU

Definition at line 191 of file radvd-interface.cc.

References m_linkMtu, and NS_LOG_FUNCTION.

◆ GetMaxRtrAdvInterval()

uint32_t ns3::RadvdInterface::GetMaxRtrAdvInterval ( ) const

Get maximum RA interval.

Returns
RA interval (ms)

Definition at line 121 of file radvd-interface.cc.

References m_maxRtrAdvInterval, and NS_LOG_FUNCTION.

◆ GetMinDelayBetweenRAs()

uint32_t ns3::RadvdInterface::GetMinDelayBetweenRAs ( ) const

Get minimum delay between RAs.

Returns
minimum delay (ms)

Definition at line 149 of file radvd-interface.cc.

References m_minDelayBetweenRAs, and NS_LOG_FUNCTION.

◆ GetMinRtrAdvInterval()

uint32_t ns3::RadvdInterface::GetMinRtrAdvInterval ( ) const

Get minimum RA interval.

Returns
RA interval (ms)

Definition at line 135 of file radvd-interface.cc.

References m_minRtrAdvInterval, and NS_LOG_FUNCTION.

◆ GetPrefixes()

std::list< Ptr< RadvdPrefix > > ns3::RadvdInterface::GetPrefixes ( ) const

Get list of prefixes advertised for this interface.

Returns
list of IPv6 prefixes

Definition at line 100 of file radvd-interface.cc.

References m_prefixes, and NS_LOG_FUNCTION.

Referenced by RadvdTestCase::DoRun().

+ Here is the caller graph for this function:

◆ GetReachableTime()

uint32_t ns3::RadvdInterface::GetReachableTime ( ) const

Get reachable time.

Returns
reachable time

Definition at line 205 of file radvd-interface.cc.

References m_reachableTime, and NS_LOG_FUNCTION.

◆ GetRetransTimer()

uint32_t ns3::RadvdInterface::GetRetransTimer ( ) const

Get retransmission timer.

Returns
retransmission timer

Definition at line 233 of file radvd-interface.cc.

References m_retransTimer, and NS_LOG_FUNCTION.

◆ IsHomeAgentFlag()

bool ns3::RadvdInterface::IsHomeAgentFlag ( ) const

Is "home agent" flag enabled ?

Returns
"home agent" flag

Definition at line 289 of file radvd-interface.cc.

References m_homeAgentFlag, and NS_LOG_FUNCTION.

◆ IsHomeAgentInfo()

bool ns3::RadvdInterface::IsHomeAgentInfo ( ) const

Is Home Agent Information option should be included in RA ?

Returns
true if HA information option is added in RA, false otherwise

Definition at line 303 of file radvd-interface.cc.

References m_homeAgentInfo, and NS_LOG_FUNCTION.

◆ IsInitialRtrAdv()

bool ns3::RadvdInterface::IsInitialRtrAdv ( ) const

Checks if the interface is subject to the initial Rtr Advertisements rule.

Returns
true if the initial Rtr Advertisements counter is greater than zero.

Definition at line 389 of file radvd-interface.cc.

References m_initialRtrAdvertisementsLeft.

◆ IsIntervalOpt()

bool ns3::RadvdInterface::IsIntervalOpt ( ) const

Is advertisement interval option should be included in RA ?

Returns
true if advertisement interval option is added in RA, false otherwise

Definition at line 359 of file radvd-interface.cc.

References m_intervalOpt, and NS_LOG_FUNCTION.

◆ IsManagedFlag()

bool ns3::RadvdInterface::IsManagedFlag ( ) const

Is managed flag enabled ?

Returns
managed flag

Definition at line 163 of file radvd-interface.cc.

References m_managedFlag, and NS_LOG_FUNCTION.

◆ IsMobRtrSupportFlag()

bool ns3::RadvdInterface::IsMobRtrSupportFlag ( ) const

Is "mobile router support" flag enabled ?

Returns
"mobile router support" flag

Definition at line 345 of file radvd-interface.cc.

References m_mobRtrSupportFlag, and NS_LOG_FUNCTION.

◆ IsOtherConfigFlag()

bool ns3::RadvdInterface::IsOtherConfigFlag ( ) const

Is "other config" flag enabled ?

Returns
other config flag

Definition at line 177 of file radvd-interface.cc.

References m_otherConfigFlag, and NS_LOG_FUNCTION.

◆ IsSendAdvert()

bool ns3::RadvdInterface::IsSendAdvert ( ) const

Is send advert enabled (periodic RA and reply to RS) ?

Returns
send advert flag

Definition at line 107 of file radvd-interface.cc.

References m_sendAdvert, and NS_LOG_FUNCTION.

◆ IsSourceLLAddress()

bool ns3::RadvdInterface::IsSourceLLAddress ( ) const

Is source LLA option should be included in RA ?

Returns
true if source address is added in RA, false otherwise

Definition at line 275 of file radvd-interface.cc.

References m_sourceLLAddress, and NS_LOG_FUNCTION.

◆ SetCurHopLimit()

void ns3::RadvdInterface::SetCurHopLimit ( uint8_t curHopLimit)

Set current hop limit.

Parameters
curHopLimitcurrent hop limit for the link

Definition at line 254 of file radvd-interface.cc.

References m_curHopLimit, and NS_LOG_FUNCTION.

◆ SetDefaultLifeTime()

void ns3::RadvdInterface::SetDefaultLifeTime ( uint32_t defaultLifeTime)

Set default lifetime.

Parameters
defaultLifeTimedefault lifetime

Definition at line 226 of file radvd-interface.cc.

References m_defaultLifeTime, and NS_LOG_FUNCTION.

◆ SetDefaultPreference()

void ns3::RadvdInterface::SetDefaultPreference ( uint8_t defaultPreference)

Set default preference.

Parameters
defaultPreferencedefault preference

Definition at line 268 of file radvd-interface.cc.

References m_defaultPreference, and NS_LOG_FUNCTION.

◆ SetHomeAgentFlag()

void ns3::RadvdInterface::SetHomeAgentFlag ( bool homeAgentFlag)

Set "home agent" flag.

Parameters
homeAgentFlagvalue

Definition at line 296 of file radvd-interface.cc.

References m_homeAgentFlag, and NS_LOG_FUNCTION.

◆ SetHomeAgentInfo()

void ns3::RadvdInterface::SetHomeAgentInfo ( bool homeAgentFlag)

Set flag to add or not HA information option to RA.

Parameters
homeAgentFlagvalue

Definition at line 310 of file radvd-interface.cc.

References m_homeAgentInfo, and NS_LOG_FUNCTION.

◆ SetHomeAgentLifeTime()

void ns3::RadvdInterface::SetHomeAgentLifeTime ( uint32_t homeAgentLifeTime)

Set home agent lifetime.

Parameters
homeAgentLifeTimehome agent lifetime

Definition at line 324 of file radvd-interface.cc.

References m_homeAgentLifeTime, and NS_LOG_FUNCTION.

◆ SetHomeAgentPreference()

void ns3::RadvdInterface::SetHomeAgentPreference ( uint32_t homeAgentPreference)

Set home agent preference.

Parameters
homeAgentPreferencehome agent preference

Definition at line 338 of file radvd-interface.cc.

References m_homeAgentPreference, and NS_LOG_FUNCTION.

◆ SetIntervalOpt()

void ns3::RadvdInterface::SetIntervalOpt ( bool intervalOpt)

Set flag to add or not advertisement interval to RA.

Parameters
intervalOptvalue

Definition at line 366 of file radvd-interface.cc.

References m_intervalOpt, and NS_LOG_FUNCTION.

◆ SetLastRaTxTime()

void ns3::RadvdInterface::SetLastRaTxTime ( Time now)

Set the last RA send time.

It also decrements the initial Rtr Advertisements counter.

Parameters
nowthe last RA send time

Definition at line 379 of file radvd-interface.cc.

References m_initialRtrAdvertisementsLeft, and m_lastSendTime.

◆ SetLinkMtu()

void ns3::RadvdInterface::SetLinkMtu ( uint32_t linkMtu)

Set link MTU.

Parameters
linkMtulink MTU

Definition at line 198 of file radvd-interface.cc.

References m_linkMtu, and NS_LOG_FUNCTION.

◆ SetManagedFlag()

void ns3::RadvdInterface::SetManagedFlag ( bool managedFlag)

Set managed flag.

Parameters
managedFlagvalue

Definition at line 170 of file radvd-interface.cc.

References m_managedFlag, and NS_LOG_FUNCTION.

◆ SetMaxRtrAdvInterval()

void ns3::RadvdInterface::SetMaxRtrAdvInterval ( uint32_t maxRtrAdvInterval)

Get maximum RA interval.

Parameters
maxRtrAdvIntervalRA interval (ms)

Definition at line 128 of file radvd-interface.cc.

References m_maxRtrAdvInterval, and NS_LOG_FUNCTION.

◆ SetMinDelayBetweenRAs()

void ns3::RadvdInterface::SetMinDelayBetweenRAs ( uint32_t minDelayBetweenRAs)

Set minimum delay between RAs.

Parameters
minDelayBetweenRAsminimum delay (ms)

Definition at line 156 of file radvd-interface.cc.

References m_minDelayBetweenRAs, and NS_LOG_FUNCTION.

◆ SetMinRtrAdvInterval()

void ns3::RadvdInterface::SetMinRtrAdvInterval ( uint32_t minRtrAdvInterval)

Get minimum RA interval.

Parameters
minRtrAdvIntervalRA interval (ms).

Definition at line 142 of file radvd-interface.cc.

References m_minRtrAdvInterval, and NS_LOG_FUNCTION.

◆ SetMobRtrSupportFlag()

void ns3::RadvdInterface::SetMobRtrSupportFlag ( bool mobRtrSupportFlag)

Set "mobile router support" flag.

Parameters
mobRtrSupportFlagvalue

Definition at line 352 of file radvd-interface.cc.

References m_mobRtrSupportFlag, and NS_LOG_FUNCTION.

◆ SetOtherConfigFlag()

void ns3::RadvdInterface::SetOtherConfigFlag ( bool otherConfigFlag)

Set "other config" flag.

Parameters
otherConfigFlagvalue

Definition at line 184 of file radvd-interface.cc.

References m_otherConfigFlag, and NS_LOG_FUNCTION.

◆ SetReachableTime()

void ns3::RadvdInterface::SetReachableTime ( uint32_t reachableTime)

Set reachable time.

Parameters
reachableTimereachable time

Definition at line 212 of file radvd-interface.cc.

References m_reachableTime, and NS_LOG_FUNCTION.

◆ SetRetransTimer()

void ns3::RadvdInterface::SetRetransTimer ( uint32_t retransTimer)

Set retransmission timer.

Parameters
retransTimerretransmission timer

Definition at line 240 of file radvd-interface.cc.

References m_retransTimer, and NS_LOG_FUNCTION.

◆ SetSendAdvert()

void ns3::RadvdInterface::SetSendAdvert ( bool sendAdvert)

Set send advert flag.

Parameters
sendAdvertvalue

Definition at line 114 of file radvd-interface.cc.

References m_sendAdvert, and NS_LOG_FUNCTION.

◆ SetSourceLLAddress()

void ns3::RadvdInterface::SetSourceLLAddress ( bool sourceLLAddress)

Set flag to add or not LLA to RA.

Parameters
sourceLLAddressvalue

Definition at line 282 of file radvd-interface.cc.

References m_sourceLLAddress, and NS_LOG_FUNCTION.

Member Data Documentation

◆ m_curHopLimit

uint32_t ns3::RadvdInterface::m_curHopLimit
private

Current hop limit (TTL).

Definition at line 379 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), GetCurHopLimit(), and SetCurHopLimit().

◆ m_defaultLifeTime

uint32_t ns3::RadvdInterface::m_defaultLifeTime
private

Default life time in seconds.

Definition at line 384 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), GetDefaultLifeTime(), and SetDefaultLifeTime().

◆ m_defaultPreference

uint8_t ns3::RadvdInterface::m_defaultPreference
private

Preference associated with default router.

0 = low 1 = medium 2 = high

Definition at line 392 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), GetDefaultPreference(), and SetDefaultPreference().

◆ m_homeAgentFlag

bool ns3::RadvdInterface::m_homeAgentFlag
private

Flag to add HA (home agent) flag in RA.

Definition at line 402 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), IsHomeAgentFlag(), and SetHomeAgentFlag().

◆ m_homeAgentInfo

bool ns3::RadvdInterface::m_homeAgentInfo
private

Flag to add Home Agent Information option (Mobile IPv6).

Currently not implemented.

Definition at line 408 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), IsHomeAgentInfo(), and SetHomeAgentInfo().

◆ m_homeAgentLifeTime

uint32_t ns3::RadvdInterface::m_homeAgentLifeTime
private

Home agent lifetime in seconds.

Ignored if home agent info is not set.

Definition at line 413 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), GetHomeAgentLifeTime(), and SetHomeAgentLifeTime().

◆ m_homeAgentPreference

uint32_t ns3::RadvdInterface::m_homeAgentPreference
private

Home agent preference.

Ignored if home agent info is not set.

Definition at line 418 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), GetHomeAgentPreference(), and SetHomeAgentPreference().

◆ m_initialRtrAdvertisementsLeft

uint8_t ns3::RadvdInterface::m_initialRtrAdvertisementsLeft
private

Number of fast announcement to do.

Definition at line 438 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), IsInitialRtrAdv(), and SetLastRaTxTime().

◆ m_interface

uint32_t ns3::RadvdInterface::m_interface
private

Interface to advertise RA.

Definition at line 323 of file radvd-interface.h.

Referenced by GetInterface().

◆ m_intervalOpt

bool ns3::RadvdInterface::m_intervalOpt
private

Flag to add Advertisement Interval option in RA.

Definition at line 428 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), IsIntervalOpt(), and SetIntervalOpt().

◆ m_lastSendTime

Time ns3::RadvdInterface::m_lastSendTime
private

Last RA send time.

Definition at line 433 of file radvd-interface.h.

Referenced by GetLastRaTxTime(), and SetLastRaTxTime().

◆ m_linkMtu

uint32_t ns3::RadvdInterface::m_linkMtu
private

Link MTU to use.

Definition at line 364 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), GetLinkMtu(), and SetLinkMtu().

◆ m_managedFlag

bool ns3::RadvdInterface::m_managedFlag
private

Managed flag.

If true host use the stateful protocol for address autoconfiguration.

Definition at line 353 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), IsManagedFlag(), and SetManagedFlag().

◆ m_maxRtrAdvInterval

uint32_t ns3::RadvdInterface::m_maxRtrAdvInterval
private

Maximum RA interval in milliseconds.

Definition at line 338 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), GetMaxRtrAdvInterval(), and SetMaxRtrAdvInterval().

◆ m_minDelayBetweenRAs

uint32_t ns3::RadvdInterface::m_minDelayBetweenRAs
private

Minimum delay between RA in milliseconds.

Definition at line 348 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), GetMinDelayBetweenRAs(), and SetMinDelayBetweenRAs().

◆ m_minRtrAdvInterval

uint32_t ns3::RadvdInterface::m_minRtrAdvInterval
private

Minimum RA interval in milliseconds.

Definition at line 343 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), GetMinRtrAdvInterval(), and SetMinRtrAdvInterval().

◆ m_mobRtrSupportFlag

bool ns3::RadvdInterface::m_mobRtrSupportFlag
private

Flag for HA to signals it supports Mobile Router registrations (NEMO Basic).

Definition at line 423 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), IsMobRtrSupportFlag(), and SetMobRtrSupportFlag().

◆ m_otherConfigFlag

bool ns3::RadvdInterface::m_otherConfigFlag
private

Other configuration flag.

If true host use stateful protocol for other (non-address) information.

Definition at line 359 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), IsOtherConfigFlag(), and SetOtherConfigFlag().

◆ m_prefixes

RadvdPrefixList ns3::RadvdInterface::m_prefixes
private

List of prefixes to advertise.

Definition at line 328 of file radvd-interface.h.

Referenced by ~RadvdInterface(), AddPrefix(), and GetPrefixes().

◆ m_reachableTime

uint32_t ns3::RadvdInterface::m_reachableTime
private

Reachable time in milliseconds.

Definition at line 369 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), GetReachableTime(), and SetReachableTime().

◆ m_retransTimer

uint32_t ns3::RadvdInterface::m_retransTimer
private

Retransmission timer in milliseconds.

Definition at line 374 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), GetRetransTimer(), and SetRetransTimer().

◆ m_sendAdvert

bool ns3::RadvdInterface::m_sendAdvert
private

Flag whether or not router sends periodic RA and respond to RS.

Definition at line 333 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), IsSendAdvert(), and SetSendAdvert().

◆ m_sourceLLAddress

bool ns3::RadvdInterface::m_sourceLLAddress
private

Flag to add link-layer address in RA.

Definition at line 397 of file radvd-interface.h.

Referenced by RadvdInterface(), RadvdInterface(), IsSourceLLAddress(), and SetSourceLLAddress().


The documentation for this class was generated from the following files: