Home
last modified time | relevance | path

Searched refs:apiflags (Results 1 – 16 of 16) sorted by relevance

/third_party/lwip/src/api/
Dapi_lib.c579 netconn_recv_data(struct netconn *conn, void **new_buf, u8_t apiflags) in netconn_recv_data() argument
598 if (netconn_is_nonblocking(conn) || (apiflags & NETCONN_DONTBLOCK) || in netconn_recv_data()
703 netconn_recv_data_tcp(struct netconn *conn, struct pbuf **new_buf, u8_t apiflags) in netconn_recv_data_tcp() argument
721 if (!(apiflags & NETCONN_NOAUTORCVD)) { in netconn_recv_data_tcp()
727 err = netconn_recv_data(conn, (void **)new_buf, apiflags); in netconn_recv_data_tcp()
729 if (!(apiflags & NETCONN_NOAUTORCVD)) { in netconn_recv_data_tcp()
735 if (!(apiflags & NETCONN_NOAUTORCVD)) { in netconn_recv_data_tcp()
746 if (apiflags & NETCONN_NOFIN) { in netconn_recv_data_tcp()
803 netconn_recv_tcp_pbuf_flags(struct netconn *conn, struct pbuf **new_buf, u8_t apiflags) in netconn_recv_tcp_pbuf_flags() argument
808 return netconn_recv_data_tcp(conn, new_buf, apiflags); in netconn_recv_tcp_pbuf_flags()
[all …]
Dapi_msg.c1651 u8_t apiflags; local
1662 apiflags = conn->current_msg->msg.w.apiflags;
1663 dontblock = netconn_is_nonblocking(conn) || (apiflags & NETCONN_DONTBLOCK);
1684 apiflags |= TCP_WRITE_FLAG_MORE;
1699 apiflags |= TCP_WRITE_FLAG_MORE;
1711 apiflags |= TCP_WRITE_FLAG_MORE;
1715 err = tcp_write(conn->pcb.tcp, dataptr, len, apiflags);
Dsockets.c948 u8_t apiflags = NETCONN_NOAUTORCVD; in lwip_recv_tcp() local
956 apiflags |= NETCONN_DONTBLOCK; in lwip_recv_tcp()
971 err = netconn_recv_tcp_pbuf_flags(sock->conn, &p, apiflags); in lwip_recv_tcp()
1034 apiflags |= NETCONN_DONTBLOCK | NETCONN_NOFIN; in lwip_recv_tcp()
1118 u8_t apiflags; in lwip_recvfrom_udp_raw() local
1127 apiflags = NETCONN_DONTBLOCK; in lwip_recvfrom_udp_raw()
1129 apiflags = 0; in lwip_recvfrom_udp_raw()
1138 err = netconn_recv_udp_raw_netbuf_flags(sock->conn, &buf, apiflags); in lwip_recvfrom_udp_raw()
/third_party/lwip/src/include/lwip/
Dapi.h336 … netconn_recv_udp_raw_netbuf_flags(struct netconn *conn, struct netbuf **new_buf, u8_t apiflags);
338 err_t netconn_recv_tcp_pbuf_flags(struct netconn *conn, struct pbuf **new_buf, u8_t apiflags);
344 u8_t apiflags, size_t *bytes_written);
346 u8_t apiflags, size_t *bytes_written);
348 #define netconn_write(conn, dataptr, size, apiflags) \ argument
349 netconn_write_partly(conn, dataptr, size, apiflags, NULL)
Daltcp.h116 err_t altcp_write(struct altcp_pcb *conn, const void *dataptr, u16_t len, u8_t apiflags);
Dtcp.h474 u8_t apiflags);
/third_party/lwip/src/core/
Daltcp.c380 altcp_write(struct altcp_pcb *conn, const void *dataptr, u16_t len, u8_t apiflags) in altcp_write() argument
383 return conn->fns->write(conn, dataptr, len, apiflags); in altcp_write()
576 altcp_default_write(struct altcp_pcb *conn, const void *dataptr, u16_t len, u8_t apiflags) in altcp_default_write() argument
579 return altcp_write(conn->inner_conn, dataptr, len, apiflags); in altcp_default_write()
Dtcp_out.c226 u16_t *oversize, const struct tcp_pcb *pcb, u8_t apiflags, in tcp_pbuf_prealloc() argument
238 LWIP_UNUSED_ARG(apiflags); in tcp_pbuf_prealloc()
254 if ((apiflags & TCP_WRITE_FLAG_MORE) || in tcp_pbuf_prealloc()
390 tcp_write(struct tcp_pcb *pcb, const void *arg, u16_t len, u8_t apiflags) in tcp_write() argument
424 apiflags |= TCP_WRITE_FLAG_COPY; in tcp_write()
428 (void *)pcb, arg, len, (u16_t)apiflags)); in tcp_write()
538 if (apiflags & TCP_WRITE_FLAG_COPY) { in tcp_write()
540 …if ((concat_p = tcp_pbuf_prealloc(PBUF_RAW, seglen, space, &oversize, pcb, apiflags, 1)) == NULL) { in tcp_write()
607 if (apiflags & TCP_WRITE_FLAG_COPY) { in tcp_write()
610 …uf_prealloc(PBUF_TRANSPORT, seglen + optlen, mss_local, &oversize, pcb, apiflags, queue == NULL)) … in tcp_write()
[all …]
Daltcp_tcp.c354 altcp_tcp_write(struct altcp_pcb *conn, const void *dataptr, u16_t len, u8_t apiflags) in altcp_tcp_write() argument
362 return tcp_write(pcb, dataptr, len, apiflags); in altcp_tcp_write()
/third_party/lwip/src/include/lwip/priv/
Daltcp_priv.h70 …def err_t (*altcp_write_fn)(struct altcp_pcb *conn, const void *dataptr, u16_t len, u8_t apiflags);
132 err_t altcp_default_write(struct altcp_pcb *conn, const void *dataptr, u16_t len, u8_t apiflags);
Dapi_msg.h117 u8_t apiflags; member
/third_party/lwip/src/apps/lwiperf/
Dlwiperf.c283 u8_t apiflags; in lwiperf_tcp_client_send_more() local
315 apiflags = TCP_WRITE_FLAG_COPY; in lwiperf_tcp_client_send_more()
320 apiflags = TCP_WRITE_FLAG_COPY | TCP_WRITE_FLAG_MORE; in lwiperf_tcp_client_send_more()
330 apiflags = 0; /* no copying needed */ in lwiperf_tcp_client_send_more()
335 err = tcp_write(conn->conn_pcb, txptr, txlen, apiflags); in lwiperf_tcp_client_send_more()
/third_party/lwip/src/apps/http/
Daltcp_proxyconnect.c523 altcp_proxyconnect_write(struct altcp_pcb *conn, const void *dataptr, u16_t len, u8_t apiflags) in altcp_proxyconnect_write() argument
527 LWIP_UNUSED_ARG(apiflags); in altcp_proxyconnect_write()
542 return altcp_write(conn->inner_conn, dataptr, len, apiflags); in altcp_proxyconnect_write()
Dhttpd.c533 http_write(struct altcp_pcb *pcb, const void *ptr, u16_t *length, u8_t apiflags) in http_write() argument
556 err = altcp_write(pcb, ptr, len, apiflags); in http_write()
1017 u8_t apiflags; local
1028 apiflags = HTTP_IS_HDR_VOLATILE(hs, ptr);
1031 apiflags |= TCP_WRITE_FLAG_COPY;
1034 apiflags |= TCP_WRITE_FLAG_MORE;
1036 err = http_write(pcb, ptr, &sendlen, apiflags);
/third_party/lwip/src/apps/altcp_tls/
Daltcp_tls_mbedtls.c1119 altcp_mbedtls_write(struct altcp_pcb *conn, const void *dataptr, u16_t len, u8_t apiflags) in altcp_mbedtls_write() argument
1124 LWIP_UNUSED_ARG(apiflags); in altcp_mbedtls_write()
1181 u8_t apiflags = TCP_WRITE_FLAG_COPY; in altcp_mbedtls_bio_send() local
1190 err_t err = altcp_write(conn->inner_conn, (const void *)dataptr, write_len, apiflags); in altcp_mbedtls_bio_send()
/third_party/lwip/
DCHANGELOG2860 Note that previous "copy" parameter for "write" APIs is now called "apiflags".