#include <packet.h>
Collaboration diagram for hdr_cmn:

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_t & | direction () |
| int & | errbitcnt () |
| int & | error () |
| int & | fecsize () |
| int & | iface () |
| nsaddr_t & | next_hop () |
| int & | num_forwards () |
| int & | opt_num_forwards () |
| packet_t & | ptype () |
| int & | size () |
| double & | timestamp () |
| double & | txtime () |
| int & | uid () |
Static Public Member Functions | |
| static hdr_cmn * | access (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_ |
|
|
Definition at line 448 of file packet.h.
|
|
|
|
|
|
Definition at line 502 of file packet.h. References errbitcnt_. Referenced by ErrorModel::corrupt(). 00502 {return errbitcnt_; }
|
|
|
|
Definition at line 503 of file packet.h. References fecsize_. Referenced by FECModel::addfec(), and FECModel::subfec(). 00503 {return fecsize_; }
|
|
|
|
|
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_); }
|
|
|
Definition at line 492 of file packet.h. References offset_. 00492 { return offset_; }
|
|
|
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_); }
|
|
|
|
|
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_); }
|
|
|
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_); }
|
|
|
|
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(). |
|
|
Definition at line 457 of file packet.h. Referenced by direction(). |
|
|
Definition at line 453 of file packet.h. Referenced by errbitcnt(). |
|
|
Definition at line 452 of file packet.h. Referenced by error(). |
|
|
Definition at line 454 of file packet.h. Referenced by fecsize(). |
|
|
Definition at line 456 of file packet.h. Referenced by iface(). |
|
|
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(). |
|
|
|
Definition at line 483 of file packet.h. Referenced by num_forwards(). |
|
|
Definition at line 491 of file packet.h. Referenced by access(), CommonHeaderClass::CommonHeaderClass(), and offset(). |
|
|
Definition at line 484 of file packet.h. Referenced by opt_num_forwards(). |
|
|
|
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(). |
|
|
|
Definition at line 459 of file packet.h. Referenced by SRClassifier::find(), and SRAgent::recv(). |
|
|
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(). |
|
|
Definition at line 460 of file packet.h. Referenced by Demarker::deque(), and Marker::enque(). |
|
|
Definition at line 488 of file packet.h. Referenced by txtime(). |
|
|
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(). |
|
|
|
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(). |
|
|
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(). |
1.4.6