Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
void | tfrc_lh_cleanup (struct tfrc_loss_hist *lh) |
u8 | tfrc_lh_update_i_mean (struct tfrc_loss_hist *lh, struct sk_buff *skb) |
int | tfrc_lh_interval_add (struct tfrc_loss_hist *lh, struct tfrc_rx_hist *rh, u32(*calc_first_li)(struct sock *), struct sock *sk) |
int __init | tfrc_li_init (void) |
void | tfrc_li_exit (void) |
void tfrc_lh_cleanup | ( | struct tfrc_loss_hist * | lh | ) |
Definition at line 49 of file loss_interval.c.
int tfrc_lh_interval_add | ( | struct tfrc_loss_hist * | lh, |
struct tfrc_rx_hist * | rh, | ||
u32(*)(struct sock *) | calc_first_li, | ||
struct sock * | sk | ||
) |
tfrc_lh_interval_add - Insert new record into the Loss Interval database : Loss Interval database : Receive history containing a fresh loss event : Caller-dependent routine to compute length of first interval : Used by in caller-specific way (subtyping)
Updates I_mean and returns 1 if a new interval has in fact been added to .
Definition at line 139 of file loss_interval.c.
u8 tfrc_lh_update_i_mean | ( | struct tfrc_loss_hist * | lh, |
struct sk_buff * | skb | ||
) |
tfrc_lh_update_i_mean - Update the `open' loss interval I_0 For recomputing p: returns `true' if p > p_prev <=> 1/p < 1/p_prev
Definition at line 88 of file loss_interval.c.
Definition at line 179 of file loss_interval.c.
Definition at line 171 of file loss_interval.c.