diff options
Diffstat (limited to 'net/dccp/ccids/lib')
| -rw-r--r-- | net/dccp/ccids/lib/loss_interval.c | 1 | ||||
| -rw-r--r-- | net/dccp/ccids/lib/packet_history.c | 3 | ||||
| -rw-r--r-- | net/dccp/ccids/lib/tfrc_equation.c | 2 | 
3 files changed, 5 insertions, 1 deletions
diff --git a/net/dccp/ccids/lib/loss_interval.c b/net/dccp/ccids/lib/loss_interval.c index 497723c4d4b..57f9fd78c4d 100644 --- a/net/dccp/ccids/lib/loss_interval.c +++ b/net/dccp/ccids/lib/loss_interval.c @@ -133,6 +133,7 @@ static inline u8 tfrc_lh_is_new_loss(struct tfrc_loss_interval *cur,   * @rh:		   Receive history containing a fresh loss event   * @calc_first_li: Caller-dependent routine to compute length of first interval   * @sk:		   Used by @calc_first_li in caller-specific way (subtyping) + *   * Updates I_mean and returns 1 if a new interval has in fact been added to @lh.   */  int tfrc_lh_interval_add(struct tfrc_loss_hist *lh, struct tfrc_rx_hist *rh, diff --git a/net/dccp/ccids/lib/packet_history.c b/net/dccp/ccids/lib/packet_history.c index de8fe294bf0..08df7a3acb3 100644 --- a/net/dccp/ccids/lib/packet_history.c +++ b/net/dccp/ccids/lib/packet_history.c @@ -315,6 +315,7 @@ static void __three_after_loss(struct tfrc_rx_hist *h)   *  @ndp:	    The NDP count belonging to @skb   *  @calc_first_li: Caller-dependent computation of first loss interval in @lh   *  @sk:	    Used by @calc_first_li (see tfrc_lh_interval_add) + *   *  Chooses action according to pending loss, updates LI database when a new   *  loss was detected, and does required post-processing. Returns 1 when caller   *  should send feedback, 0 otherwise. @@ -387,7 +388,7 @@ static inline struct tfrc_rx_hist_entry *  }  /** - * tfrc_rx_hist_rtt_prev_s: previously suitable (wrt rtt_last_s) RTT-sampling entry + * tfrc_rx_hist_rtt_prev_s - previously suitable (wrt rtt_last_s) RTT-sampling entry   */  static inline struct tfrc_rx_hist_entry *  			tfrc_rx_hist_rtt_prev_s(const struct tfrc_rx_hist *h) diff --git a/net/dccp/ccids/lib/tfrc_equation.c b/net/dccp/ccids/lib/tfrc_equation.c index a052a4377e2..88ef98285be 100644 --- a/net/dccp/ccids/lib/tfrc_equation.c +++ b/net/dccp/ccids/lib/tfrc_equation.c @@ -611,6 +611,7 @@ static inline u32 tfrc_binsearch(u32 fval, u8 small)   * @s: packet size          in bytes   * @R: RTT                  scaled by 1000000   (i.e., microseconds)   * @p: loss ratio estimate  scaled by 1000000 + *   * Returns X_calc           in bytes per second (not scaled).   */  u32 tfrc_calc_x(u16 s, u32 R, u32 p) @@ -659,6 +660,7 @@ u32 tfrc_calc_x(u16 s, u32 R, u32 p)  /**   *  tfrc_calc_x_reverse_lookup  -  try to find p given f(p)   *  @fvalue: function value to match, scaled by 1000000 + *   *  Returns closest match for p, also scaled by 1000000   */  u32 tfrc_calc_x_reverse_lookup(u32 fvalue)  |