ns3::SatArpCache Class Reference

An ARP cache interface for satellite module. More...

#include "satellite-arp-cache.h"

+ Inheritance diagram for ns3::SatArpCache:
+ Collaboration diagram for ns3::SatArpCache:

Public Member Functions

 SatArpCache ()
 Default constructor. More...
 
 ~SatArpCache ()
 Destructor for SatArpCache. More...
 
ArpCache::Entry * Add (Ipv4Address to, Address macAddress)
 Add an Ipv4Address - MAC address entry to this ARP cache. More...
 

Static Public Member Functions

static TypeId GetTypeId (void)
 Get the type ID. More...
 

Detailed Description

An ARP cache interface for satellite module.

In satellite module, the ARP cache entries are pre-filled by the helpers and n "infinite" timeout is set for all ARP cache entries. Thus, ARP is enabled but the ARP messages do not need to be actively sent.

Definition at line 36 of file satellite-arp-cache.h.

Constructor & Destructor Documentation

◆ SatArpCache()

ns3::SatArpCache::SatArpCache ( )

Default constructor.

Definition at line 40 of file satellite-arp-cache.cc.

◆ ~SatArpCache()

ns3::SatArpCache::~SatArpCache ( )

Destructor for SatArpCache.

Definition at line 46 of file satellite-arp-cache.cc.

Member Function Documentation

◆ Add()

ArpCache::Entry * ns3::SatArpCache::Add ( Ipv4Address  to,
Address  macAddress 
)

Add an Ipv4Address - MAC address entry to this ARP cache.

Parameters
toIP address
macAddressMAC address
Returns
ArpCache entry

Definition at line 52 of file satellite-arp-cache.cc.

◆ GetTypeId()

TypeId ns3::SatArpCache::GetTypeId ( void  )
static

Get the type ID.

Returns
the object TypeId

Definition at line 34 of file satellite-arp-cache.cc.


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