class <Mac/Sat> SatMac : public Mac


Inheritance:


Public Methods

virtual void recv_timer()
SatMac()
virtual void send_timer()
void sendDown(Packet* p)
void sendUp(Packet *p)

Protected Fields

MacRecvTimer recv_timer_
MacSendTimer send_timer_

Protected Methods

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

Inherited from Mac:

Public Fields

Mac instvar mclass_

Public Methods

inline int addr()
inline double bandwidth()
Mac instproc classify-macs {peerinfo}
virtual inline int hdr_dst(char* hdr, int dst = -2)
virtual inline int hdr_src(char* hdr, int src = -2)
virtual inline int hdr_type(char *hdr, u_int16_t type = 0)
virtual void installTap(Tap *t)
virtual void recv(Packet* p, Handler* h)
virtual void resume(Packet* p = 0)
inline MacState state(int m)
inline MacState state()
inline double txtime(int bytes)
inline double txtime(Packet* p)

Protected Fields

double bandwidth_
Handler* callback_
Channel* channel_
double delay_
MacHandlerResume hRes_
MacHandlerSend hSend_
int index_
Event intr_
LL* ll_
Phy* netif_
int off_mac_
Packet* pktRx_
Packet* pktTx_
MacState state_
Tap* tap_

Protected Methods

virtual int initialized()

Private Fields

NsObject* logtarget_

Private Methods

void mac_log(Packet *p)

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

SatMac()

void sendDown(Packet* p)

void sendUp(Packet *p)

virtual void send_timer()

virtual void recv_timer()

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

MacSendTimer send_timer_

MacRecvTimer recv_timer_


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