A Discrete-Event Network Simulator
API
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. More...
 
typedef std::list< Ptr< RadvdPrefix > >::const_iterator RadvdPrefixListCI
 Container Const Iterator: Ptr to RadvdPrefix. More...
 
typedef std::list< Ptr< RadvdPrefix > >::iterator RadvdPrefixListI
 Container Iterator: Ptr to RadvdPrefix. More...
 

Public Member Functions

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

Private Attributes

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

Detailed Description

Radvd interface configuration.

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

Member Typedef Documentation

◆ RadvdPrefixList

Container: Ptr to RadvdPrefix.

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

◆ RadvdPrefixListCI

Container Const Iterator: Ptr to RadvdPrefix.

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

◆ RadvdPrefixListI

Container Iterator: Ptr to RadvdPrefix.

Definition at line 42 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 83 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 94 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 233 of file radvd-interface.cc.

References m_curHopLimit, and NS_LOG_FUNCTION.

Referenced by ns3::Radvd::Send().

+ Here is the caller graph for this function:

◆ GetDefaultLifeTime()

uint32_t ns3::RadvdInterface::GetDefaultLifeTime ( ) const

Get default lifetime.

Returns
default lifetime

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

References m_defaultLifeTime, and NS_LOG_FUNCTION.

Referenced by ns3::Radvd::Send().

+ Here is the caller graph for this function:

◆ GetDefaultPreference()

uint8_t ns3::RadvdInterface::GetDefaultPreference ( ) const

Get default preference.

Returns
default preference

Definition at line 245 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 293 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 305 of file radvd-interface.cc.

References m_homeAgentPreference, and NS_LOG_FUNCTION.

◆ GetInterface()

uint32_t ns3::RadvdInterface::GetInterface ( void  ) const

Get interface index for this configuration.

Returns
interface index

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

References m_interface, and NS_LOG_FUNCTION.

Referenced by ns3::Radvd::Send().

+ Here is the caller graph for this function:

◆ GetLastRaTxTime()

Time ns3::RadvdInterface::GetLastRaTxTime ( )

Get the last time a RA has been sent.

Returns
the last RA send time

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

References m_lastSendTime.

◆ GetLinkMtu()

uint32_t ns3::RadvdInterface::GetLinkMtu ( ) const

Get link MTU.

Returns
link MTU

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

References m_linkMtu, and NS_LOG_FUNCTION.

Referenced by ns3::Radvd::Send().

+ Here is the caller graph for this function:

◆ GetMaxRtrAdvInterval()

uint32_t ns3::RadvdInterface::GetMaxRtrAdvInterval ( ) const

Get maximum RA interval.

Returns
RA interval (ms)

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

References m_maxRtrAdvInterval, and NS_LOG_FUNCTION.

Referenced by ns3::Radvd::Send().

+ Here is the caller graph for this 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 137 of file radvd-interface.cc.

References m_minRtrAdvInterval, and NS_LOG_FUNCTION.

Referenced by ns3::Radvd::Send().

+ Here is the caller graph for this 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 107 of file radvd-interface.cc.

References m_prefixes, and NS_LOG_FUNCTION.

Referenced by ns3::Radvd::Send().

+ Here is the caller graph for this function:

◆ GetReachableTime()

uint32_t ns3::RadvdInterface::GetReachableTime ( ) const

Get reachable time.

Returns
reachable time

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

References m_reachableTime, and NS_LOG_FUNCTION.

Referenced by ns3::Radvd::Send().

+ Here is the caller graph for this function:

◆ GetRetransTimer()

uint32_t ns3::RadvdInterface::GetRetransTimer ( ) const

Get retransmission timer.

Returns
retransmission timer

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

References m_retransTimer, and NS_LOG_FUNCTION.

Referenced by ns3::Radvd::Send().

+ Here is the caller graph for this function:

◆ IsHomeAgentFlag()

bool ns3::RadvdInterface::IsHomeAgentFlag ( ) const

Is "home agent" flag enabled ?

Returns
"home agent" flag

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

References m_homeAgentFlag, and NS_LOG_FUNCTION.

Referenced by ns3::Radvd::Send().

+ Here is the caller graph for this 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 281 of file radvd-interface.cc.

References m_homeAgentInfo, and NS_LOG_FUNCTION.

◆ IsInitialRtrAdv()

bool ns3::RadvdInterface::IsInitialRtrAdv ( )

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 355 of file radvd-interface.cc.

References m_initialRtrAdvertisementsLeft.

Referenced by ns3::Radvd::Send().

+ Here is the caller graph for this function:

◆ 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 329 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 161 of file radvd-interface.cc.

References m_managedFlag, and NS_LOG_FUNCTION.

Referenced by ns3::Radvd::Send().

+ Here is the caller graph for this function:

◆ IsMobRtrSupportFlag()

bool ns3::RadvdInterface::IsMobRtrSupportFlag ( ) const

Is "mobile router support" flag enabled ?

Returns
"mobile router support" flag

Definition at line 317 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 173 of file radvd-interface.cc.

References m_otherConfigFlag, and NS_LOG_FUNCTION.

Referenced by ns3::Radvd::Send().

+ Here is the caller graph for this function:

◆ IsSendAdvert()

bool ns3::RadvdInterface::IsSendAdvert ( ) const

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

Returns
send advert flag

Definition at line 113 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 257 of file radvd-interface.cc.

References m_sourceLLAddress, and NS_LOG_FUNCTION.

Referenced by ns3::Radvd::Send().

+ Here is the caller graph for this function:

◆ SetCurHopLimit()

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

Set current hop limit.

Parameters
curHopLimitcurrent hop limit for the link

Definition at line 239 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 215 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 251 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 275 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 287 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 299 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 311 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 335 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 346 of file radvd-interface.cc.

References m_initialRtrAdvertisementsLeft, and m_lastSendTime.

Referenced by ns3::Radvd::Send().

+ Here is the caller graph for this function:

◆ SetLinkMtu()

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

Set link MTU.

Parameters
linkMtulink MTU

Definition at line 191 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 167 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 131 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 155 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 143 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 323 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 179 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 203 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 227 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 119 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 263 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 389 of file radvd-interface.h.

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

◆ m_defaultLifeTime

uint32_t ns3::RadvdInterface::m_defaultLifeTime
private

Default life time in seconds.

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

Referenced by GetDefaultLifeTime(), RadvdInterface(), 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 402 of file radvd-interface.h.

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

◆ m_homeAgentFlag

bool ns3::RadvdInterface::m_homeAgentFlag
private

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

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

Referenced by IsHomeAgentFlag(), RadvdInterface(), 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 418 of file radvd-interface.h.

Referenced by IsHomeAgentInfo(), RadvdInterface(), 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 423 of file radvd-interface.h.

Referenced by GetHomeAgentLifeTime(), RadvdInterface(), 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 428 of file radvd-interface.h.

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

◆ m_initialRtrAdvertisementsLeft

uint8_t ns3::RadvdInterface::m_initialRtrAdvertisementsLeft
private

Number of fast announcement to do.

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

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

◆ m_interface

uint32_t ns3::RadvdInterface::m_interface
private

Interface to advertise RA.

Definition at line 334 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 438 of file radvd-interface.h.

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

◆ m_lastSendTime

Time ns3::RadvdInterface::m_lastSendTime
private

Last RA send time.

Definition at line 443 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 374 of file radvd-interface.h.

Referenced by GetLinkMtu(), RadvdInterface(), 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 364 of file radvd-interface.h.

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

◆ m_maxRtrAdvInterval

uint32_t ns3::RadvdInterface::m_maxRtrAdvInterval
private

Maximum RA interval in milliseconds.

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

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

◆ m_minDelayBetweenRAs

uint32_t ns3::RadvdInterface::m_minDelayBetweenRAs
private

Minimum delay between RA in milliseconds.

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

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

◆ m_minRtrAdvInterval

uint32_t ns3::RadvdInterface::m_minRtrAdvInterval
private

Minimum RA interval in milliseconds.

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

Referenced by GetMinRtrAdvInterval(), RadvdInterface(), 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 433 of file radvd-interface.h.

Referenced by IsMobRtrSupportFlag(), RadvdInterface(), 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 369 of file radvd-interface.h.

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

◆ m_prefixes

RadvdPrefixList ns3::RadvdInterface::m_prefixes
private

List of prefixes to advertise.

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

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

◆ m_reachableTime

uint32_t ns3::RadvdInterface::m_reachableTime
private

Reachable time in milliseconds.

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

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

◆ m_retransTimer

uint32_t ns3::RadvdInterface::m_retransTimer
private

Retransmission timer in milliseconds.

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

Referenced by GetRetransTimer(), RadvdInterface(), 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 344 of file radvd-interface.h.

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

◆ m_sourceLLAddress

bool ns3::RadvdInterface::m_sourceLLAddress
private

Flag to add link-layer address in RA.

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

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


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