Home
last modified time | relevance | path

Searched refs:num_sacks (Results 1 - 1 of 1) sorted by relevance

/third_party/lwip/src/core/
H A Dtcp_out.c1177 u8_t num_sacks = 0; in tcp_get_num_sacks() local
1191 ++num_sacks; in tcp_get_num_sacks()
1196 return num_sacks; in tcp_get_num_sacks()
1203 * @param num_sacks the number of SACKs to store
1206 tcp_build_sack_option(const struct tcp_pcb *pcb, u32_t *opts, u8_t num_sacks) in tcp_build_sack_option() argument
1216 *(opts++) = PP_HTONL(0x01010500 + 2 + num_sacks * 8); in tcp_build_sack_option()
1218 for (i = 0; i < num_sacks; ++i) { in tcp_build_sack_option()
1885 tcp_output_fill_options(const struct tcp_pcb *pcb, struct pbuf *p, u8_t optflags, u8_t num_sacks) in tcp_output_fill_options() argument
1906 if (pcb && (num_sacks > 0)) { in tcp_output_fill_options()
1907 tcp_build_sack_option(pcb, opts, num_sacks); in tcp_output_fill_options()
2037 u8_t num_sacks = 0; tcp_send_empty_ack() local
[all...]

Completed in 3 milliseconds