[Sumover-dev] [svn commit] r4348 - vic/branches/cc/cc
sumover-dev at cs.ucl.ac.uk
sumover-dev at cs.ucl.ac.uk
Tue Jan 20 18:03:58 GMT 2009
Author: soohyunc
Date: Tue Jan 20 18:03:58 2009
New Revision: 4348
Modified:
vic/branches/cc/cc/tfwc_rcvr.h
Log:
(work-in-progress: this commit may not compile fully)
o TFWC receiver's parameters changed more compliable to RFC 3611
(i.e., XR's "begin" and "end" stands for that the begin/end seqno that this
XR chunk is reporting)
Modified: vic/branches/cc/cc/tfwc_rcvr.h
==============================================================================
--- vic/branches/cc/cc/tfwc_rcvr.h (original)
+++ vic/branches/cc/cc/tfwc_rcvr.h Tue Jan 20 18:03:58 2009
@@ -47,10 +47,20 @@
protected:
inline u_int16_t tfwc_rcvr_getvec() { return tfwcAV; }
inline u_int32_t tfwc_rcvr_ts_echo() { return ts_echo_; }
- u_int16_t tfwcAV; // AckVec (bit vector)
- u_int16_t currseq_; // current sequence number
- u_int16_t prevseq_; // previous sequence number
+
+ inline u_int16_t tfwc_rcvr_begins() { return begins_; }
+ inline u_int16_t tfwc_rcvr_ends() { return ends_; }
+
+ /*
+ * Variables
+ */
+ u_int16_t tfwcAV; // AckVec (bit vector)
+ u_int16_t currseq_; // current sequence number
+ u_int16_t prevseq_; // previous sequence number
u_int16_t ackofack_; // ackofack
+ u_int16_t begins_; // begin seqno that XR chunk is reporting
+ u_int16_t ends_; // end seqno that XR chunk is reporting
+
private:
// trim ackvec
inline void trimvec(u_int16_t vec, int offset) {
More information about the Sumover-dev
mailing list