59#define UWMLL_DROP_REASON_NOT_IN_ARP_LIST "NAL"
86 virtual int command(
int argc,
const char *
const *argv);
89 virtual void recv(Packet *p);
95 virtual void recv(Packet *p,
int idSrc);
102 virtual void sendUp(Packet *p);
119 virtual int arpResolve(nsaddr_t dst, Packet *p);
virtual int arpResolve(nsaddr_t dst, Packet *p)
Resolve MAC address for given dst address.
virtual int getDownAddr(int downId=-1)
Retrieve MAC address for lower layer.
virtual void recv(Packet *p)
Retrieve packets from other modules.
virtual void sendUp(Packet *p)
Handle packet going up.
virtual int recvAsyncClMsg(ClMessage *m)
vector< nsaddr_t > netAddr
List of IP address to our upper layers.
UWMllModule()
Constructor.
virtual int recvSyncClMsg(ClMessage *m)
virtual void sendDown(Packet *p)
Handle packet going down.
virtual int command(int argc, const char *const *argv)
TCL Command handler.
virtual int crLayCommand(ClMessage *m)
Receive asyncronous commands In Practive only IPModule telling us its IP-address.
int seqno_
Link layer sequence number.
~UWMllModule()
Desctructor.
UWARPTable * arptable_
Pointer to an arptable.
Provides the definition of the ARP table of MLL module.
Provides the UWIP packets header description. Definition of the class that define the network layer.