26 #include "ns3/callback.h" 
   27 #include "ns3/object.h" 
   30 #include "ns3/ipv4-address.h" 
   31 #include "ns3/ipv6-address.h" 
   88   virtual void SetIfIndex (
const uint32_t index) = 0;
 
  121   virtual bool SetMtu (
const uint16_t mtu) = 0;
 
  128   virtual uint16_t 
GetMtu (
void) 
const = 0;
 
  132   virtual bool IsLinkUp (
void) 
const = 0;
 
  208   virtual bool IsBridge (
void) 
const = 0;
 
  266   virtual bool NeedsArp (
void) 
const = 0;
 
  322   typedef Callback< bool, Ptr<NetDevice>, Ptr<const Packet>, uint16_t,
 
virtual void SetIfIndex(const uint32_t index)=0
 
Smart pointer class similar to boost::intrusive_ptr. 
 
virtual Address GetBroadcast(void) const =0
 
virtual Address GetMulticast(Ipv4Address multicastGroup) const =0
Make and return a MAC multicast address using the provided multicast group. 
 
Callback< bool, Ptr< NetDevice >, Ptr< const Packet >, uint16_t, const Address & > ReceiveCallback
 
virtual void SetNode(Ptr< Node > node)=0
 
PacketType
Packet types are used as they are in Linux. 
 
virtual Ptr< Node > GetNode(void) const =0
 
Packet addressed to multicast group. 
 
virtual bool IsBroadcast(void) const =0
 
a polymophic address class 
 
virtual void SetPromiscReceiveCallback(PromiscReceiveCallback cb)=0
 
virtual void SetReceiveCallback(ReceiveCallback cb)=0
 
virtual bool SupportsSendFrom(void) const =0
 
virtual uint16_t GetMtu(void) const =0
 
virtual bool IsMulticast(void) const =0
 
static TypeId GetTypeId(void)
Get the type ID. 
 
void(* LinkChangeTracedCallback)(void)
TracedCallback signature for link changed event. 
 
virtual bool IsBridge(void) const =0
Return true if the net device is acting as a bridge. 
 
virtual bool NeedsArp(void) const =0
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
Callback< bool, Ptr< NetDevice >, Ptr< const Packet >, uint16_t, const Address &, const Address &, enum PacketType > PromiscReceiveCallback
 
Packet addressed to someone else. 
 
virtual bool Send(Ptr< Packet > packet, const Address &dest, uint16_t protocolNumber)=0
 
virtual Ptr< Channel > GetChannel(void) const =0
 
virtual bool SendFrom(Ptr< Packet > packet, const Address &source, const Address &dest, uint16_t protocolNumber)=0
 
virtual uint32_t GetIfIndex(void) const =0
 
Describes an IPv6 address. 
 
Ipv4 addresses are stored in host order in this class. 
 
Network layer to device interface. 
 
virtual bool IsPointToPoint(void) const =0
Return true if the net device is on a point-to-point link. 
 
A base class which provides memory management and object aggregation. 
 
virtual void SetAddress(Address address)=0
Set the address of this interface. 
 
virtual void AddLinkChangeCallback(Callback< void > callback)=0
 
virtual bool IsLinkUp(void) const =0
 
virtual bool SetMtu(const uint16_t mtu)=0
 
a unique identifier for an interface. 
 
virtual Address GetAddress(void) const =0