• Home
  • Raw
  • Download

Lines Matching refs:backlog

29 -netconn_listen_with_backlog(struct netconn *conn, u8_t backlog)
30 +netconn_listen_with_backlog(struct netconn *conn, u16_t backlog)
42 - u8_t backlog;
43 + u16_t backlog;
45 backlog = msg->msg.lb.backlog;
126 @@ -1059,10 +1064,10 @@ lwip_listen(int s, int backlog)
130 - /* limit the "backlog" parameter to fit in an u8_t */
131 - backlog = LWIP_MIN(LWIP_MAX(backlog, 0), 0xff);
132 + /* limit the "backlog" parameter to fit in an u16_t */
133 + backlog = LWIP_MIN(LWIP_MAX(backlog, 0), 0xffff);
135 - err = netconn_listen_with_backlog(sock->conn, (u8_t)backlog);
136 + err = netconn_listen_with_backlog(sock->conn, (u16_t)backlog);
149 -#error "If you want to use TCP backlog, TCP_DEFAULT_LISTEN_BACKLOG must fit into an u8_t"
151 +#error "If you want to use TCP backlog, TCP_DEFAULT_LISTEN_BACKLOG must fit into an u16_t"
160 * tpcb = tcp_listen_with_backlog(tpcb, backlog);
163 -tcp_listen_with_backlog(struct tcp_pcb *pcb, u8_t backlog)
164 +tcp_listen_with_backlog(struct tcp_pcb *pcb, u16_t backlog)
167 return tcp_listen_with_backlog_and_err(pcb, backlog, NULL);
168 @@ -926,7 +926,7 @@ tcp_listen_with_backlog(struct tcp_pcb *pcb, u8_t backlog)
169 * tpcb = tcp_listen_with_backlog_and_err(tpcb, backlog, &err);
172 -tcp_listen_with_backlog_and_err(struct tcp_pcb *pcb, u8_t backlog, err_t *err)
173 +tcp_listen_with_backlog_and_err(struct tcp_pcb *pcb, u16_t backlog, err_t *err)
198 -err_t netconn_listen_with_backlog(struct netconn *conn, u8_t backlog);
199 +err_t netconn_listen_with_backlog(struct netconn *conn, u16_t backlog);
224 - u8_t backlog;
225 + u16_t backlog;
237 - u8_t backlog;
239 + u16_t backlog;
248 -struct tcp_pcb * tcp_listen_with_backlog_and_err(struct tcp_pcb *pcb, u8_t backlog, err_t *err);
249 -struct tcp_pcb * tcp_listen_with_backlog(struct tcp_pcb *pcb, u8_t backlog);
250 +struct tcp_pcb * tcp_listen_with_backlog_and_err(struct tcp_pcb *pcb, u16_t backlog, err_t *err);
251 +struct tcp_pcb * tcp_listen_with_backlog(struct tcp_pcb *pcb, u16_t backlog);