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

/barrelfish-master/usr/bench/net_latency/elb/
H A Dtcp_server.c55 r = tcp_write(tpcb, p->payload, p->len, TCP_WRITE_FLAG_COPY);
242 err = tcp_write(client_pcb, msg, len, TCP_WRITE_FLAG_COPY);
244 USER_PANIC_ERR(err, "tcp_write failed in send_message");
252 USER_PANIC_ERR(err, "tcp_write failed in send_message");
/barrelfish-master/usr/echoserver/
H A Dtcpechoserver.c108 r = tcp_write(tpcb, p->payload, p->len, TCP_WRITE_FLAG_COPY);
/barrelfish-master/usr/bfscope/
H A Dbfscope.c130 err_t lwip_err = tcp_write(tpcb, bufptr, len,
181 tcp_write(bfscope_client, tmpbuf, 8, TCP_WRITE_FLAG_COPY);
/barrelfish-master/lib/lwip2/src/apps/tcpecho_raw/
H A Dtcpecho_raw.c109 wr_err = tcp_write(tpcb, ptr->payload, ptr->len, 1);
/barrelfish-master/include/lwip2/lwip/
H A Dtcp.h406 /* Flags for "apiflags" parameter in tcp_write */
410 err_t tcp_write (struct tcp_pcb *pcb, const void *dataptr, u16_t len,
/barrelfish-master/usr/block_server/
H A Dnetwork_client.c256 err = tcp_write(server->tpcb, msg, size, TCP_WRITE_FLAG_COPY);
496 err = tcp_write(server->tpcb, msg, size, TCP_WRITE_FLAG_COPY);
H A Dnetwork_server.c90 err = tcp_write(c->tpcb, msg, size, TCP_WRITE_FLAG_COPY);
93 debug_printf("ERROR: tcp_write returned with error %i\n", err);
/barrelfish-master/lib/lwip2/src/apps/smtp/
H A Dsmtp.c1216 err = tcp_write(pcb, &s->body[s->body_sent], (u16_t)send_len, TCP_WRITE_FLAG_COPY);
1232 err = tcp_write(pcb, SMTP_CMD_BODY_FINISHED, SMTP_CMD_BODY_FINISHED_LEN, 0);
1399 if (tcp_write(pcb, s->tx_buf, tx_buf_len, TCP_WRITE_FLAG_COPY) == ERR_OK) {
1436 err = tcp_write(pcb, *from, len, TCP_WRITE_FLAG_COPY);
/barrelfish-master/usr/netfile/
H A Dnetfile.c322 err = tcp_write(pcb, msg, send_size, TCP_WRITE_FLAG_COPY);
/barrelfish-master/lib/lwip2/src/apps/lwiperf/
H A Dlwiperf.c307 err = tcp_write(conn->conn_pcb, txptr, txlen, apiflags);
/barrelfish-master/include/lwip/lwip/
H A Dtcp.h107 /* Flags for "apiflags" parameter in tcp_write and tcp_enqueue */
111 err_t tcp_write(struct tcp_pcb *pcb, const void *dataptr, u16_t len,
/barrelfish-master/lib/lwip/src/api/
H A Dapi_msg.c1052 tcp_write(conn->pcb.tcp, dataptr, len, conn->write_msg->msg.w.apiflags);
/barrelfish-master/lib/lwip/src/core/
H A Dtcp_out.c106 * calling tcp_write().
116 * @see tcp_write()
119 tcp_write(struct tcp_pcb * pcb, const void *data, u16_t len, u8_t apiflags) function
122 ("tcp_write(pcb=%p, data=%p, len=%" U16_F ", apiflags=%" U16_F
139 ("tcp_write() called in invalid state\n"));
147 * Called by tcp_connect(), tcp_listen_input(), tcp_send_ctrl() and tcp_write().
/barrelfish-master/usr/net_socket_server/
H A Dnet_sockets_server.c736 // debug_printf("%s: tcp_write %d %d\n", __func__, tcp_sndbuf(socket->tcp_socket), nb->size);
737 e = tcp_write(socket->tcp_socket, shb_data, nb->size, TCP_WRITE_FLAG_COPY);
H A Dlib_netss.c772 NET_SOCK_DEBUG("%s: tcp_write %d %d\n", __func__, tcp_sndbuf(socket->tcp_socket), nb->size);
773 e = tcp_write(socket->tcp_socket, shb_data, nb->size, TCP_WRITE_FLAG_COPY);
/barrelfish-master/lib/lwip2/src/core/
H A Dtcp_out.c161 * Called by tcp_write and tcp_enqueue_flags.
228 * @param apiflags API flags given to tcp_write.
249 * length required? If tcp_write is going to be called again
300 /** Checks if tcp_write is allowed or not (checks state, snd_buf and snd_queuelen).
304 * @return ERR_OK if tcp_write is allowed to proceed, another err_t otherwise
314 LWIP_DEBUGF(TCP_OUTPUT_DEBUG | LWIP_DBG_STATE | LWIP_DBG_LEVEL_SEVERE, ("tcp_write() called in invalid state\n"));
322 LWIP_DEBUGF(TCP_OUTPUT_DEBUG | LWIP_DBG_LEVEL_SEVERE, ("tcp_write: too much data (len=%"U16_F" > snd_buf=%"TCPWNDSIZE_F")\n",
328 LWIP_DEBUGF(TCP_QLEN_DEBUG, ("tcp_write: queuelen: %"TCPWNDSIZE_F"\n", (tcpwnd_size_t)pcb->snd_queuelen));
334 LWIP_DEBUGF(TCP_OUTPUT_DEBUG | LWIP_DBG_LEVEL_SEVERE, ("tcp_write: too long queue %"U16_F" (max %"U16_F")\n",
341 LWIP_ASSERT("tcp_write
368 tcp_write(struct tcp_pcb *pcb, const void *arg, u16_t len, u8_t apiflags) function
[all...]
/barrelfish-master/lib/lwip2/src/api/
H A Dapi_msg.c1550 err = tcp_write(conn->pcb.tcp, dataptr, len, apiflags);
1591 /* tcp_write returned ERR_MEM, try tcp_output anyway */
/barrelfish-master/lib/lwip2/src/apps/httpd/
H A Dhttpd.c116 /** These defines check whether tcp_write has to copy data or not */
509 /** Call tcp_write() in a loop trying smaller and smaller length
515 * @param apiflags directly passed to tcp_write
516 * @return the return value of tcp_write
542 err = tcp_write(pcb, ptr, len, apiflags);
1199 * have to split the insert string between two tcp_write operations. */

Completed in 330 milliseconds