Home
last modified time | relevance | path

Searched full:send (Results 1 – 25 of 483) sorted by relevance

12345678910>>...20

/nrf52832-nimble/rt-thread/components/utilities/zmodem/
H A Dsz.c37 /* start zmodem send process */
49 rt_kprintf("\r\nsz: ready...\r\n"); /* here ready to send things */ in zs_start()
103 /* send SINIT cmd */ in zsend_init()
107 /* send files */
117 rt_kprintf("\r\nerror: no file to be send.\r\n"); in zsend_files()
164 /* send file name and related info */
216 /* send the file data */
222 /* send ZDATA packet, start to send data */ in zsend_file_data()
238 for (;;) /* get ack and check if send finish */ in zsend_file_data()
253 case ZRINIT: /* send finish,then begin to send next file */ in zsend_file_data()
[all …]
H A Dzdef.h23 #define ZSINIT 2 /* send init sequence (optional) */
72 #define CANFDX 0x01 /* rx can send and receive true FDX */
74 #define CANBRK 0x04 /* rx can send a break signal */
127 extern rt_uint8_t Txfcs32; /* TRUE means send binary frames with 32 bit FCS */
132 extern rt_uint8_t Txfcs32; /* TURE means send binary frames with 32 bit FCS */
144 #define WANTG 0107 /* send G not NAK to get nonstop batch xmsn */
149 #define WANTCRC 0103 /* send C not NAK to get crc not checksum */
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/http/
H A Dhttpd.c82 * filename that the HTTP server will send to the browser as a response to
178 /* Filename for response file to send when POST is finished or
404 /* send RST when killing a connection because of memory shortage */ in http_kill_oldest_connection()
484 …LWIP_DEBUGF(HTTPD_DEBUG_TIMING, ("httpd: needed %"U32_F" ms to send file of %d bytes -> %"U32_F" b… in http_state_eof()
525 * @param pcb altcp_pcb to send
526 * @param ptr Data to send
527 * @param length Length of data to send (in/out: on return, contains the
542 /* We cannot send more data than space available in the send buffer. */ in http_write()
555 LWIP_DEBUGF(HTTPD_DEBUG | LWIP_DBG_TRACE, ("Trying to send %d bytes\n", len)); in http_write()
566 ("Send failed, trying less (%d bytes)\n", len)); in http_write()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/httpd/
H A Dhttpd.c82 * filename that the HTTP server will send to the browser as a response to
174 /* Filename for response file to send when POST is finished or
390 /* send RST when killing a connection because of memory shortage */ in http_kill_oldest_connection()
470 …LWIP_DEBUGF(HTTPD_DEBUG_TIMING, ("httpd: needed %"U32_F" ms to send file of %d bytes -> %"U32_F" b… in http_state_eof()
511 * @param pcb tcp_pcb to send
512 * @param ptr Data to send
513 * @param length Length of data to send (in/out: on return, contains the
528 /* We cannot send more data than space available in the send buffer. */ in http_write()
541 LWIP_DEBUGF(HTTPD_DEBUG | LWIP_DBG_TRACE, ("Trying go send %d bytes\n", len)); in http_write()
552 ("Send failed, trying less (%d bytes)\n", len)); in http_write()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/test/unit/tcp/
H A Dtest_tcp.c122 * At the end, send more data. */
153 /* disable initial congestion window (we don't send a SYN here...) */ in START_TEST()
156 /* send data1 */ in START_TEST()
170 /* send data2 */ in START_TEST()
184 /* send data3 */ in START_TEST()
199 /* queue data4, don't send it (unsent-oversize is != 0) */ in START_TEST()
211 /* send data5, not output yet */ in START_TEST()
234 /* send even more data */ in START_TEST()
255 /* send ACKs for data2 and data3 */ in START_TEST()
307 /** Send data with sequence numbers that wrap around the u32_t range.
[all …]
/nrf52832-nimble/rt-thread/components/net/sal_socket/include/
H A Dsal_socket.h44 #define SO_BROADCAST 0x0020 /* permit to send and to receive broadcast messages (see IP_SOF_BROA…
55 #define SO_SNDBUF 0x1001 /* Unimplemented: send buffer size */
57 #define SO_SNDLOWAT 0x1003 /* Unimplemented: send low-water mark */
59 #define SO_SNDTIMEO 0x1005 /* send timeout */
93 /* Flags we can use with send and recv */
98 #define MSG_MORE 0x10 /* Sender will send more */
101 #define TCP_NODELAY 0x01 /* don't delay send to coalesce packets */
102 #define TCP_KEEPALIVE 0x02 /* send KEEPALIVE probes when idle for pcb->keep_idle milliseconds …
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv6/
H A Dicmp6.c192 /* Send reply. */ in icmp6_input()
210 * Send an icmpv6 'destination unreachable' packet.
226 * Send an icmpv6 'packet too big' packet.
242 * Send an icmpv6 'time exceeded' packet.
258 * Send an icmpv6 'time exceeded' packet, with explicit source and destination
261 * This function may be used to send a response sometime after receiving the
280 * Send an icmpv6 'parameter problem' packet.
299 * Send an ICMPv6 packet in response to an incoming packet.
327 * Send an ICMPv6 packet in response to an incoming packet.
373 * Send an ICMPv6 packet (with srd/dst address and netif given).
[all …]
/nrf52832-nimble/rt-thread/examples/network/
H A Dtcpsendpacket.c45 result = send(sock, buffer_ptr, length, MSG_DONTWAIT); in tcp_senddata()
48 rt_kprintf("TCP thread send error: %d\n", result); in tcp_senddata()
63 rt_kprintf("\n Send warning,send function return 0.\r\n"); in tcp_senddata()
71 FINSH_FUNCTION_EXPORT(tcp_senddata, send a packet through tcp connection);
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/test/unit/tcp/
H A Dtest_tcp.c196 * At the end, send more data. */
227 /* disable initial congestion window (we don't send a SYN here...) */ in START_TEST()
230 /* send data1 */ in START_TEST()
244 /* send data2 */ in START_TEST()
258 /* send data3 */ in START_TEST()
273 /* queue data4, don't send it (unsent-oversize is != 0) */ in START_TEST()
285 /* send data5, not output yet */ in START_TEST()
308 /* send even more data */ in START_TEST()
329 /* send ACKs for data2 and data3 */ in START_TEST()
381 /** Send data with sequence numbers that wrap around the u32_t range.
[all …]
/nrf52832-nimble/nordic/nrfx/hal/
H A Dnrf_qspi.h162 … NRF_QSPI_ADDRCONF_MODE_NOINSTR = QSPI_ADDRCONF_MODE_NoInstr, /**< Do not send any instruction. */
163 NRF_QSPI_ADDRCONF_MODE_OPCODE = QSPI_ADDRCONF_MODE_Opcode, /**< Send opcode. */
164 NRF_QSPI_ADDRCONF_MODE_OPBYTE0 = QSPI_ADDRCONF_MODE_OpByte0, /**< Send opcode, byte0. */
165 NRF_QSPI_ADDRCONF_MODE_ALL = QSPI_ADDRCONF_MODE_All /**< Send opcode, byte0, byte1. */
183 NRF_QSPI_CINSTR_LEN_1B = QSPI_CINSTRCONF_LENGTH_1B, /**< Send opcode only. */
184 NRF_QSPI_CINSTR_LEN_2B = QSPI_CINSTRCONF_LENGTH_2B, /**< Send opcode, CINSTRDAT0.BYTE0. */
185 …NRF_QSPI_CINSTR_LEN_3B = QSPI_CINSTRCONF_LENGTH_3B, /**< Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDA…
186 …NRF_QSPI_CINSTR_LEN_4B = QSPI_CINSTRCONF_LENGTH_4B, /**< Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDA…
187 …NRF_QSPI_CINSTR_LEN_5B = QSPI_CINSTRCONF_LENGTH_5B, /**< Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDA…
188 …NRF_QSPI_CINSTR_LEN_6B = QSPI_CINSTRCONF_LENGTH_6B, /**< Send opcode, CINSTRDAT0.BYTE0 -> CINSTRDA…
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/test/unit/tcp/
H A Dtest_tcp.c397 * At the end, send more data. */
423 /* disable initial congestion window (we don't send a SYN here...) */ in START_TEST()
426 /* send data1 */ in START_TEST()
440 /* send data2 */ in START_TEST()
454 /* send data3 */ in START_TEST()
469 /* queue data4, don't send it (unsent-oversize is != 0) */ in START_TEST()
481 /* send data5, not output yet */ in START_TEST()
504 /* send even more data */ in START_TEST()
525 /* send ACKs for data2 and data3 */ in START_TEST()
577 /** Send data with sequence numbers that wrap around the u32_t range.
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/
H A Dtcp_out.c87 * @param pcb tcp pcb for which to send a packet (used to initialize tcp_hdr)
119 * Called by tcp_close() to send a segment including FIN flag but not data.
121 * @param pcb the tcp_pcb over which to send a segment
290 * @param len length of data to send (checked agains snd_buf)
338 * Write data for sending (but does not send it immediately).
341 * it can send them more efficiently by combining them together).
342 * To prompt the system to send data now, call tcp_output() after
755 * This means we can't send FIN while snd_buf==0. A better fix would be to in tcp_enqueue_flags()
758 LWIP_DEBUGF(TCP_OUTPUT_DEBUG | 3, ("tcp_enqueue_flags: no send buffer available\n")); in tcp_enqueue_flags()
837 /** Send an ACK without data.
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/src/
H A Dble_ll_conn_hci.c38 * Used to limit the rate at which we send the number of completed packets
39 * event to the host. This is the os time at which we can send an event.
61 * Allocate an event to send a connection complete event when initiating
127 * Send a connection complete event
226 * Called to create and send the number of completed packets event to the
247 * and send the number of completed packet events. We do this mainly in ble_ll_conn_num_comp_pkts_event_send()
255 * If this connection has completed packets, send an event right away. in ble_ll_conn_num_comp_pkts_event_send()
304 /* Send now if the buffer is full. */ in ble_ll_conn_num_comp_pkts_event_send()
317 /* Send event if there is an event to send */ in ble_ll_conn_num_comp_pkts_event_send()
333 * Send a authenticated payload timeout event
[all …]
/nrf52832-nimble/packages/NimBLE-latest/porting/npl/dummy/src/
H A Dhci_dummy.c138 /* Called by NimBLE host to send HCI Command packet over HCI transport */
145 * TODO Send HCI Command packet somewhere. in ble_hci_trans_hs_cmd_tx()
155 /* Called by NimBLE host to send HCI ACL Data packet over HCI transport */
162 * TODO Send HCI ACL Data packet somewhere. in ble_hci_trans_hs_acl_tx()
173 /* Called by application to send HCI ACL Data packet to host */
188 /* Called by application to send HCI Event packet to host */
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ipv4/
H A Dicmp.c56 * used to modify and send a response packet (and to 1 if this is not the case,
212 /* increase number of messages attempted to send */ in icmp_input()
214 /* increase number of echo replies attempted to send */ in icmp_input()
221 /* send an ICMP packet, src addr is the dest addr of the curren packet */ in icmp_input()
252 * Send an icmp 'destination unreachable' packet, called from ip_input() if
268 * Send a 'time exceeded' packet, called from ip_forward() if TTL is 0.
283 * Send an icmp packet in response to an incoming packet.
330 /* increase number of messages attempted to send */ in icmp_send_response()
332 /* increase number of destination unreachable messages attempted to send */ in icmp_send_response()
H A Dip.c121 * @return the netif on which to send to reach dest
226 /* @todo: send ICMP_DUR_NET? */ in ip_forward()
240 /* send ICMP if TTL == 0 */ in ip_forward()
244 /* Don't send ICMP messages in response to ICMP messages */ in ip_forward()
274 …/* @todo: send ICMP Destination Unreacheable code 13 "Communication administratively prohibited"? … in ip_forward()
277 /* send ICMP Destination Unreacheable code 4: "Fragmentation Needed and DF Set" */ in ip_forward()
568 /* send to upper layers */
617 /* send ICMP destination protocol unreachable unless is was a broadcast */
650 * @param p the packet to send (p->payload points to the data, e.g. next
653 * @param src the source IP address to send from (if src == IP_ADDR_ANY, the
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/
H A Dtcp_out.c101 * @param pcb tcp pcb for which to send a packet (used to initialize tcp_hdr)
133 * Called by tcp_close() to send a segment including FIN flag but not data.
135 * @param pcb the tcp_pcb over which to send a segment
303 * @param len length of data to send (checked agains snd_buf)
352 * Write data for sending (but does not send it immediately).
355 * it can send them more efficiently by combining them together).
356 * To prompt the system to send data now, call tcp_output() after
913 * Send an ACK without data.
915 * @param pcb Protocol control block for the TCP connection to send the ACK
986 * Find out what we can send and send it
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/api/
H A Dapi_lib.c539 * Send data (in form of a netbuf) to a specific remote IP address and port.
542 * @param conn the netconn over which to send data
543 * @param buf a netbuf containing the data to send
544 * @param addr the remote IP address to which to send the data
545 * @param port the remote port to which to send the data
560 * Send data over a UDP or RAW netconn (that is already connected).
562 * @param conn the UDP or RAW netconn over which to send data
563 * @param buf a netbuf containing the data to send
585 * Send data over a TCP netconn.
587 * @param conn the TCP netconn over which to send data
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/netif/ppp/
H A Dfsm.c101 /* Send an initial configure-request */ in fsm_lowerup()
172 /* Send an initial configure-request */ in fsm_open()
198 * send a terminate-request message as configured.
208 /* Init restart counter and send Terminate-Request */ in terminate_layer()
281 /* Send Terminate-Request */ in fsm_timeout()
302 fsm_sconfreq(f, 1); /* Re-send Configure-Request */ in fsm_timeout()
408 fsm_sconfreq(f, 0); /* Send initial Configure-Request */ in fsm_rconfreq()
414 fsm_sconfreq(f, 0); /* Send initial Configure-Request */ in fsm_rconfreq()
433 /* send the Ack, Nak or Rej to the peer */ in fsm_rconfreq()
503 fsm_sconfreq(f, 0); /* Send initial Configure-Request */ in fsm_rconfack()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/netif/ppp/
H A Dfsm.c101 /* Send an initial configure-request */ in fsm_lowerup()
172 /* Send an initial configure-request */ in fsm_open()
198 * send a terminate-request message as configured.
208 /* Init restart counter and send Terminate-Request */ in terminate_layer()
281 /* Send Terminate-Request */ in fsm_timeout()
302 fsm_sconfreq(f, 1); /* Re-send Configure-Request */ in fsm_timeout()
408 fsm_sconfreq(f, 0); /* Send initial Configure-Request */ in fsm_rconfreq()
414 fsm_sconfreq(f, 0); /* Send initial Configure-Request */ in fsm_rconfreq()
433 /* send the Ack, Nak or Rej to the peer */ in fsm_rconfreq()
503 fsm_sconfreq(f, 0); /* Send initial Configure-Request */ in fsm_rconfack()
[all …]
/nrf52832-nimble/rt-thread/components/net/uip/uip/
H A Duip.c80 * If the application whishes to send data to the peer, it should put
83 * checksums, and fill in the necessary header fields and finally send
465 conn->timer = 1; /* Send the SYN next time around. */ in uip_connect()
759 /* We also send a reset packet to the remote host. */ in uip_process()
1015 goto send; in uip_process()
1033 /* If we get a neighbor solicitation for our address we should send in uip_process()
1043 /* We should now send a neighbor advertisement back to where the in uip_process()
1057 goto send; in uip_process()
1074 goto send; in uip_process()
1093 send. */ in uip_process()
[all …]
/nrf52832-nimble/rt-thread/components/drivers/spi/
H A Dspi_msd.c180 uint8_t send = DUMMY; in _send_cmd() local
183 message.send_buf = &send; in _send_cmd()
268 uint8_t send, recv; in _wait_token() local
274 send = DUMMY; in _wait_token()
275 message.send_buf = &send; in _wait_token()
302 uint8_t send, recv; in _wait_ready() local
306 send = DUMMY; in _wait_ready()
308 message.send_buf = &send; in _wait_ready()
380 /* send start block token */ in _write_block()
392 /* send data */ in _write_block()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ipv4/
H A Detharp.c222 /* Don't send more than one request every 2 seconds. */ in etharp_tmr()
226 re-send an ARP request. */ in etharp_tmr()
470 /* this is where we will send out queued packets! */
487 /* send the queued IP packet */
630 * send out queued IP packets. Updates cache with snooped address pairs.
699 /* ARP request. If it asked for our address, we send out a
701 * and possibly send out an IP packet that was queued on it. */
706 /* send ARP response */
828 on the same physical link. The host MUST NOT send the packet to any
842 /* send to hardware address of default gateway IP address */
[all …]
H A Dip4.c149 * @return the netif on which to send to reach dest
293 /* @todo: send ICMP_DUR_NET? */ in ip4_forward()
307 /* send ICMP if TTL == 0 */ in ip4_forward()
311 /* Don't send ICMP messages in response to ICMP messages */ in ip4_forward()
341 …/* @todo: send ICMP Destination Unreachable code 13 "Communication administratively prohibited"? */ in ip4_forward()
345 /* send ICMP Destination Unreachable code 4: "Fragmentation Needed and DF Set" */ in ip4_forward()
654 /* send to upper layers */
700 /* send ICMP destination protocol unreachable unless is was a broadcast */
737 * @param p the packet to send (p->payload points to the data, e.g. next
740 * @param src the source IP address to send from (if src == IP4_ADDR_ANY, the
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv4/
H A Detharp.c220 /* Don't send more than one request every 2 seconds. */ in etharp_tmr()
224 re-send an ARP request. */ in etharp_tmr()
468 /* this is where we will send out queued packets! */
485 /* send the queued IP packet */
630 * send out queued IP packets. Updates cache with snooped address pairs.
701 /* ARP request. If it asked for our address, we send out a
703 * and possibly send out an IP packet that was queued on it. */
708 /* send ARP response */
831 on the same physical link. The host MUST NOT send the packet to any
845 /* send to hardware address of default gateway IP address */
[all …]

12345678910>>...20