ns-3
|
IPv6 route cache entry. More...
#include <ipv6-route.h>
Public Member Functions | |
Ipv6Route () | |
Constructor. | |
virtual | ~Ipv6Route () |
Destructor. | |
void | SetDestination (Ipv6Address dest) |
Set destination address. | |
Ipv6Address | GetDestination () const |
Get destination address. | |
void | SetSource (Ipv6Address src) |
Set source address. | |
Ipv6Address | GetSource () const |
Get source address. | |
void | SetGateway (Ipv6Address gw) |
Set gateway address. | |
Ipv6Address | GetGateway () const |
Get gateway address. | |
void | SetOutputDevice (Ptr< NetDevice > outputDevice) |
Set output device for outgoing packets. | |
Ptr< NetDevice > | GetOutputDevice () const |
Get output device. |
IPv6 route cache entry.
Ipv6Address ns3::Ipv6Route::GetDestination | ( | void | ) | const |
Get destination address.
Ipv6Address ns3::Ipv6Route::GetGateway | ( | void | ) | const |
Get gateway address.
Ptr< NetDevice > ns3::Ipv6Route::GetOutputDevice | ( | void | ) | const |
Get output device.
Ipv6Address ns3::Ipv6Route::GetSource | ( | void | ) | const |
Get source address.
void ns3::Ipv6Route::SetDestination | ( | Ipv6Address | dest | ) |
Set destination address.
dest | IPv6 destination address |
void ns3::Ipv6Route::SetGateway | ( | Ipv6Address | gw | ) |
Set gateway address.
gw | IPv6 gateway address |
void ns3::Ipv6Route::SetOutputDevice | ( | Ptr< NetDevice > | outputDevice | ) |
Set output device for outgoing packets.
outputDevice | output device |
void ns3::Ipv6Route::SetSource | ( | Ipv6Address | src | ) |
Set source address.
src | IPv6 source address |