fixpoint
const struct fixpoint tfrc_recv_w[] = {{1,1}, {1,1}, {1,1}, {1,1}, {4,5}, {3,5}, {2,5}, {1,5}};
struct fixpoint l_tot;
struct fixpoint l_tot0 = {0,0};
struct fixpoint l_tot1 = {0,0};
struct fixpoint W_tot = {0, 0};
struct fixpoint tmp;
struct fixpoint x;
struct fixpoint x_recv, fval, t_rtt, x;
const struct fixpoint *fval2;
struct fixpoint x1, y1; \
struct fixpoint p_prev;
const struct fixpoint tfrc_smallest_p = { 4LL, 1000000LL };
struct fixpoint *
fixpoint_add(struct fixpoint *x, const struct fixpoint *a,
const struct fixpoint *b)
struct fixpoint *
fixpoint_sub(struct fixpoint *x, const struct fixpoint *a,
const struct fixpoint *b)
fixpoint_cmp(const struct fixpoint *a, const struct fixpoint *b)
struct fixpoint x;
const struct fixpoint *tfrc_calcX(u_int16_t, u_int32_t,
struct fixpoint *
fixpoint_mul(struct fixpoint *x, const struct fixpoint *a,
const struct fixpoint *b)
const struct fixpoint *);
struct fixpoint *
fixpoint_div(struct fixpoint *x, const struct fixpoint *a,
const struct fixpoint *b)
fixpoint_getlong(const struct fixpoint *x)
const struct fixpoint flargex = { 2LL, 1000LL };
const struct fixpoint fsmallx = { 1LL, 100000LL };
const struct fixpoint fsmallstep = { 4LL, 1000000LL };
const struct fixpoint *
struct fixpoint *fixpoint_add(struct fixpoint *, const struct fixpoint *,
flookup(const struct fixpoint *x)
static const struct fixpoint y = { 250000, 1 };
struct fixpoint z;
const struct fixpoint *);
struct fixpoint *fixpoint_sub(struct fixpoint *, const struct fixpoint *,
const struct fixpoint *);
const struct fixpoint *
tfrc_flookup_reverse(const struct fixpoint *fvalue)
static struct fixpoint x;
int fixpoint_cmp(const struct fixpoint *, const struct fixpoint *);
struct fixpoint *fixpoint_mul(struct fixpoint *, const struct fixpoint *,
const struct fixpoint *);
struct fixpoint *fixpoint_div(struct fixpoint *, const struct fixpoint *,
const struct fixpoint *);
long fixpoint_getlong(const struct fixpoint *);
const struct fixpoint *flookup(const struct fixpoint *);
const struct fixpoint *tfrc_flookup_reverse(const struct fixpoint *);
__inline const struct fixpoint *
tfrc_calcX(u_int16_t s, u_int32_t r, const struct fixpoint *p)
static struct fixpoint x;
struct fixpoint temp, temp2;
struct fixpoint v, w;
struct fixpoint x,y;
struct fixpoint p; /* Loss event rate */
struct fixpoint x; /* Current sending rate */
struct fixpoint x_recv; /* Receive rate */
struct fixpoint x_calc; /* Calculated send (?) rate */
struct fixpoint p; /* Current loss event rate */
const struct fixpoint fsmall_table[] = {
const struct fixpoint flarge_table[] = {