#include <if.h>
Inheritance diagram for Interface:

Public Member Functions | |
| Interface () | |
| Interface () | |
| Interface (const L2Proto &l2=L2Proto802_3(), IPAddr_t i=((IPAddr_t) 0x0), Mask_t m=((Mask_t) 0xffffffffl), MACAddr mac=MACAddr::NONE, bool bootstrap=false) | |
| Interface (const Interface &) | |
| virtual | ~Interface () |
| virtual bool | Send (Packet *, IPAddr_t, int)=0 |
| virtual bool | Send (Packet *, const MACAddr &, int)=0 |
| virtual bool | Send (Packet *, Word_t)=0 |
| virtual bool | Xmit (Packet *, IPAddr_t, int) |
| virtual void | Handle (Event *, Time_t) |
| virtual void | Notify (void *) |
| virtual void | AddARPEntry (IPAddr_t, MACAddr) |
| void | SetIPAddr (IPAddr_t i) |
| IPAddr | GetIPAddr () const |
| Mask_t | GetIPMask () const |
| void | SetMACAddr (const MACAddr &m) |
| MACAddr | GetMACAddr () const |
| virtual Count_t | PeerCount () const =0 |
| virtual IPAddr | PeerIP (int) const =0 |
| virtual IPAddr | NodePeerIP (Node *) const =0 |
| virtual bool | NodeIsPeer (Node *) const =0 |
| virtual Count_t | NodePeerIndex (Node *) const =0 |
| Node * | GetNode () const |
| virtual Queue * | GetQueue () const =0 |
| virtual void | SetQueue (const Queue &q)=0 |
| virtual bool | QueueDetailed () const =0 |
| virtual L2Proto * | GetL2Proto () const =0 |
| virtual void | SetL2Proto (const L2Proto &)=0 |
| virtual void | AddNotify (NotifyHandler *, void *)=0 |
| virtual void | CancelNotify (NotifyHandler *)=0 |
| virtual MACAddr | IPToMac (IPAddr_t) const =0 |
| virtual Count_t | NeighborCount (Node *) const =0 |
| virtual void | Neighbors (NodeWeightVec_t &, bool=false)=0 |
| virtual IPAddr_t | DefaultPeer ()=0 |
| virtual bool | IsLocalIP (IPAddr_t) const =0 |
| virtual Mult_t | TrafficIntensity () const =0 |
| virtual void | AddRemoteIP (IPAddr_t, Mask_t, Count_t=0)=0 |
| virtual void | HandleLLCSNAP (Packet *, bool)=0 |
| virtual bool | IsWireless () const =0 |
| virtual bool | IsEthernet () const |
| virtual bool | IsReal () const =0 |
| virtual void | RegisterRxEvent (LinkEvent *) |
| virtual void | AddRxEvent (LinkEvent *) |
| virtual void | UseWormContainment (bool b) |
| virtual bool | UseWormContainment () |
| virtual void | SetWormContainment (WormContainment *)=0 |
| virtual WormContainment * | GetWormContainment ()=0 |
| virtual void | UseARP (bool)=0 |
| bool | FirstBitRx () |
| void | FirstBitRx (bool is) |
Static Public Member Functions | |
| void | DefaultUseARP (bool b=true) |
| void | Add (Interface *, MACAddr_t) |
| Interface * | GetByMac (MACAddr_t) |
Public Attributes | |
| Link * | pLink |
| L2Proto * | pProto |
| IPAddr_t | ip |
| bool | bootstrap |
Static Public Attributes | |
| bool | recordMacAddresses = false |
| std::vector< Interface * > | macIfVec |
| bool | defaultUseARP = false |
Protected Attributes | |
| IPAddr | ip |
| Mask_t | mask |
| MACAddr | macAddr |
| bool | down |
| bool | usewormcontainment |
| bool | firstBitRx |
|
|
|
|
|
|
|
||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
||||||||||||||||
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
|
Reimplemented in InterfaceEthernet. |
|
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
|
|
|
|
Reimplemented from InterfaceBasic. |
|
|
Implements InterfaceBasic. Implemented in InterfaceGhost, and InterfaceReal. |
|
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
||||||||||||
|
Implements Handler. Reimplemented in InterfaceEthernet, InterfaceGhost, InterfaceLink16, and InterfaceReal. |
|
||||||||||||
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
|
Implemented in InterfaceGhost, InterfaceReal, and InterfaceWireless. |
|
|
Reimplemented in InterfaceEthernet, InterfaceGhost, and InterfaceReal. |
|
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
|
Implemented in InterfaceGhost, InterfaceReal, and InterfaceWireless. |
|
|
Implemented in InterfaceGhost, InterfaceReal, and InterfaceWireless. |
|
||||||||||||
|
Implements InterfaceBasic. Implemented in InterfaceGhost, and InterfaceReal. |
|
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
|
Implements NotifyHandler. Reimplemented in InterfaceEthernet, InterfaceGhost, InterfaceReal, and InterfaceWireless. |
|
|
Implemented in InterfaceGhost, InterfaceReal, and InterfaceWireless. |
|
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
|
Reimplemented in InterfaceEthernet. |
|
||||||||||||
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
||||||||||||||||
|
Implemented in InterfaceEthernet, InterfaceGhost, and InterfaceReal. |
|
||||||||||||||||
|
Implemented in InterfaceGhost, InterfaceLink16, and InterfaceReal. |
|
|
|
|
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
|
|
|
|
Implements InterfaceBasic. Implemented in InterfaceGhost, and InterfaceReal. |
|
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
|
Implemented in InterfaceGhost, and InterfaceReal. |
|
|
|
|
|
|
|
||||||||||||||||
|
Reimplemented in InterfaceReal. |
|
|
Reimplemented in InterfaceWireless. |
|
|
|
|
|
Reimplemented from InterfaceBasic. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from InterfaceBasic. |
|
|
|
|
|
|
|
|
|
1.3.9.1