class Phy : public BiConnector


Inheritance:


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)
list of all network interfaces on a channel
Phy* nextnode(void)
list of all network interfaces on a node
virtual Node* node(void)
Phy()
void recv(Packet* p, Handler* h)
inline void removechnl()
virtual void sendDown(Packet *p)
virtual int sendUp(Packet *p)
void setchnl(Channel *chnl)
virtual void setnode(Node *node)
inline double txtime(Packet *p)
inline double txtime(int bytes)

Protected Fields

double bandwidth_
bit rate
Channel* channel_
the channel for output
LinkHead* head_
the entry point of this network stack
int index_
Node* node_

Protected Methods

int command(int argc, const char*const* argv)
void drop(Packet *p);
LIST_ENTRY(Phy)
A list of all "network interfaces" for a given node
LIST_ENTRY(Phy)
A list of all "network interfaces" on a given channel

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

Phy()

void recv(Packet* p, Handler* h)

virtual void sendDown(Packet *p)

virtual int sendUp(Packet *p)

inline double txtime(Packet *p)

inline double txtime(int bytes)

virtual double bittime()

Phy* nextchnl(void)
list of all network interfaces on a channel

inline void insertchnl(struct if_head *head)

Phy* nextnode(void)
list of all network interfaces on a node

inline void insertnode(struct if_head* head)

inline void removechnl()

void setchnl(Channel *chnl)

virtual void setnode(Node *node)

virtual Node* node(void)

virtual Channel* channel(void)

virtual void dump(void)

LinkHead* head()

int command(int argc, const char*const* argv)
void drop(Packet *p);

int index_

Node* node_

LinkHead* head_
the entry point of this network stack

LIST_ENTRY(Phy)
A list of all "network interfaces" on a given channel. Note: a node may have multiple interfaces, each of which is on a different channel.

LIST_ENTRY(Phy)
A list of all "network interfaces" for a given node. Each interface is assoicated with exactly one node and one channel.

double bandwidth_
bit rate

Channel* channel_
the channel for output


Direct child classes:
WirelessPhy
WiredPhy
SatPhy
RepeaterPhy

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