Ipv4 route cache entry (similar to Linux struct rtable).
More...
#include <ipv4-route.h>
List of all members.
Detailed Description
Ipv4 route cache entry (similar to Linux struct rtable).
This is a reference counted object. In the future, we will add other entries from struct dst_entry, struct rtable, and struct dst_ops as needed.
Member Function Documentation
Ipv4Address ns3::Ipv4Route::GetDestination |
( |
void |
|
) |
const |
Ptr<NetDevice> ns3::Ipv4Route::GetOutputDevice |
( |
void |
|
) |
const |
- Returns:
- pointer to NetDevice for outgoing packets
void ns3::Ipv4Route::SetDestination |
( |
Ipv4Address |
dest |
) |
|
void ns3::Ipv4Route::SetOutputDevice |
( |
Ptr< NetDevice > |
outputDevice |
) |
|
Equivalent in Linux to dst_entry.dev
- Parameters:
-
| outputDevice | pointer to NetDevice for outgoing packets |
The documentation for this class was generated from the following file: