hdr_cmn Struct Reference

#include <packet.h>

Collaboration diagram for hdr_cmn:

Collaboration graph
[legend]

Detailed Description

Definition at line 447 of file packet.h.

Public Types

enum  dir_t { DOWN = -1, NONE = 0, UP = 1 }

Public Member Functions

int & addr_type ()
dir_tdirection ()
int & errbitcnt ()
int & error ()
int & fecsize ()
int & iface ()
nsaddr_tnext_hop ()
int & num_forwards ()
int & opt_num_forwards ()
packet_tptype ()
int & size ()
double & timestamp ()
double & txtime ()
int & uid ()

Static Public Member Functions

static hdr_cmnaccess (const Packet *p)
static int & offset ()

Data Fields

int addr_type_
dir_t direction_
int errbitcnt_
int error_
int fecsize_
int iface_
nsaddr_t last_hop_
nsaddr_t next_hop_
int num_forwards_
int opt_num_forwards_
nsaddr_t prev_hop_
packet_t ptype_
int size_
char src_rt_valid
double ts_
double ts_arr_
double txtime_
int uid_
FailureCallback xmit_failure_
void * xmit_failure_data_
int xmit_reason_

Static Public Attributes

static int offset_


Member Enumeration Documentation

enum hdr_cmn::dir_t
 

Enumerator:
DOWN 
NONE 
UP 

Definition at line 448 of file packet.h.

00448 { DOWN= -1, NONE= 0, UP= 1 };


Member Function Documentation

static hdr_cmn* hdr_cmn::access const Packet p  )  [inline, static]
 

Definition at line 493 of file packet.h.

References Packet::access(), and offset_.

Referenced by XcpSink::ack(), VatRcvr::adapt(), ConsRcvr::adapt(), BayReassemblyQueue::add(), FECModel::addfec(), SFDPolicy::applyMeter(), TSW3CMPolicy::applyMeter(), TSW2CMPolicy::applyMeter(), EWPolicy::applyPolicer(), TRTCMPolicy::applyPolicer(), SRTCMPolicy::applyPolicer(), TBPolicy::applyPolicer(), JoBS::arvAccounting(), JoBS::assignRateDropsADC(), MCastClassifier::classify(), MCastBSTClassifier::classify(), Mac802_3::collision(), SRMErrorModel::corrupt(), SelectErrorModel::corrupt(), ListErrorModel::corrupt(), PeriodicErrorModel::corrupt(), ErrorModel::corrupt(), ErrorModel::CorruptBit(), Decapsulator::decapPacket(), Vq::deque(), SRR::deque(), SemanticPacketQueue::deque(), RIOQueue::deque(), REMQueue::deque(), PacketQueue::deque(), dsREDQueue::deque(), DRR::deque(), Demarker::deque(), SemanticPacketQueue::deque_acksfirst(), XCPQueue::do_before_packet_departure(), XCPQueue::do_on_packet_arrival(), QueueMonitor::drop(), REDQueue::drop_early(), PIQueue::drop_early(), RIOQueue::drop_in_early(), RIOQueue::drop_out_early(), JoBS::dropFront(), Vq::dropPacketForECN(), JoBS::dropTail(), EDQueueMonitor::edrop(), Vq::enque(), SRR::enque(), SimpleIntServ::enque(), SemanticPacketQueue::enque(), RIOQueue::enque(), REMQueue::enque(), REDQueue::enque(), PacketQueue::enque(), PIQueue::enque(), Marker::enque(), JoBS::enque(), DRR::enque(), DropTail::enque(), PacketQueue::enqueHead(), QueueMonitor::estimateRate(), SemanticPacketQueue::filterAcks(), SRClassifier::find(), Trace::format(), SatTrace::format(), Trace::get_seqno(), DSRAgent::getRouteForPacket(), Snoop::handle(), DSRAgent::handleFlowForwarding(), DSRAgent::handleForwarding(), DSRAgent::handlePacketReceipt(), QueueMonitorCompat::in(), QueueMonitor::in(), Agent::initpkt(), QueueMonitor::keepRTTstats(), QueueMonitor::keepSeqnoStats(), GAFAgent::makeUpDiscoveryMsg(), XCPWrapQ::mark(), Vq::markPacketForECN(), JoBS::minRatesNeeded(), EDQueueMonitor::mon_edrop(), QueueMonitorCompat::out(), QueueMonitor::out(), XcpAgent::output(), TcpAgent::output(), RFC793eduTcpAgent::output(), QSNewRenoTcpAgent::output(), IntTcpAgent::output(), ErrorModel::PktLength(), DSRAgent::processFlowARS(), JoBS::projDelay(), FullTcpAgent::prpkt(), FullTcpAgent::reass(), XcpSink::recv(), UdpAgent::recv(), DequeTrace::recv(), TPAgent::recv(), TfrcSinkAgent::recv(), DelAckSink::recv(), TcpSink::recv(), QSTcpSink::recv(), FullTcpAgent::recv(), BayFullTcpAgent::recv(), TcpAsymSink::recv(), TBF::recv(), SRAgent::recv(), SessionHelper::recv(), SatDequeTrace::recv(), SatRouteAgent::recv(), SALink::recv(), SAack_Agent::recv(), SA_Agent::recv(), Replicator::recv(), NetworkInterface::recv(), MIPDecapsulator::recv(), MIPEncapsulator::recv(), MIPBSAgent::recv(), MessagePassingAgent::recv(), MeasureMod::recv(), mcastControlAgent::recv(), Mac::recv(), LossMonitor::recv(), GAFPartner::recv(), FQ::recv(), FECModel::recv(), ErrorModel::recv(), Encapsulator::recv(), DSRAgent::recv(), MCastBSTClassifier::recv(), NoDupChannel::recv(), Agent::recv(), AdaptiveRcvr::recv(), RTPSession::recv_ctrl(), HDLC::recvIncoming(), SemanticPacketQueue::remove(), PacketQueue::remove(), DSRAgent::returnSrcRouteToRequestor(), TaggerTSWFlow::run_rate_estimator(), HttpInvalAgent::send(), SRMAgent::send_ctrl(), SSMSRMAgent::send_ctrl(), RapAgent::SendAck(), WirelessPhy::sendDown(), UdpAgent::sendmsg(), SRMAgent::sendmsg(), MessagePassingAgent::sendmsg(), MIPMHAgent::sendOutBCastPkt(), MIPBSAgent::sendOutBCastPkt(), DSRAgent::sendOutBCastPkt(), DSRAgent::sendOutPacketWithRoute(), FullTcpAgent::sendpacket(), BayFullTcpAgent::sendpacket(), SctpAgent::SendPacket(), RapAgent::SendPacket(), TfrcAgent::sendpkt(), SA_Agent::sendpkt(), SA_Agent::sendreq(), DSRAgent::sendRouteShortening(), SA_Agent::sendteardown(), TPAgent::sendto(), MessagePassingAgent::sendto(), DSRAgent::sendUnknownFlow(), WirelessPhy::sendUp(), SatLL::sendUp(), LL::sendUp(), Flow::setfields(), FECModel::subfec(), TaggerTBFlow::tagging(), DSRAgent::tap(), SMAC::transmit(), Phy::txtime(), DelayModel::txtime(), LinkDelay::txtime(), DSRAgent::undeliverablePkt(), CBQClass::update(), EWdetectorB::updateAList(), JoBS::updateStats(), DSRAgent::xmitFailed(), and DSRAgent::xmitFlowFailed().

00493                                                    {
00494         return (hdr_cmn*) p->access(offset_);
00495     }

Here is the call graph for this function:

int& hdr_cmn::addr_type  )  [inline]
 

Definition at line 509 of file packet.h.

References addr_type_.

Referenced by ARPTable::arpinput(), toraAgent::forward(), AODV::forward(), DSRAgent::handleFlowForwarding(), imepAgent::handlerControlTimer(), imepAgent::imepPacketUndeliverable(), OmniMcastAgent::MACprepare(), FloodingAgent::MACprepare(), DiffusionAgent::MACprepare(), LandmarkAgent::periodic_callback(), imepAgent::sendAck(), imepAgent::sendBeacon(), toraAgent::sendCLR(), SatLL::sendDown(), HDLC::sendDown(), LL::sendDown(), AODV::sendError(), imepAgent::sendHello(), AODV::sendHello(), toraAgent::sendQRY(), HDLC::sendREJ(), AODV::sendReply(), AODV::sendRequest(), HDLC::sendRR(), HDLC::sendSREJ(), HDLC::sendUA(), and toraAgent::sendUPD().

00509 { return (addr_type_); }

dir_t& hdr_cmn::direction  )  [inline]
 

Definition at line 506 of file packet.h.

References direction_.

Referenced by ARPTable::arprequest(), toraAgent::forward(), AODV::forward(), SatRouteAgent::forwardPacket(), DSDV_Agent::forwardPacket(), SensorQueryAgent::generate_query(), DSRAgent::handleFlowForwarding(), Agent::initpkt(), OmniMcastAgent::MACprepare(), FloodingAgent::MACprepare(), DiffusionAgent::MACprepare(), Snoop::recv(), LLSnoop::recv(), SMAC::recv(), RepeaterPhy::recv(), SatLL::recv(), HDLC::recv(), Replicator::recv(), Phy::recv(), Phy802_15_4::recv(), Mac802_15_4::recv(), NetworkInterface::recv(), MacTdma::recv(), MacSimple::recv(), Mac802_11::recv(), LL::recv(), FECModel::recv(), DumbAgent::recv(), DSRAgent::recv(), BiConnector::recv(), SMAC::sendACK(), SMAC::sendCTS(), RepeaterPhy::sendDown(), AODV::sendError(), DSRAgent::sendOutBCastPkt(), AODV::sendReply(), SMAC::sendRTS(), SMAC::sendSYNC(), WirelessChannel::sendUp(), NoDupChannel::sendUp(), Channel::sendUp(), and Snoop::snoop_rxmit().

00506 { return (direction_); }

int& hdr_cmn::errbitcnt  )  [inline]
 

Definition at line 502 of file packet.h.

References errbitcnt_.

Referenced by ErrorModel::corrupt().

00502 {return errbitcnt_; }

int& hdr_cmn::error  )  [inline]
 

Definition at line 501 of file packet.h.

References error_.

Referenced by ARPTable::arprequest(), Mac802_15_4::constructACK(), SMAC::discard(), Mac802_11::discard(), imepAgent::handlerControlTimer(), SMAC::handleRecvTimer(), Agent::initpkt(), ErrorModel::recv(), Mac802_11::recv_timer(), MacTdma::recvHandler(), MacSimple::recvHandler(), Phy802_15_4::recvOverHandler(), SMAC::sendACK(), Mac802_11::sendACK(), imepAgent::sendAck(), imepAgent::sendBeacon(), toraAgent::sendCLR(), SMAC::sendCTS(), Mac802_11::sendCTS(), AODV::sendError(), imepAgent::sendHello(), AODV::sendHello(), toraAgent::sendQRY(), HDLC::sendREJ(), AODV::sendReply(), AODV::sendRequest(), HDLC::sendRR(), SMAC::sendRTS(), Mac802_11::sendRTS(), HDLC::sendSREJ(), SMAC::sendSYNC(), HDLC::sendUA(), WirelessPhy::sendUp(), MacTdma::sendUp(), toraAgent::sendUPD(), and Mac802_11::transmit().

00501 { return error_; }

int& hdr_cmn::fecsize  )  [inline]
 

Definition at line 503 of file packet.h.

References fecsize_.

Referenced by FECModel::addfec(), and FECModel::subfec().

00503 {return fecsize_; }

int& hdr_cmn::iface  )  [inline]
 

Definition at line 505 of file packet.h.

References iface_.

Referenced by ARPTable::arprequest(), MCastClassifier::classify(), MCastBSTClassifier::classify(), Mac802_15_4::constructACK(), imepAgent::handlerControlTimer(), Agent::initpkt(), Replicator::recv(), NetworkInterface::recv(), mcastControlAgent::recv(), LmsAgent::recv(), MCastBSTClassifier::recv(), SMAC::sendACK(), Mac802_11::sendACK(), imepAgent::sendAck(), imepAgent::sendBeacon(), toraAgent::sendCLR(), SMAC::sendCTS(), Mac802_11::sendCTS(), AODV::sendError(), imepAgent::sendHello(), AODV::sendHello(), toraAgent::sendQRY(), HDLC::sendREJ(), AODV::sendReply(), AODV::sendRequest(), HDLC::sendRR(), SMAC::sendRTS(), Mac802_11::sendRTS(), HDLC::sendSREJ(), SMAC::sendSYNC(), HDLC::sendUA(), and toraAgent::sendUPD().

00505 { return (iface_); }

nsaddr_t& hdr_cmn::next_hop  )  [inline]
 

Definition at line 508 of file packet.h.

References next_hop_.

Referenced by OmniMcastAgent::ArpBufferCheck(), DiffusionAgent::ArpBufferCheck(), ARPTable::arpinput(), DiffusionRate::BcastNeg(), PriQueue::filter(), toraAgent::forward(), DiffusionRate::FwdOriginal(), DiffusionRate::FwdSubsample(), DSRAgent::handleFlowForwarding(), imepAgent::imepPacketUndeliverable(), DiffusionRate::InterestHandle(), OmniMcastAgent::MACprepare(), FloodingAgent::MACprepare(), DiffusionAgent::MACprepare(), LandmarkAgent::periodic_callback(), DiffusionRate::PosReinf(), SatLL::sendDown(), HDLC::sendDown(), LL::sendDown(), and DiffusionRate::UcastNeg().

00508 { return (next_hop_); }

int& hdr_cmn::num_forwards  )  [inline]
 

Definition at line 510 of file packet.h.

References num_forwards_.

Referenced by CMUTrace::format_tcp(), DSRAgent::getRouteForPacket(), SatRouteAgent::recv(), MIPBSAgent::recv(), DSDV_Agent::recv(), MacTdma::recvDATA(), and Mac802_11::recvDATA().

00510 { return (num_forwards_); }

static int& hdr_cmn::offset  )  [inline, static]
 

Definition at line 492 of file packet.h.

References offset_.

00492 { return offset_; }

int& hdr_cmn::opt_num_forwards  )  [inline]
 

Definition at line 511 of file packet.h.

References opt_num_forwards_.

Referenced by CMUTrace::format_tcp(), and God::stampPacket().

00511 { return (opt_num_forwards_); }

packet_t& hdr_cmn::ptype  )  [inline]
 

Definition at line 498 of file packet.h.

References ptype_.

Referenced by imepAgent::aggregateObjectBlock(), EWPolicy::applyPolicer(), ARPTable::arprequest(), Mac802_15_4::constructACK(), LMSErrorModel::corrupt(), SRMErrorModel::corrupt(), SelectErrorModel::corrupt(), Decapsulator::decapPacket(), SimpleIntServ::enque(), PushbackQueue::enque(), Trace::format(), SatTrace::format(), CMUTrace::format(), CMUTrace::format_ip(), AODV::forward(), Trace::get_seqno(), DSRAgent::getRouteForPacket(), Snoop::handle(), imepAgent::handlerControlTimer(), Agent::initpkt(), QueueMonitor::keepRTTstats(), QueueMonitor::keepSeqnoStats(), PacketTypeLog::log(), XCPWrapQ::mark(), Mac802_15_4::mcps_data_request(), CMUTrace::nam_format(), RateLimitStrategy::process(), CMUPriQueue::prq_assign_queue(), DequeTrace::recv(), toraAgent::recv(), SALink::recv(), SAack_Agent::recv(), SA_Agent::recv(), PriQueue::recv(), GAFPartner::recv(), Encapsulator::recv(), DSRAgent::recv(), AODV::recv(), imepAgent::recv_incoming(), imepAgent::recv_outgoing(), DSRAgent::returnSrcRouteToRequestor(), AODV::rt_ll_failed(), toraAgent::rtRoutePacket(), SMAC::sendACK(), Mac802_11::sendACK(), imepAgent::sendAck(), imepAgent::sendBeacon(), toraAgent::sendCLR(), SMAC::sendCTS(), Mac802_11::sendCTS(), AODV::sendError(), imepAgent::sendHello(), AODV::sendHello(), SRMAgent::sendmsg(), LmsSender::sendmsg(), DSRAgent::sendOutPacketWithRoute(), toraAgent::sendQRY(), HDLC::sendREJ(), AODV::sendReply(), SA_Agent::sendreq(), AODV::sendRequest(), DSRAgent::sendRouteShortening(), HDLC::sendRR(), SMAC::sendRTS(), Mac802_11::sendRTS(), HDLC::sendSREJ(), SMAC::sendSYNC(), SA_Agent::sendteardown(), HDLC::sendUA(), toraAgent::sendUPD(), Flow::setfields(), God::stampPacket(), Mac802_15_4::taskSuccess(), imepAgent::toraCreateHeader(), MacTdma::trace_pkt(), Mac802_11::trace_pkt(), and wpan_pName().

00498 { return (ptype_); }

int& hdr_cmn::size  )  [inline]
 

Definition at line 499 of file packet.h.

References size_.

Referenced by BayReassemblyQueue::add(), FECModel::addfec(), imepAgent::aggregateAckBlock(), imepAgent::aggregateHelloBlock(), imepAgent::aggregateObjectBlock(), SFDPolicy::applyMeter(), TSW3CMPolicy::applyMeter(), TSW2CMPolicy::applyMeter(), EWPolicy::applyPolicer(), TRTCMPolicy::applyPolicer(), SRTCMPolicy::applyPolicer(), TBPolicy::applyPolicer(), ARPTable::arprequest(), Phy802_15_4::construct_PPDU(), Mac802_15_4::constructACK(), Mac802_15_4::constructMPDU(), ListErrorModel::corrupt(), PeriodicErrorModel::corrupt(), ErrorModel::CorruptBit(), OmniMcastAgent::create_packet(), FloodingAgent::create_packet(), DiffusionAgent::create_packet(), SinkAgent::create_packet(), imepAgent::createResponseList(), Mac802_15_4::csmacaCallBack(), Vq::deque(), SRR::deque(), RIOQueue::deque(), REMQueue::deque(), PacketQueue::deque(), DRR::deque(), QueueMonitor::drop(), REDQueue::drop_early(), PIQueue::drop_early(), RIOQueue::drop_in_early(), RIOQueue::drop_out_early(), JoBS::dropFront(), Vq::dropPacketForECN(), JoBS::dropTail(), EDQueueMonitor::edrop(), Vq::enque(), SRR::enque(), RIOQueue::enque(), REMQueue::enque(), PacketQueue::enque(), PIQueue::enque(), DRR::enque(), DropTail::enque(), PacketQueue::enqueHead(), RateEstimator::estimateRate(), QueueMonitor::estimateRate(), CMUTrace::format_ip(), DSRAgent::getRouteForPacket(), HDLC::goBackNMode(), imepAgent::handlerControlTimer(), QueueMonitor::in(), Agent::initpkt(), HDLC::inSendBuffer(), OmniMcastAgent::MACsend(), FloodingAgent::MACsend(), DiffusionAgent::MACsend(), Vq::markPacketForECN(), EDQueueMonitor::mon_edrop(), NatAgent::nat(), QueueMonitorCompat::out(), QueueMonitor::out(), XcpAgent::output(), TcpAgent::output(), RFC793eduTcpAgent::output(), QSNewRenoTcpAgent::output(), IntTcpAgent::output(), Phy802_15_4::PD_DATA_request(), LandmarkAgent::periodic_callback(), ErrorModel::PktLength(), Phy802_15_4::PLME_SET_request(), Phy802_15_4::PLME_SET_TRX_STATE_request(), TCPTapAgent::processpkt(), IPTapAgent::processpkt(), FullTcpAgent::prpkt(), FullTcpAgent::reass(), XcpSink::recv(), UdpAgent::recv(), TPAgent::recv(), TfrcSinkAgent::recv(), DelAckSink::recv(), TcpSink::recv(), SimpleTcpAgent::recv(), QSTcpSink::recv(), FullTcpAgent::recv(), BayFullTcpAgent::recv(), TcpAsymSink::recv(), SRAgent::recv(), SessionHelper::recv(), SAack_Agent::recv(), PingResponder::recv(), Phy802_15_4::recv(), Mac802_15_4::recv(), MIPDecapsulator::recv(), MIPEncapsulator::recv(), MessagePassingAgent::recv(), MeasureMod::recv(), LossMonitor::recv(), LandmarkAgent::recv(), FQ::recv(), ErrorModel::recv(), Encapsulator::recv(), DSDV_Agent::recv(), RTPSession::recv_ctrl(), Mac802_11::recvACK(), Mac802_15_4::recvBeacon(), Mac802_15_4::recvCommand(), Mac802_15_4::recvData(), MacTdma::recvDATA(), Mac802_11::recvDATA(), MacTdma::recvHandler(), Phy802_15_4::recvOverHandler(), IdentStruct::registerDrop(), PacketQueue::remove(), Mac802_11::RetransmitDATA(), Mac802_11::RetransmitRTS(), DSRAgent::returnSrcRouteToRequestor(), HDLC::selectiveRepeatMode(), MacTdma::send(), MacSimple::send(), HttpInvalAgent::send(), SRMAgent::send_ctrl(), SSMSRMAgent::send_ctrl(), LmsReceiver::send_dmcast(), SMAC::sendACK(), RapAgent::SendAck(), Mac802_11::sendACK(), imepAgent::sendAck(), imepAgent::sendBeacon(), toraAgent::sendCLR(), SMAC::sendCTS(), Mac802_11::sendCTS(), Mac802_11::sendDATA(), MacTdma::sendDown(), AODV::sendError(), imepAgent::sendHello(), AODV::sendHello(), UdpAgent::sendmsg(), SimpleTcpAgent::sendmsg(), SRMAgent::sendmsg(), MessagePassingAgent::sendmsg(), DSRAgent::sendOutPacketWithRoute(), FullTcpAgent::sendpacket(), BayFullTcpAgent::sendpacket(), SctpAgent::SendPacket(), RapAgent::SendPacket(), TfrcAgent::sendpkt(), SA_Agent::sendpkt(), SinkAgent::sendpkt(), toraAgent::sendQRY(), IcmpAgent::sendredirect(), HDLC::sendREJ(), AODV::sendReply(), SA_Agent::sendreq(), AODV::sendRequest(), DSRAgent::sendRouteShortening(), HDLC::sendRR(), SMAC::sendRTS(), Mac802_11::sendRTS(), HDLC::sendSREJ(), SMAC::sendSYNC(), SA_Agent::sendteardown(), TPAgent::sendto(), MessagePassingAgent::sendto(), HDLC::sendUA(), WirelessChannel::sendUp(), toraAgent::sendUPD(), FECModel::subfec(), Mac802_15_4::taskFailed(), Mac802_15_4::taskSuccess(), imepAgent::toraCreateHeader(), MacTdma::trace_pkt(), Mac802_11::trace_pkt(), Phy802_15_4::trxTime(), Mac802_15_4::txHandler(), DelayModel::txtime(), DSRAgent::undeliverablePkt(), CBQClass::update(), EWdetectorB::updateAList(), JoBS::updateStats(), and DSRAgent::xmitFailed().

00499 { return (size_); }

double& hdr_cmn::timestamp  )  [inline]
 

Definition at line 504 of file packet.h.

References ts_.

Referenced by VatRcvr::adapt(), ConsRcvr::adapt(), QueueMonitorCompat::in(), Agent::initpkt(), QueueMonitorCompat::out(), QueueMonitor::out(), Encapsulator::recv(), AdaptiveRcvr::recv(), UdpAgent::sendmsg(), MessagePassingAgent::sendmsg(), SA_Agent::sendpkt(), TPAgent::sendto(), and MessagePassingAgent::sendto().

00504 { return (ts_); }

double& hdr_cmn::txtime  )  [inline]
 

Definition at line 489 of file packet.h.

References txtime_.

Referenced by Phy802_15_4::construct_PPDU(), MacTdma::send(), MacSimple::send(), Mac802_11::sendACK(), Mac802_11::sendCTS(), Mac802_11::sendDATA(), WirelessPhy::sendDown(), Mac802_11::sendRTS(), WirelessPhy::sendUp(), SMAC::transmit(), MacSimple::txtime(), and Mac802_11::txtime().

00489 { return(txtime_); }

int& hdr_cmn::uid  )  [inline]
 

Definition at line 500 of file packet.h.

References uid_.

Referenced by ARPTable::arprequest(), Mac802_3::collision(), Mac802_15_4::constructACK(), SelectErrorModel::corrupt(), Mac802_15_4::csmacaCallBack(), Packet::dump_header(), CMUTrace::format_ip(), SMAC::handleDATA(), imepAgent::handlerControlTimer(), imepAgent::handlerReXmitTimer(), Agent::initpkt(), Phy802_15_4::PD_DATA_request(), Phy802_15_4::PLME_SET_request(), Phy802_15_4::PLME_SET_TRX_STATE_request(), FullTcpAgent::prpkt(), Phy802_15_4::recv(), Mac802_15_4::recv(), Mac802_15_4::recvAck(), Mac802_15_4::recvBeacon(), Mac802_15_4::recvCommand(), Mac802_15_4::recvData(), Phy802_15_4::recvOverHandler(), SMAC::sendACK(), Mac802_11::sendACK(), imepAgent::sendAck(), imepAgent::sendBeacon(), toraAgent::sendCLR(), SMAC::sendCTS(), Mac802_11::sendCTS(), imepAgent::sendHello(), toraAgent::sendQRY(), HDLC::sendREJ(), HDLC::sendRR(), SMAC::sendRTS(), Mac802_11::sendRTS(), HDLC::sendSREJ(), SMAC::sendSYNC(), HDLC::sendUA(), toraAgent::sendUPD(), Mac802_15_4::taskFailed(), and Mac802_15_4::txHandler().

00500 { return (uid_); }


Field Documentation

int hdr_cmn::addr_type_
 

Definition at line 465 of file packet.h.

Referenced by addr_type(), DSDV_Agent::forwardPacket(), SensorQueryAgent::generate_query(), DSDV_Agent::lost_link(), LandmarkAgent::makeUpdate(), DSDV_Agent::makeUpdate(), GAFAgent::makeUpDiscoveryMsg(), MIPMHAgent::sendOutBCastPkt(), and MIPBSAgent::sendOutBCastPkt().

dir_t hdr_cmn::direction_
 

Definition at line 457 of file packet.h.

Referenced by direction().

int hdr_cmn::errbitcnt_
 

Definition at line 453 of file packet.h.

Referenced by errbitcnt().

int hdr_cmn::error_
 

Definition at line 452 of file packet.h.

Referenced by error().

int hdr_cmn::fecsize_
 

Definition at line 454 of file packet.h.

Referenced by fecsize().

int hdr_cmn::iface_
 

Definition at line 456 of file packet.h.

Referenced by iface().

nsaddr_t hdr_cmn::last_hop_
 

Definition at line 466 of file packet.h.

Referenced by HDLC::ack(), SatLL::getRoute(), HDLC::goBackNMode(), HDLC::handleDISC(), HDLC::handleSABMErequest(), HDLC::handleUA(), HDLC::selectiveRepeatMode(), SatLL::sendDown(), and HDLC::sendDown().

nsaddr_t hdr_cmn::next_hop_
 

Definition at line 464 of file packet.h.

Referenced by DiffusionRate::consider_new(), DiffusionRate::consider_old(), Mac802_15_4::constructACK(), AODV::forward(), DSDV_Agent::forwardPacket(), SensorQueryAgent::generate_query(), SatLL::getRoute(), AODV::log_link_broke(), toraAgent::log_link_layer_feedback(), toraAgent::log_link_layer_recycle(), DSDV_Agent::lost_link(), LandmarkAgent::makeUpdate(), DSDV_Agent::makeUpdate(), GAFAgent::makeUpDiscoveryMsg(), CMUTrace::nam_format(), next_hop(), AODV::rt_ll_failed(), AODV::sendError(), MIPMHAgent::sendOutBCastPkt(), MIPBSAgent::sendOutBCastPkt(), and AODV::sendReply().

int hdr_cmn::num_forwards_
 

Definition at line 483 of file packet.h.

Referenced by num_forwards().

int hdr_cmn::offset_ [static]
 

Definition at line 491 of file packet.h.

Referenced by access(), CommonHeaderClass::CommonHeaderClass(), and offset().

int hdr_cmn::opt_num_forwards_
 

Definition at line 484 of file packet.h.

Referenced by opt_num_forwards().

nsaddr_t hdr_cmn::prev_hop_
 

Definition at line 463 of file packet.h.

Referenced by toraAgent::forward(), imepAgent::handlerControlTimer(), toraAgent::log_link_layer_recycle(), imepAgent::recv(), imepAgent::sendAck(), imepAgent::sendBeacon(), toraAgent::sendCLR(), AODV::sendError(), imepAgent::sendHello(), AODV::sendHello(), toraAgent::sendQRY(), AODV::sendReply(), AODV::sendRequest(), and toraAgent::sendUPD().

packet_t hdr_cmn::ptype_
 

Definition at line 449 of file packet.h.

Referenced by LmsClassifier::classify(), SemanticPacketQueue::deque_acksfirst(), PushbackQueue::enque(), ptype(), HDLC::recv(), LmsSender::recv(), LmsReceiver::recv(), LL::recv(), and LmsReceiver::send_dmcast().

int hdr_cmn::size_
 

Definition at line 450 of file packet.h.

Referenced by SensorQueryAgent::generate_query(), LandmarkAgent::makeUpdate(), GAFAgent::makeUpDiscoveryMsg(), TokenBucketRateLimiter::rateLimit(), LmsReceiver::recv(), FloodAgent::recv(), DiffusionProb::ReTxData(), TaggerTSWFlow::run_rate_estimator(), LmsSender::send_dmcast(), LmsReceiver::send_dmcast(), LmsReceiver::send_nak(), LmsReceiver::send_refresh(), SMAC::sendMsg(), LmsSender::sendmsg(), size(), and TaggerTBFlow::tagging().

char hdr_cmn::src_rt_valid
 

Definition at line 459 of file packet.h.

Referenced by SRClassifier::find(), and SRAgent::recv().

double hdr_cmn::ts_
 

Definition at line 455 of file packet.h.

Referenced by JoBS::assignRateDropsADC(), rtqueue::enque(), JoBS::enque(), aodv_rqueue::enque(), aodv_rqueue::findAgedPacket(), JoBS::minRatesNeeded(), rtqueue::purge(), and timestamp().

double hdr_cmn::ts_arr_
 

Definition at line 460 of file packet.h.

Referenced by Demarker::deque(), and Marker::enque().

double hdr_cmn::txtime_
 

Definition at line 488 of file packet.h.

Referenced by txtime().

int hdr_cmn::uid_
 

Definition at line 451 of file packet.h.

Referenced by AODV::log_link_broke(), toraAgent::log_link_layer_feedback(), toraAgent::log_link_layer_recycle(), and uid().

FailureCallback hdr_cmn::xmit_failure_
 

Definition at line 470 of file packet.h.

Referenced by ARPTable::arpresolve(), DSDV_Agent::forwardPacket(), DSRAgent::handleFlowForwarding(), imepAgent::imep_output(), OmniMcastAgent::MACprepare(), FloodingAgent::MACprepare(), DiffusionAgent::MACprepare(), Mac802_11::RetransmitRTS(), AODV::rt_resolve(), Mac802_15_4::taskFailed(), and Mac802_15_4::taskSuccess().

void* hdr_cmn::xmit_failure_data_
 

Definition at line 471 of file packet.h.

Referenced by ARPTable::arpresolve(), DSDV_Agent::forwardPacket(), DSRAgent::handleFlowForwarding(), imepAgent::imep_output(), OmniMcastAgent::MACprepare(), DiffusionAgent::MACprepare(), Mac802_11::RetransmitRTS(), AODV::rt_resolve(), Mac802_15_4::taskFailed(), and Mac802_15_4::taskSuccess().

int hdr_cmn::xmit_reason_
 

Definition at line 478 of file packet.h.

Referenced by ARPTable::arpresolve(), imepAgent::imep_output(), AODV::log_link_broke(), toraAgent::log_link_layer_feedback(), Mac802_11::RetransmitRTS(), Mac802_15_4::taskFailed(), and Mac802_15_4::taskSuccess().


The documentation for this struct was generated from the following files:
Generated on Tue Mar 6 17:10:06 2007 for ns2 Network Simulator 2.29 by  doxygen 1.4.6