struct hdr_cmn


inline static hdr_cmn* access(Packet* p)
inline int& addr_type()
int addr_type_
type of next_hop_ addr
enum dir_t
inline dir_t& direction()
dir_t direction_
direction: 0=none, 1=up, -1=down
inline int& error()
int error_
error flag
inline int& iface()
int iface_
receiving interface (label)
nsaddr_t last_hop_
for tracing on multi-user channels
inline nsaddr_t& next_hop()
monarch_begin
nsaddr_t next_hop_
next hop for this packet
inline int& num_forwards()
int num_forwards_
filled in by GOD on first transmission, used for trace analysis how many times this pkt was forwarded
inline static int& offset()
static int offset_
offset for this header
inline int& opt_num_forwards()
int opt_num_forwards_
optimal forwards
nsaddr_t prev_hop_
Monarch extn begins IP addr of forwarding hop
inline packet_t& ptype()
per-field member functions
packet_t ptype_
packet type (see above)
inline int& ref_count()
int ref_count_
free the pkt until count to 0
inline int& size()
int size_
simulated packet size
inline double& timestamp()
double ts_
timestamp: for q-delay measurement
inline int& uid()
int uid_
unique id
FailureCallback xmit_failure_
called if pkt can't obtain media or isn't ack'd. not called if droped by a queue
void* xmit_failure_data_
int xmit_reason_
MONARCH wants to know if the MAC layer is passing this back because it could not get the RTS through or because it did not receive an ACK
#define XMIT_REASON_ACK
#define XMIT_REASON_RTS

Documentation

enum dir_t

packet_t ptype_
packet type (see above)

int size_
simulated packet size

int uid_
unique id

int error_
error flag

double ts_
timestamp: for q-delay measurement

int iface_
receiving interface (label)

dir_t direction_
direction: 0=none, 1=up, -1=down

int ref_count_
free the pkt until count to 0

nsaddr_t prev_hop_
Monarch extn begins IP addr of forwarding hop

nsaddr_t next_hop_
next hop for this packet

int addr_type_
type of next_hop_ addr

nsaddr_t last_hop_
for tracing on multi-user channels

FailureCallback xmit_failure_
called if pkt can't obtain media or isn't ack'd. not called if droped by a queue

void* xmit_failure_data_

int xmit_reason_
MONARCH wants to know if the MAC layer is passing this back because it could not get the RTS through or because it did not receive an ACK

#define XMIT_REASON_RTS

#define XMIT_REASON_ACK

int num_forwards_
filled in by GOD on first transmission, used for trace analysis how many times this pkt was forwarded

int opt_num_forwards_
optimal forwards

static int offset_
offset for this header

inline static int& offset()

inline static hdr_cmn* access(Packet* p)

inline packet_t& ptype()
per-field member functions

inline int& size()

inline int& uid()

inline int& error()

inline double& timestamp()

inline int& iface()

inline dir_t& direction()

inline int& ref_count()

inline nsaddr_t& next_hop()
monarch_begin

inline int& addr_type()

inline int& num_forwards()

inline int& opt_num_forwards()

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