Home
last modified time | relevance | path

Searched refs:newpcb (Results 1 – 3 of 3) sorted by relevance

/third_party/lwip/src/apps/lwiperf/
Dlwiperf.c392 struct tcp_pcb *newpcb; in lwiperf_tx_start_impl() local
404 newpcb = tcp_new_ip_type(IP_GET_TYPE(remote_ip)); in lwiperf_tx_start_impl()
405 if (newpcb == NULL) { in lwiperf_tx_start_impl()
412 client_conn->conn_pcb = newpcb; in lwiperf_tx_start_impl()
421 tcp_arg(newpcb, client_conn); in lwiperf_tx_start_impl()
422 tcp_sent(newpcb, lwiperf_tcp_client_sent); in lwiperf_tx_start_impl()
423 tcp_poll(newpcb, lwiperf_tcp_poll, 2U); in lwiperf_tx_start_impl()
424 tcp_err(newpcb, lwiperf_tcp_err); in lwiperf_tx_start_impl()
428 err = tcp_connect(newpcb, &remote_addr, remote_port, lwiperf_tcp_client_connected); in lwiperf_tx_start_impl()
592 lwiperf_tcp_accept(void *arg, struct tcp_pcb *newpcb, err_t err) in lwiperf_tcp_accept() argument
[all …]
/third_party/lwip/src/api/
Dapi_msg.c562 accept_function(void *arg, struct tcp_pcb *newpcb, err_t err) argument
575 if (newpcb == NULL) {
586 …LWIP_DEBUGF(API_MSG_DEBUG, ("accept_function: newpcb->state: %s\n", tcp_debug_state_str(newpcb->st…
599 newconn->pcb.tcp = newpcb;
603 tcp_backlog_delayed(newpcb);
/third_party/lwip/src/include/lwip/
Dtcp.h70 typedef err_t (*tcp_accept_fn)(void *arg, struct tcp_pcb *newpcb, err_t err);