Searched refs:num_sacks (Results 1 – 1 of 1) sorted by relevance
1165 u8_t num_sacks = 0; in tcp_get_num_sacks() local1179 ++num_sacks; in tcp_get_num_sacks()1184 return num_sacks; in tcp_get_num_sacks()1194 tcp_build_sack_option(const struct tcp_pcb *pcb, u32_t *opts, u8_t num_sacks) in tcp_build_sack_option() argument1204 *(opts++) = PP_HTONL(0x01010500 + 2 + num_sacks * 8); in tcp_build_sack_option()1206 for (i = 0; i < num_sacks; ++i) { in tcp_build_sack_option()1873 tcp_output_fill_options(const struct tcp_pcb *pcb, struct pbuf *p, u8_t optflags, u8_t num_sacks) in tcp_output_fill_options() argument1894 if (pcb && (num_sacks > 0)) { in tcp_output_fill_options()1895 tcp_build_sack_option(pcb, opts, num_sacks); in tcp_output_fill_options()1897 sacks_len = 1 + num_sacks * 2; in tcp_output_fill_options()[all …]