| /components/net/lwip/lwip-2.1.2/src/api/ |
| A D | api_lib.c | 579 netconn_recv_data(struct netconn *conn, void **new_buf, u8_t apiflags) in netconn_recv_data() 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() 808 return netconn_recv_data_tcp(conn, new_buf, apiflags); in netconn_recv_tcp_pbuf_flags() 847 return netconn_recv_data(conn, (void **)new_buf, apiflags); in netconn_recv_udp_raw_netbuf_flags() 975 u8_t apiflags, size_t *bytes_written) in netconn_write_partly() argument 998 u8_t apiflags, size_t *bytes_written) in netconn_write_vectors_partly() argument [all …]
|
| A D | api_msg.c | 1648 u8_t apiflags; local 1659 apiflags = conn->current_msg->msg.w.apiflags; 1660 dontblock = netconn_is_nonblocking(conn) || (apiflags & NETCONN_DONTBLOCK); 1681 apiflags |= TCP_WRITE_FLAG_MORE; 1696 apiflags |= TCP_WRITE_FLAG_MORE; 1708 apiflags |= TCP_WRITE_FLAG_MORE; 1712 err = tcp_write(conn->pcb.tcp, dataptr, len, apiflags);
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/ |
| A D | api.h | 336 … 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)
|
| A D | altcp.h | 116 err_t altcp_write(struct altcp_pcb *conn, const void *dataptr, u16_t len, u8_t apiflags);
|
| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| A D | api.h | 239 u8_t apiflags, size_t *bytes_written); 240 #define netconn_write(conn, dataptr, size, apiflags) \ argument 241 netconn_write_partly(conn, dataptr, size, apiflags, NULL)
|
| A D | api_msg.h | 91 u8_t apiflags; member
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/ |
| A D | api.h | 321 u8_t apiflags, size_t *bytes_written); 323 #define netconn_write(conn, dataptr, size, apiflags) \ argument 324 netconn_write_partly(conn, dataptr, size, apiflags, NULL)
|
| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | tcp_out.c | 220 u16_t *oversize, struct tcp_pcb *pcb, u8_t apiflags, in tcp_pbuf_prealloc() argument 229 LWIP_UNUSED_ARG(apiflags); in tcp_pbuf_prealloc() 246 if ((apiflags & TCP_WRITE_FLAG_MORE) || in tcp_pbuf_prealloc() 354 tcp_write(struct tcp_pcb *pcb, const void *arg, u16_t len, u8_t apiflags) in tcp_write() argument 377 apiflags |= TCP_WRITE_FLAG_COPY; in tcp_write() 381 (void *)pcb, arg, len, (u16_t)apiflags)); in tcp_write() 474 if (apiflags & TCP_WRITE_FLAG_COPY) { in tcp_write() 476 …if ((concat_p = tcp_pbuf_prealloc(PBUF_RAW, seglen, space, &oversize, pcb, apiflags, 1)) == NULL) { in tcp_write() 532 if (apiflags & TCP_WRITE_FLAG_COPY) { in tcp_write() 535 …uf_prealloc(PBUF_TRANSPORT, seglen + optlen, mss_local, &oversize, pcb, apiflags, queue == NULL)) … in tcp_write() [all …]
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/priv/ |
| A D | altcp_priv.h | 70 …def err_t (*altcp_write_fn)(struct altcp_pcb *conn, const void *dataptr, u16_t len, u8_t apiflags); 123 err_t altcp_default_write(struct altcp_pcb *conn, const void *dataptr, u16_t len, u8_t apiflags);
|
| A D | api_msg.h | 117 u8_t apiflags; member
|
| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | altcp.c | 380 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() 558 altcp_default_write(struct altcp_pcb *conn, const void *dataptr, u16_t len, u8_t apiflags) in altcp_default_write() argument 561 return altcp_write(conn->inner_conn, dataptr, len, apiflags); in altcp_default_write()
|
| A D | tcp_out.c | 226 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 …]
|
| A D | altcp_tcp.c | 349 altcp_tcp_write(struct altcp_pcb *conn, const void *dataptr, u16_t len, u8_t apiflags) in altcp_tcp_write() argument 357 return tcp_write(pcb, dataptr, len, apiflags); in altcp_tcp_write()
|
| /components/net/lwip/lwip-2.0.3/src/apps/lwiperf/ |
| A D | lwiperf.c | 255 u8_t apiflags; in lwiperf_tcp_client_send_more() local 287 apiflags = TCP_WRITE_FLAG_COPY; in lwiperf_tcp_client_send_more() 292 apiflags = TCP_WRITE_FLAG_COPY | TCP_WRITE_FLAG_MORE; in lwiperf_tcp_client_send_more() 302 apiflags = 0; /* no copying needed */ in lwiperf_tcp_client_send_more() 307 err = tcp_write(conn->conn_pcb, txptr, txlen, apiflags); in lwiperf_tcp_client_send_more()
|
| /components/net/lwip/lwip-2.0.3/src/core/ |
| A D | tcp_out.c | 234 u16_t *oversize, struct tcp_pcb *pcb, u8_t apiflags, in tcp_pbuf_prealloc() argument 243 LWIP_UNUSED_ARG(apiflags); in tcp_pbuf_prealloc() 259 if ((apiflags & TCP_WRITE_FLAG_MORE) || in tcp_pbuf_prealloc() 368 tcp_write(struct tcp_pcb *pcb, const void *arg, u16_t len, u8_t apiflags) in tcp_write() argument 396 apiflags |= TCP_WRITE_FLAG_COPY; in tcp_write() 400 (void *)pcb, arg, len, (u16_t)apiflags)); in tcp_write() 502 if (apiflags & TCP_WRITE_FLAG_COPY) { in tcp_write() 504 …if ((concat_p = tcp_pbuf_prealloc(PBUF_RAW, seglen, space, &oversize, pcb, apiflags, 1)) == NULL) { in tcp_write() 569 if (apiflags & TCP_WRITE_FLAG_COPY) { in tcp_write() 572 …uf_prealloc(PBUF_TRANSPORT, seglen + optlen, mss_local, &oversize, pcb, apiflags, queue == NULL)) … in tcp_write() [all …]
|
| /components/net/lwip/lwip-2.1.2/src/apps/lwiperf/ |
| A D | lwiperf.c | 283 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()
|
| /components/net/lwip/lwip-1.4.1/src/api/ |
| A D | api_lib.c | 599 u8_t apiflags, size_t *bytes_written) in netconn_write_partly() argument 610 dontblock = netconn_is_nonblocking(conn) || (apiflags & NETCONN_DONTBLOCK); in netconn_write_partly() 621 msg.msg.msg.w.apiflags = apiflags; in netconn_write_partly()
|
| A D | api_msg.c | 1216 (conn->current_msg->msg.w.apiflags & NETCONN_DONTBLOCK); 1217 u8_t apiflags = conn->current_msg->msg.w.apiflags; local 1250 apiflags |= TCP_WRITE_FLAG_MORE; 1267 apiflags |= TCP_WRITE_FLAG_MORE; 1271 err = tcp_write(conn->pcb.tcp, dataptr, len, apiflags);
|
| /components/net/lwip/lwip-2.1.2/src/apps/http/ |
| A D | altcp_proxyconnect.c | 523 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()
|
| A D | httpd.c | 533 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);
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/priv/ |
| A D | api_msg.h | 108 u8_t apiflags; member
|
| /components/net/lwip/lwip-2.0.3/src/api/ |
| A D | api_lib.c | 736 u8_t apiflags, size_t *bytes_written) in netconn_write_partly() argument 747 dontblock = netconn_is_nonblocking(conn) || (apiflags & NETCONN_DONTBLOCK); in netconn_write_partly() 763 API_MSG_VAR_REF(msg).msg.w.apiflags = apiflags; in netconn_write_partly()
|
| A D | api_msg.c | 1505 u8_t apiflags; local 1514 apiflags = conn->current_msg->msg.w.apiflags; 1515 dontblock = netconn_is_nonblocking(conn) || (apiflags & NETCONN_DONTBLOCK); 1538 apiflags |= TCP_WRITE_FLAG_MORE; 1552 apiflags |= TCP_WRITE_FLAG_MORE; 1556 err = tcp_write(conn->pcb.tcp, dataptr, len, apiflags);
|
| /components/net/lwip/lwip-2.1.2/src/apps/altcp_tls/ |
| A D | altcp_tls_mbedtls.c | 1031 altcp_mbedtls_write(struct altcp_pcb *conn, const void *dataptr, u16_t len, u8_t apiflags) in altcp_mbedtls_write() argument 1036 LWIP_UNUSED_ARG(apiflags); in altcp_mbedtls_write() 1093 u8_t apiflags = TCP_WRITE_FLAG_COPY; in altcp_mbedtls_bio_send() local 1102 err_t err = altcp_write(conn->inner_conn, (const void *)dataptr, write_len, apiflags); in altcp_mbedtls_bio_send()
|
| /components/net/lwip/lwip-2.0.3/src/apps/httpd/ |
| A D | httpd.c | 519 http_write(struct tcp_pcb *pcb, const void* ptr, u16_t *length, u8_t apiflags) in http_write() argument 542 err = tcp_write(pcb, ptr, len, apiflags); in http_write() 990 u8_t apiflags; local 1001 apiflags = HTTP_IS_HDR_VOLATILE(hs, ptr); 1004 apiflags |= TCP_WRITE_FLAG_COPY; 1007 apiflags |= TCP_WRITE_FLAG_MORE; 1009 err = http_write(pcb, ptr, &sendlen, apiflags);
|