Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

hdr_tcp Struct Reference

#include <tcp.h>

Collaboration diagram for hdr_tcp:

Collaboration graph
[legend]
List of all members.

Public Member Functions

double & ts ()
double & ts_echo ()
int & seqno ()
int & reason ()
int & sa_left (int n)
int & sa_right (int n)
int & sa_length ()
int & hlen ()
int & ackno ()
int & flags ()
int & last_rtt ()

Static Public Member Functions

int & offset ()
hdr_tcpaccess (Packet *p)

Public Attributes

double ts_
double ts_echo_
int seqno_
int reason_
int sack_area_ [NSA+1][2]
int sa_length_
int ackno_
int hlen_
int tcp_flags_
int last_rtt_

Static Public Attributes

int offset_

Member Function Documentation

hdr_tcp* hdr_tcp::access Packet p  )  [inline, static]
 

Definition at line 62 of file tcp.h.

References Packet::access(), and offset_.

Referenced by TcpSink::ack(), QSTcpSink::ack(), BayReassemblyQueue::add(), FullTcpAgent::dooptions(), EWPolicy::dropPacket(), SemanticPacketQueue::filterAcks(), Trace::format(), SatTrace::format(), Trace::get_seqno(), AckRecons::handle(), QueueMonitor::keepRTTstats(), QueueMonitor::keepSeqnoStats(), FackTcpAgent::maxsack(), TcpAgent::newack(), TcpSessionAgent::newack(), SackRHTcpAgent::newack(), RFC793eduTcpAgent::newack(), IntTcpAgent::newack(), FullTcpAgent::newack(), BayFullTcpAgent::newack(), TcpAgent::newtimer(), FackTcpAgent::oldack(), TcpAgent::output(), VegasTcpAgent::output(), RFC793eduTcpAgent::output(), QSNewRenoTcpAgent::output(), IntTcpAgent::output(), AbsTcpAgent::output(), IntTcpAgent::output_helper(), TcpFsAgent::output_helper(), FullTcpAgent::pack(), NewRenoTcpAgent::partialnewack(), FullTcpAgent::predict_ok(), TcpAgent::processQuickStart(), FullTcpAgent::prpkt(), FullTcpAgent::reass(), TcpAgent::recv(), VegasTcpAgent::recv(), DelAckSink::recv(), TcpSink::recv(), TcpSessionAgent::recv(), Sack1TcpAgent::recv(), SackRHTcpAgent::recv(), RFC793eduTcpAgent::recv(), RenoTcpAgent::recv(), RBPRenoTcpAgent::recv(), QSTcpSink::recv(), QSNewRenoTcpAgent::recv(), NewRenoTcpAgent::recv(), IntTcpAgent::recv(), FullTcpAgent::recv(), BayFullTcpAgent::recv(), FackTcpAgent::recv(), TcpAsymSink::recv(), DropTargetAgent::recv(), AckRecons::recv(), TcpFsAgent::recv_newack_helper(), TcpAsymAgent::recv_newack_helper(), CorresHost::rmv_old_segs(), AckRecons::sendack(), FullTcpAgent::sendpacket(), BayFullTcpAgent::sendpacket(), Snoop::snoop_ack(), Snoop::snoop_cleanbufs_(), Snoop::snoop_data(), Snoop::snoop_insert(), Snoop::snoop_rxmit(), Snoop::snoop_wired_ack(), Snoop::snoop_wless_data(), TcpAgent::tcp_eln(), and VegasTcpAgent::vegas_expire().

00062                                                  {
00063                 return (hdr_tcp*) p->access(offset_);
00064         }

Here is the call graph for this function:

int& hdr_tcp::ackno  )  [inline]
 

Definition at line 75 of file tcp.h.

References ackno_.

Referenced by Trace::format(), SatTrace::format(), FullTcpAgent::newack(), BayFullTcpAgent::newack(), FullTcpAgent::pack(), TCPTapAgent::processpkt(), FullTcpAgent::prpkt(), FullTcpAgent::recv(), BayFullTcpAgent::recv(), FullTcpAgent::sendpacket(), and BayFullTcpAgent::sendpacket().

00075 { return (ackno_); }  

int& hdr_tcp::flags  )  [inline]
 

Definition at line 76 of file tcp.h.

References tcp_flags_.

Referenced by BayReassemblyQueue::add(), FullTcpAgent::dooptions(), EWPolicy::dropPacket(), Trace::format(), SatTrace::format(), FullTcpAgent::predict_ok(), TCPTapAgent::processpkt(), FullTcpAgent::prpkt(), FullTcpAgent::reass(), FullTcpAgent::recv(), BayFullTcpAgent::recv(), FullTcpAgent::sendpacket(), and BayFullTcpAgent::sendpacket().

00076 { return (tcp_flags_); }

int& hdr_tcp::hlen  )  [inline]
 

Definition at line 74 of file tcp.h.

References hlen_.

Referenced by BayReassemblyQueue::add(), Trace::format(), SatTrace::format(), TCPTapAgent::processpkt(), FullTcpAgent::prpkt(), FullTcpAgent::reass(), FullTcpAgent::recv(), BayFullTcpAgent::recv(), FullTcpAgent::sendpacket(), BayFullTcpAgent::sendpacket(), and TCPTapAgent::sendpkt().

00074 { return (hlen_); }

int& hdr_tcp::last_rtt  )  [inline]
 

Definition at line 77 of file tcp.h.

References last_rtt_.

Referenced by QueueMonitor::keepRTTstats(), TcpAgent::output(), and QSNewRenoTcpAgent::output().

00077 { return (last_rtt_); }

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

Definition at line 61 of file tcp.h.

References offset_.

00061 { return offset_; }

int& hdr_tcp::reason  )  [inline]
 

Definition at line 70 of file tcp.h.

References reason_.

Referenced by TcpAgent::output(), VegasTcpAgent::output(), RFC793eduTcpAgent::output(), QSNewRenoTcpAgent::output(), IntTcpAgent::output(), TCPTapAgent::processpkt(), FullTcpAgent::prpkt(), FullTcpAgent::sendpacket(), and BayFullTcpAgent::sendpacket().

00070 { return (reason_); }

int& hdr_tcp::sa_left int  n  )  [inline]
 

Definition at line 71 of file tcp.h.

References sack_area_.

Referenced by Sacker::append_ack(), SackFullTcpAgent::build_options(), ScoreBoard::CheckSndNxt(), SackFullTcpAgent::process_sack(), ScoreBoard::UpdateScoreBoard(), ScoreBoardRQ::UpdateScoreBoard(), and ScoreBoardRH::UpdateScoreBoard().

00071 { return (sack_area_[n][0]); }

int& hdr_tcp::sa_length  )  [inline]
 

Definition at line 73 of file tcp.h.

References sa_length_.

Referenced by Sacker::append_ack(), SackFullTcpAgent::build_options(), ScoreBoard::CheckSndNxt(), Trace::format(), SatTrace::format(), FackTcpAgent::maxsack(), FullTcpAgent::predict_ok(), SackFullTcpAgent::process_sack(), FullTcpAgent::prpkt(), SackRHTcpAgent::recv(), FullTcpAgent::recv(), FackTcpAgent::recv(), FullTcpAgent::sendpacket(), ScoreBoard::UpdateScoreBoard(), ScoreBoardRQ::UpdateScoreBoard(), and ScoreBoardRH::UpdateScoreBoard().

00073 { return (sa_length_); }

int& hdr_tcp::sa_right int  n  )  [inline]
 

Definition at line 72 of file tcp.h.

References sack_area_.

Referenced by Sacker::append_ack(), ScoreBoard::CheckSndNxt(), FackTcpAgent::maxsack(), SackFullTcpAgent::process_sack(), ScoreBoard::UpdateScoreBoard(), ScoreBoardRQ::UpdateScoreBoard(), and ScoreBoardRH::UpdateScoreBoard().

00072 { return (sack_area_[n][1]); }

int& hdr_tcp::seqno  )  [inline]
 

Definition at line 69 of file tcp.h.

References seqno_.

Referenced by TcpSink::ack(), QSTcpSink::ack(), BayReassemblyQueue::add(), SemanticPacketQueue::filterAcks(), SatTrace::format(), Trace::get_seqno(), AckRecons::handle(), QueueMonitor::keepSeqnoStats(), TcpAgent::newack(), SackRHTcpAgent::newack(), RFC793eduTcpAgent::newack(), IntTcpAgent::newack(), TcpAgent::newtimer(), FackTcpAgent::oldack(), TcpAgent::output(), VegasTcpAgent::output(), RFC793eduTcpAgent::output(), QSNewRenoTcpAgent::output(), IntTcpAgent::output(), AbsTcpAgent::output(), IntTcpAgent::output_helper(), TcpFsAgent::output_helper(), NewRenoTcpAgent::partialnewack(), FullTcpAgent::predict_ok(), TCPTapAgent::processpkt(), FullTcpAgent::prpkt(), FullTcpAgent::reass(), TcpAgent::recv(), VegasTcpAgent::recv(), DelAckSink::recv(), TcpSink::recv(), TcpSessionAgent::recv(), Sack1TcpAgent::recv(), RFC793eduTcpAgent::recv(), RenoTcpAgent::recv(), RBPRenoTcpAgent::recv(), QSTcpSink::recv(), QSNewRenoTcpAgent::recv(), NewRenoTcpAgent::recv(), IntTcpAgent::recv(), FullTcpAgent::recv(), BayFullTcpAgent::recv(), FackTcpAgent::recv(), TcpAsymSink::recv(), DropTargetAgent::recv(), AckRecons::recv(), TcpFsAgent::recv_newack_helper(), TcpAsymAgent::recv_newack_helper(), CorresHost::rmv_old_segs(), AckRecons::sendack(), SimpleTcpAgent::sendmsg(), FullTcpAgent::sendpacket(), BayFullTcpAgent::sendpacket(), Snoop::snoop_ack(), Snoop::snoop_cleanbufs_(), Snoop::snoop_data(), Snoop::snoop_insert(), Snoop::snoop_rxmit(), Snoop::snoop_wired_ack(), Snoop::snoop_wless_data(), TcpAgent::tcp_eln(), and VegasTcpAgent::vegas_expire().

00069 { return (seqno_); }

double& hdr_tcp::ts  )  [inline]
 

Definition at line 67 of file tcp.h.

References ts_.

Referenced by TcpSink::ack(), QSTcpSink::ack(), FullTcpAgent::build_options(), FullTcpAgent::dooptions(), FullTcpAgent::newack(), BayFullTcpAgent::newack(), TcpAgent::output(), VegasTcpAgent::output(), RFC793eduTcpAgent::output(), QSNewRenoTcpAgent::output(), IntTcpAgent::output(), IntTcpAgent::output_helper(), FullTcpAgent::predict_ok(), TCPTapAgent::processpkt(), TcpAgent::recv(), DelAckSink::recv(), TcpSink::recv(), Sack1TcpAgent::recv(), RFC793eduTcpAgent::recv(), RenoTcpAgent::recv(), QSTcpSink::recv(), NewRenoTcpAgent::recv(), FullTcpAgent::recv(), FackTcpAgent::recv(), TcpAsymSink::recv(), AckRecons::sendack(), SimpleTcpAgent::sendmsg(), and BayFullTcpAgent::sendpacket().

00067 { return (ts_); }

double& hdr_tcp::ts_echo  )  [inline]
 

Definition at line 68 of file tcp.h.

References ts_echo_.

Referenced by TcpSink::ack(), QSTcpSink::ack(), FullTcpAgent::build_options(), TcpAgent::newack(), TcpSessionAgent::newack(), SackRHTcpAgent::newack(), RFC793eduTcpAgent::newack(), FullTcpAgent::newack(), FackTcpAgent::oldack(), TcpAgent::output(), RFC793eduTcpAgent::output(), QSNewRenoTcpAgent::output(), IntTcpAgent::output(), TcpAgent::processQuickStart(), QSNewRenoTcpAgent::recv(), TcpAsymSink::recv(), TcpFsAgent::recv_newack_helper(), TcpAsymAgent::recv_newack_helper(), CorresHost::rmv_old_segs(), and SimpleTcpAgent::sendmsg().

00068 { return (ts_echo_); }


Member Data Documentation

int hdr_tcp::ackno_
 

Definition at line 54 of file tcp.h.

Referenced by ackno(), and TCPTapAgent::tcp_gen().

int hdr_tcp::hlen_
 

Definition at line 55 of file tcp.h.

Referenced by hlen().

int hdr_tcp::last_rtt_
 

Definition at line 57 of file tcp.h.

Referenced by last_rtt().

int hdr_tcp::offset_ [static]
 

Definition at line 50 of file tcp.cc.

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

int hdr_tcp::reason_
 

Definition at line 50 of file tcp.h.

Referenced by reason().

int hdr_tcp::sa_length_
 

Definition at line 52 of file tcp.h.

Referenced by sa_length().

int hdr_tcp::sack_area_[NSA+1][2]
 

Definition at line 51 of file tcp.h.

Referenced by sa_left(), and sa_right().

int hdr_tcp::seqno_
 

Definition at line 49 of file tcp.h.

Referenced by seqno(), and TCPTapAgent::tcp_gen().

int hdr_tcp::tcp_flags_
 

Definition at line 56 of file tcp.h.

Referenced by flags(), and TCPTapAgent::tcp_gen().

double hdr_tcp::ts_
 

Definition at line 46 of file tcp.h.

Referenced by AckRecons::sendack(), and ts().

double hdr_tcp::ts_echo_
 

Definition at line 47 of file tcp.h.

Referenced by ts_echo().


The documentation for this struct was generated from the following files:
Generated on Tue Apr 20 12:50:47 2004 for NS2.26SourcesOriginal by doxygen 1.3.3