IPv6 route cache entry. More...
#include <ipv6-route.h>
Public Member Functions | |
Ipv6Route () | |
Constructor. | |
virtual | ~Ipv6Route () |
Destructor. | |
Ipv6Address | GetDestination () const |
Get destination address. More... | |
Ipv6Address | GetGateway () const |
Get gateway address. More... | |
Ptr< NetDevice > | GetOutputDevice () const |
Get output device. More... | |
Ipv6Address | GetSource () const |
Get source address. More... | |
void | SetDestination (Ipv6Address dest) |
Set destination address. More... | |
void | SetGateway (Ipv6Address gw) |
Set gateway address. More... | |
void | SetOutputDevice (Ptr< NetDevice > outputDevice) |
Set output device for outgoing packets. More... | |
void | SetSource (Ipv6Address src) |
Set source address. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< Ipv6Route > | |
SimpleRefCount (const SimpleRefCount &o) | |
uint32_t | GetReferenceCount (void) const |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
Private Attributes | |
Ipv6Address | m_dest |
Destination address. | |
Ipv6Address | m_gateway |
Gateway address. | |
Ptr< NetDevice > | m_outputDevice |
Output device. | |
Ipv6Address | m_source |
source address. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ns3::SimpleRefCount< Ipv6Route > | |
static void | Cleanup (void) |
IPv6 route cache entry.
Definition at line 43 of file ipv6-route.h.
Ipv6Address ns3::Ipv6Route::GetDestination | ( | void | ) | const |
Get destination address.
Definition at line 42 of file ipv6-route.cc.
References m_dest.
Ipv6Address ns3::Ipv6Route::GetGateway | ( | void | ) | const |
Get gateway address.
Definition at line 62 of file ipv6-route.cc.
References m_gateway.
Get output device.
Definition at line 72 of file ipv6-route.cc.
References m_outputDevice.
Ipv6Address ns3::Ipv6Route::GetSource | ( | void | ) | const |
Get source address.
Definition at line 52 of file ipv6-route.cc.
References m_source.
void ns3::Ipv6Route::SetDestination | ( | Ipv6Address | dest | ) |
Set destination address.
dest | IPv6 destination address |
Definition at line 37 of file ipv6-route.cc.
References m_dest.
void ns3::Ipv6Route::SetGateway | ( | Ipv6Address | gw | ) |
Set gateway address.
gw | IPv6 gateway address |
Definition at line 57 of file ipv6-route.cc.
References m_gateway.
Set output device for outgoing packets.
outputDevice | output device |
Definition at line 67 of file ipv6-route.cc.
References m_outputDevice.
void ns3::Ipv6Route::SetSource | ( | Ipv6Address | src | ) |
Set source address.
src | IPv6 source address |
Definition at line 47 of file ipv6-route.cc.
References m_source.