ns-3
ns3::Ipv6Route Class Reference

IPv6 route cache entry. More...

#include <ipv6-route.h>

Inheritance diagram for ns3::Ipv6Route:
Collaboration diagram for ns3::Ipv6Route:

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

Get destination address.

Returns:
destination address

Get gateway address.

Returns:
gateway address

Get output device.

Returns:
output device

Get source address.

Returns:
source address

Set destination address.

Parameters:
destIPv6 destination address

Set gateway address.

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

Set output device for outgoing packets.

Parameters:
outputDeviceoutput device

Set source address.

Parameters:
srcIPv6 source address

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