Public Member Functions | Static Public Member Functions | Private Member Functions

ns3::ArpIpv4Interface Class Reference
[Arp]

an Ipv4 Interface which uses ARP More...

#include <arp-ipv4-interface.h>

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

List of all members.

Public Member Functions

virtual Ptr< NetDeviceGetDevice (void) const

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::Ipv4Interface.

Private Member Functions

virtual void DoDispose (void)

Detailed Description

an Ipv4 Interface which uses ARP

If you need to use ARP on top of a specific NetDevice, you can use this Ipv4Interface subclass to wrap it for the Ipv4 class when calling Ipv4::AggregateObject.


Member Function Documentation

virtual void ns3::ArpIpv4Interface::DoDispose ( void   )  [private, virtual]

This method is called by Object::Dispose or by the object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.

Reimplemented from ns3::Ipv4Interface.

virtual Ptr<NetDevice> ns3::ArpIpv4Interface::GetDevice ( void   )  const [virtual]
Returns:
the underlying NetDevice. This method can return zero if this interface has no associated NetDevice.

Implements ns3::Ipv4Interface.

static TypeId ns3::ArpIpv4Interface::GetTypeId ( void   )  [static]

This method returns the TypeId associated to ns3::Ipv4Interface.

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/$ns3Ipv4L3Protocol/InterfaceList/[i]

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::Ipv4Interface.


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