Public Member Functions

ns3::Ipv6Route Class Reference
[Ipv6RoutingProtocol]

IPv6 route cache entry. More...

#include <ipv6-route.h>

Inheritance diagram for ns3::Ipv6Route:
Inheritance graph
[legend]
Collaboration diagram for ns3::Ipv6Route:
Collaboration graph
[legend]

List of all members.

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< NetDeviceGetOutputDevice () const
 Get output device.

Detailed Description

IPv6 route cache entry.


Member Function Documentation

Ipv6Address ns3::Ipv6Route::GetDestination (  )  const

Get destination address.

Returns:
destination address
Ipv6Address ns3::Ipv6Route::GetGateway (  )  const

Get gateway address.

Returns:
gateway address
Ptr<NetDevice> ns3::Ipv6Route::GetOutputDevice (  )  const

Get output device.

Returns:
output device
Ipv6Address ns3::Ipv6Route::GetSource (  )  const

Get source address.

Returns:
source address
void ns3::Ipv6Route::SetDestination ( Ipv6Address  dest  ) 

Set destination address.

Parameters:
dest IPv6 destination address
void ns3::Ipv6Route::SetGateway ( Ipv6Address  gw  ) 

Set gateway address.

Parameters:
gw IPv6 gateway address
void ns3::Ipv6Route::SetOutputDevice ( Ptr< NetDevice outputDevice  ) 

Set output device for outgoing packets.

Parameters:
outputDevice output device
void ns3::Ipv6Route::SetSource ( Ipv6Address  src  ) 

Set source address.

Parameters:
src IPv6 source address

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