Searched refs:hc (Results 1 – 4 of 4) sorted by relevance
/net/dccp/ccids/ |
D | ccid2.c | 38 static int ccid2_hc_tx_alloc_seq(struct ccid2_hc_tx_sock *hc) in ccid2_hc_tx_alloc_seq() argument 44 if (hc->tx_seqbufc >= (sizeof(hc->tx_seqbuf) / in ccid2_hc_tx_alloc_seq() 61 if (hc->tx_seqbufc == 0) in ccid2_hc_tx_alloc_seq() 62 hc->tx_seqh = hc->tx_seqt = seqp; in ccid2_hc_tx_alloc_seq() 65 hc->tx_seqh->ccid2s_next = seqp; in ccid2_hc_tx_alloc_seq() 66 seqp->ccid2s_prev = hc->tx_seqh; in ccid2_hc_tx_alloc_seq() 68 hc->tx_seqt->ccid2s_prev = &seqp[CCID2_SEQBUF_LEN - 1]; in ccid2_hc_tx_alloc_seq() 69 seqp[CCID2_SEQBUF_LEN - 1].ccid2s_next = hc->tx_seqt; in ccid2_hc_tx_alloc_seq() 73 hc->tx_seqbuf[hc->tx_seqbufc] = seqp; in ccid2_hc_tx_alloc_seq() 74 hc->tx_seqbufc++; in ccid2_hc_tx_alloc_seq() [all …]
|
D | ccid3.c | 66 struct ccid3_hc_tx_sock *hc = ccid3_hc_tx_sk(sk); in ccid3_hc_tx_set_state() local 67 enum ccid3_hc_tx_states oldstate = hc->tx_state; in ccid3_hc_tx_set_state() 73 hc->tx_state = state; in ccid3_hc_tx_set_state() 87 const struct ccid3_hc_tx_sock *hc = ccid3_hc_tx_sk(sk); in rfc3390_initial_rate() local 88 const __u32 w_init = clamp_t(__u32, 4380U, 2 * hc->tx_s, 4 * hc->tx_s); in rfc3390_initial_rate() 90 return scaled_div(w_init << 6, hc->tx_rtt); in rfc3390_initial_rate() 97 static void ccid3_update_send_interval(struct ccid3_hc_tx_sock *hc) in ccid3_update_send_interval() argument 99 hc->tx_t_ipi = scaled_div32(((u64)hc->tx_s) << 6, hc->tx_x); in ccid3_update_send_interval() 101 DCCP_BUG_ON(hc->tx_t_ipi == 0); in ccid3_update_send_interval() 102 ccid3_pr_debug("t_ipi=%u, s=%u, X=%u\n", hc->tx_t_ipi, in ccid3_update_send_interval() [all …]
|
D | ccid2.h | 102 static inline bool ccid2_cwnd_network_limited(struct ccid2_hc_tx_sock *hc) in ccid2_cwnd_network_limited() argument 104 return hc->tx_pipe >= hc->tx_cwnd; in ccid2_cwnd_network_limited()
|
/net/dccp/ |
D | probe.c | 79 struct ccid3_hc_tx_sock *hc = NULL; in jdccp_sendmsg() local 82 hc = ccid3_hc_tx_sk(sk); in jdccp_sendmsg() 86 if (hc) in jdccp_sendmsg() 90 hc->tx_s, hc->tx_rtt, hc->tx_p, in jdccp_sendmsg() 91 hc->tx_x_calc, hc->tx_x_recv >> 6, in jdccp_sendmsg() 92 hc->tx_x >> 6, hc->tx_t_ipi); in jdccp_sendmsg()
|