class newLL : public LinkDelay


Inheritance:


Public Methods

void handle(Event *e)
newLL()
virtual void recv(Packet* p, Handler* h)

Private Fields

ARPTable* arptable_
NsObject* downtarget_
where packet is passed down the stack
Queue* ifq_
interface queue
newMac* mac_
MAC object
double mindelay_
int off_newll_
offset of link-layer header
int off_newmac_
offset of MAC header
int seqno_
link-layer sequence number
NsObject* uptarget_
where packet is passed up the stack

Private Methods

friend void ARPTable::arpinput(Packet *p, newLL* ll)
friend void ARPTable::arprequest(nsaddr_t src, nsaddr_t dst, newLL* ll)
int command(int argc, const char*const* argv)
void dump(void)
inline int initialized()
virtual void sendDown(Packet* p)
virtual void sendUp(Packet* p)

Inherited from LinkDelay:

Public Methods

double bandwidth()
double delay()
void pktintran(int src, int group)
void send(Packet* p, Handler*)
inline double txtime(Packet* p)

Protected Fields

double bandwidth_
double delay_
int dynamic_
Event intr_
PacketQueue* itq_
int total_[4]

Protected Methods

void reset()

Inherited from Connector:

Public Methods

virtual void drop(Packet* p)
inline NsObject* target()

Protected Fields

NsObject* drop_
NsObject* target_

Protected Methods

virtual void drop(Packet* p, const char *s)

Inherited from NsObject:

Public Methods

virtual void debug(const char *fmt, ...)
virtual int delay_bind_dispatch(const char *varName, const char *localName, TclObject *tracer)
virtual void delay_bind_init_all()
int isdebug()

Protected Fields

int debug_
int off_cmn_
int off_flags_

Inherited from Handler:


Documentation

newLL()

virtual void recv(Packet* p, Handler* h)

void handle(Event *e)

inline int initialized()

friend void ARPTable::arpinput(Packet *p, newLL* ll)

friend void ARPTable::arprequest(nsaddr_t src, nsaddr_t dst, newLL* ll)

int command(int argc, const char*const* argv)

void dump(void)

virtual void sendUp(Packet* p)

virtual void sendDown(Packet* p)

int seqno_
link-layer sequence number

int off_newll_
offset of link-layer header

int off_newmac_
offset of MAC header

NsObject* downtarget_
where packet is passed down the stack

NsObject* uptarget_
where packet is passed up the stack

ARPTable* arptable_

newMac* mac_
MAC object

Queue* ifq_
interface queue

double mindelay_


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de