Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41887
b: refs/heads/master
c: d61c167
h: refs/heads/master
i:
  41885: 843869e
  41883: 73182a1
  41879: de52a4f
  41871: ac40d6e
  41855: 59e890c
v: v3
  • Loading branch information
Gerrit Renker authored and David S. Miller committed Dec 3, 2006
1 parent 8a3b29e commit 126bb81
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e19e3fcd7351de1ca87c4797cca27ba55c7e55e
refs/heads/master: d61c167dd0797a16584f7a922dd5d50efad1d28a
20 changes: 18 additions & 2 deletions trunk/include/linux/tfrc.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#ifndef _LINUX_TFRC_H_
#define _LINUX_TFRC_H_
/*
* include/linux/tfrc.h
* TFRC - Data Structures for the TCP-Friendly Rate Control congestion
* control mechanism as specified in RFC 3448.
*
* Copyright (c) 2005 The University of Waikato, Hamilton, New Zealand.
* Copyright (c) 2005 Ian McDonald <iam4@cs.waikato.ac.nz>
Expand All @@ -13,15 +14,30 @@
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/

#include <linux/types.h>

/** tfrc_rx_info - TFRC Receiver Data Structure
*
* @tfrcrx_x_recv: receiver estimate of sending rate (3.2.2)
* @tfrcrx_rtt: round-trip-time (communicated by sender)
* @tfrcrx_p: current estimate of loss event rate (3.2.2)
*/
struct tfrc_rx_info {
__u32 tfrcrx_x_recv;
__u32 tfrcrx_rtt;
__u32 tfrcrx_p;
};

/** tfrc_tx_info - TFRC Sender Data Structure
*
* @tfrctx_x: computed transmit rate (4.3 (4))
* @tfrctx_x_recv: receiver estimate of send rate (4.3)
* @tfrctx_x_calc: return value of throughput equation (3.1)
* @tfrctx_rtt: (moving average) estimate of RTT (4.3)
* @tfrctx_p: current loss event rate (5.4)
* @tfrctx_rto: estimate of RTO, equals 4*RTT (4.3)
* @tfrctx_ipi: inter-packet interval (4.6)
*/
struct tfrc_tx_info {
__u32 tfrctx_x;
__u32 tfrctx_x_recv;
Expand Down

0 comments on commit 126bb81

Please sign in to comment.