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

Public Types | |
| enum | dir_t { DOWN = -1, NONE = 0, UP = 1 } |
Public Member Functions | |
| double & | txtime () |
| packet_t & | ptype () |
| int & | size () |
| int & | uid () |
| int & | error () |
| int & | errbitcnt () |
| int & | fecsize () |
| double & | timestamp () |
| int & | iface () |
| dir_t & | direction () |
| nsaddr_t & | next_hop () |
| int & | addr_type () |
| int & | num_forwards () |
| int & | opt_num_forwards () |
Static Public Member Functions | |
| int & | offset () |
| hdr_cmn * | access (const Packet *p) |
Public Attributes | |
| packet_t | ptype_ |
| int | size_ |
| int | uid_ |
| int | error_ |
| int | errbitcnt_ |
| int | fecsize_ |
| double | ts_ |
| int | iface_ |
| dir_t | direction_ |
| char | src_rt_valid |
| double | ts_arr_ |
| nsaddr_t | prev_hop_ |
| nsaddr_t | next_hop_ |
| int | addr_type_ |
| nsaddr_t | last_hop_ |
| FailureCallback | xmit_failure_ |
| void * | xmit_failure_data_ |
| int | xmit_reason_ |
| int | num_forwards_ |
| int | opt_num_forwards_ |
| double | txtime_ |
Static Public Attributes | |
| int | offset_ |
|
|
Definition at line 417 of file packet.h. Referenced by direction().
|
|
Here is the call graph for this function:

|
|
Definition at line 478 of file packet.h. References addr_type_. Referenced by ARPTable::arpinput(), DSRAgent::handleFlowForwarding(), OmniMcastAgent::MACprepare(), FloodingAgent::MACprepare(), DiffusionAgent::MACprepare(), LandmarkAgent::periodic_callback(), SRForwarder::recv(), SatLL::sendDown(), LL::sendDown(), and DSRAgent::sendOutPacketWithRoute().
00478 { return (addr_type_); }
|
|
|
|
Definition at line 471 of file packet.h. References errbitcnt_. Referenced by ErrorModel::corrupt(), and FECModel::recv().
00471 {return errbitcnt_; }
|
|
|
Definition at line 470 of file packet.h. References error_. Referenced by ARPTable::arpinput(), ARPTable::arprequest(), SMAC::discard(), Mac802_11::discard(), Snoop::handle(), Agent::initpkt(), FECModel::recv(), ErrorModel::recv(), Mac802_3::recv_complete(), Mac802_11::recv_timer(), Mac802_11::sendACK(), Mac802_11::sendCTS(), Mac802_11::sendRTS(), WirelessPhy::sendUp(), SatLL::sendUp(), and LL::sendUp().
00470 { return error_; }
|
|
|
Definition at line 472 of file packet.h. References fecsize_. Referenced by FECModel::addfec(), and FECModel::subfec().
00472 {return fecsize_; }
|
|
|
Definition at line 474 of file packet.h. References iface_. Referenced by ARPTable::arprequest(), MCastClassifier::classify(), MCastBSTClassifier::classify(), Agent::initpkt(), Replicator::recv(), NetworkInterface::recv(), mcastControlAgent::recv(), LmsAgent::recv(), MCastBSTClassifier::recv(), Mac802_11::sendACK(), Mac802_11::sendCTS(), and Mac802_11::sendRTS().
00474 { return (iface_); }
|
|
|
|
Definition at line 479 of file packet.h. References num_forwards_. Referenced by DSRAgent::getRouteForPacket(), SatRouteAgent::recv(), MIPBSAgent::recv(), DSDV_Agent::recv(), DSRAgent::sendUnknownFlow(), and DSRAgent::xmitFailed().
00479 { return (num_forwards_); }
|
|
|
Definition at line 461 of file packet.h. References offset_.
00461 { return offset_; }
|
|
|
Definition at line 480 of file packet.h. References opt_num_forwards_. Referenced by God::stampPacket().
00480 { return (opt_num_forwards_); }
|
|
|
|
|
Definition at line 473 of file packet.h. References ts_. Referenced by VatRcvr::adapt(), ConsRcvr::adapt(), QueueMonitorCompat::in(), QueueMonitor::in(), Agent::initpkt(), QueueMonitorCompat::out(), QueueMonitor::out(), Encapsulator::recv(), AdaptiveRcvr::recv(), TapAgent::recvpkt(), UdpAgent::sendmsg(), and SA_Agent::sendpkt().
00473 { return (ts_); }
|
|
|
Definition at line 458 of file packet.h. References txtime_. Referenced by Mac802_11::sendACK(), Mac802_11::sendCTS(), Mac802_11::sendDATA(), WirelessPhy::sendDown(), Mac802_11::sendRTS(), and WirelessPhy::sendUp().
00458 { return(txtime_); }
|
|
|
Definition at line 469 of file packet.h. References uid_. Referenced by ARPTable::arprequest(), Mac802_3::collision(), SelectErrorModel::corrupt(), Trace::format(), SatTrace::format(), DSRAgent::handleFlowForwarding(), Agent::initpkt(), DSRAgent::processFlowARS(), FullTcpAgent::prpkt(), DequeTrace::recv(), SatDequeTrace::recv(), Mac802_11::sendACK(), Mac802_11::sendCTS(), DSRAgent::sendOutPacketWithRoute(), Mac802_11::sendRTS(), DSRAgent::sendUnknownFlow(), DSRAgent::tap(), DSRAgent::undeliverablePkt(), and DSRAgent::xmitFailed().
00469 { return (uid_); }
|
|
|
|
Definition at line 426 of file packet.h. Referenced by direction(), and LandmarkAgent::recv(). |
|
|
Definition at line 422 of file packet.h. Referenced by errbitcnt(). |
|
|
Definition at line 421 of file packet.h. Referenced by error(). |
|
|
Definition at line 423 of file packet.h. Referenced by fecsize(). |
|
|
Definition at line 425 of file packet.h. Referenced by iface(), and LmsAgent::recv(). |
|
|
Definition at line 435 of file packet.h. Referenced by SatTrace::format(), SatRouteAgent::forwardPacket(), and SatLL::sendDown(). |
|
|
|
Definition at line 452 of file packet.h. Referenced by num_forwards(). |
|
|
Definition at line 48 of file packet.cc. Referenced by access(), CommonHeaderClass::CommonHeaderClass(), and offset(). |
|
|
Definition at line 453 of file packet.h. Referenced by opt_num_forwards(). |
|
|
|
|
|
|
|
Definition at line 428 of file packet.h. Referenced by SRAgent::recv(). |
|
|
Definition at line 424 of file packet.h. Referenced by JoBS::assignRateDropsADC(), JoBS::deque(), JoBS::enque(), JoBS::minRatesNeeded(), and timestamp(). |
|
|
Definition at line 429 of file packet.h. Referenced by Demarker::deque(), and Marker::enque(). |
|
|
Definition at line 457 of file packet.h. Referenced by txtime(). |
|
|
Definition at line 420 of file packet.h. Referenced by uid(). |
|
|
|
Definition at line 440 of file packet.h. Referenced by ARPTable::arpresolve(), DSDV_Agent::forwardPacket(), DSRAgent::handleFlowForwarding(), OmniMcastAgent::MACprepare(), DiffusionAgent::MACprepare(), Mac802_11::RetransmitDATA(), Mac802_11::RetransmitRTS(), and DSRAgent::sendOutPacketWithRoute(). |
|
|
Definition at line 447 of file packet.h. Referenced by ARPTable::arpresolve(), Mac802_11::RetransmitDATA(), and Mac802_11::RetransmitRTS(). |
1.3.3