class <Phy/WiredPhy> WiredPhy : public Phy


Inheritance:


Public Methods

void sendDown(Packet *p)
send outgoing packet to downstream object by simply stamping each packet with interface info.
int sendUp(Packet *p)
determine if pkt can be recvd.from channel, using diff propagation models; then send to upstream obj.
WiredPhy(void)

Protected Methods

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

Private Methods

inline int initialized()

Inherited from Phy:

Public Methods

virtual double bittime()
virtual Channel* channel(void)
virtual void dump(void)
LinkHead* head()
inline void insertchnl(struct if_head *head)
inline void insertnode(struct if_head* head)
Phy* nextchnl(void)
Phy* nextnode(void)
virtual Node* node(void)
void recv(Packet* p, Handler* h)
inline void removechnl()
void setchnl(Channel *chnl)
virtual void setnode(Node *node)
inline double txtime(Packet *p)
inline double txtime(int bytes)

Protected Fields

double bandwidth_
Channel* channel_
LinkHead* head_
int index_
Node* node_

Protected Methods

LIST_ENTRY(Phy)
LIST_ENTRY(Phy)

Inherited from BiConnector:

Public Methods

NsObject* downtarget()
virtual void drop(Packet* p)
inline NsObject* uptarget()

Protected Fields

NsObject* downtarget_
NsObject* drop_
NsObject* uptarget_

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_

Protected Methods

void handle(Event*)
virtual void reset()

Inherited from Handler:


Documentation

WiredPhy(void)

void sendDown(Packet *p)
send outgoing packet to downstream object by simply stamping each packet with interface info.

int sendUp(Packet *p)
determine if pkt can be recvd.from channel, using diff propagation models; then send to upstream obj.

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

inline int initialized()


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