Home
last modified time | relevance | path

Searched full:segment (Results 1 – 25 of 118) sorted by relevance

12345

/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/
H A Dtcp_in.c84 * the segment between the PCBs and passes it on to tcp_process(), which implements
88 * @param p received TCP segment to process (p->payload pointing to the IP header)
89 * @param inp network interface on which this segment was received
165 /* Demultiplex an incoming segment. First, we check if it is destined in tcp_input()
180 lookups will be faster (we exploit locality in TCP segment in tcp_input()
247 lookups will be faster (we exploit locality in TCP segment in tcp_input()
272 /* The incoming segment belongs to a connection. */ in tcp_input()
297 segment contains data */ in tcp_input()
362 /* If a FIN segment was received, we call the callback in tcp_input()
428 * Called by tcp_input() when a segment arrives for a listening
[all …]
H A Dtcp_out.c119 * 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
127 /* first, try to add the fin to the last unsent segment */ in tcp_send_fin()
145 * Create a TCP segment with prefilled header.
214 * @param first_seg true when this pbuf will be used in the first enqueued segment.
237 * before this segment is transmitted, we want the oversized in tcp_pbuf_prealloc()
238 * buffer. If the segment will be transmitted immediately, we can in tcp_pbuf_prealloc()
244 * Will the Nagle algorithm defer transmission of this segment? in tcp_pbuf_prealloc()
270 /** Add a checksum of newly added data to the segment */
350 * - TCP_WRITE_FLAG_MORE (0x02) for TCP connection, PSH flag will be set on last segment sent,
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/
H A Dtcp_in.c94 * the segment between the PCBs and passes it on to tcp_process(), which implements
98 * @param p received TCP segment to process (p->payload pointing to the TCP header)
99 * @param inp network interface on which this segment was received
219 /* Demultiplex an incoming segment. First, we check if it is destined
232 lookups will be faster (we exploit locality in TCP segment
307 lookups will be faster (we exploit locality in TCP segment
334 /* The incoming segment belongs to a connection. */
358 segment contains data */
361 and drop the data segment */
471 /* If a FIN segment was received, we call the callback
[all …]
H A Dtcp_out.c88 /** The size of segment pbufs created when TCP_OVERSIZE is enabled */
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
141 /* first, try to add the fin to the last unsent segment */ in tcp_send_fin()
159 * Create a TCP segment with prefilled header.
229 * @param first_seg true when this pbuf will be used in the first enqueued segment.
250 * before this segment is transmitted, we want the oversized in tcp_pbuf_prealloc()
251 * buffer. If the segment will be transmitted immediately, we can in tcp_pbuf_prealloc()
257 * Will the Nagle algorithm defer transmission of this segment? in tcp_pbuf_prealloc()
283 /** Add a checksum of newly added data to the segment */
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/
H A Dtcp_in.c110 * the segment between the PCBs and passes it on to tcp_process(), which implements
114 * @param p received TCP segment to process (p->payload pointing to the TCP header)
115 * @param inp network interface on which this segment was received
246 /* Demultiplex an incoming segment. First, we check if it is destined
267 lookups will be faster (we exploit locality in TCP segment
362 lookups will be faster (we exploit locality in TCP segment
402 /* The incoming segment belongs to a connection. */
426 segment contains data */
429 and drop the data segment */
529 /* If a FIN segment was received, we call the callback
[all …]
H A Dtcp_out.c13 * - @ref tcp_split_unsent_seg : splits a data segment
20 * segment for these functions
24 * - @ref tcp_send_empty_ack sends an ACK-only segment
25 * - @ref tcp_rst sends a RST segment
26 * - @ref tcp_keepalive sends a keepalive segment
27 * - @ref tcp_zero_window_probe sends a window probe segment
121 /** The size of segment pbufs created when TCP_OVERSIZE is enabled */
144 * Create a TCP segment with prefilled header.
221 * @param first_seg true when this pbuf will be used in the first enqueued segment.
245 * before this segment is transmitted, we want the oversized in tcp_pbuf_prealloc()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/test/unit/tcp/
H A Dtest_tcp_oos.c53 /** Get the seqno of a segment (by index) on the ooseq list
56 * @param seg_index index of the segment on the ooseq list
57 * @return seqno of the segment
65 /* then check the actual segment */ in tcp_oos_seg_seqno()
77 /** Get the tcplen (datalen + SYN/FIN) of a segment (by index) on the ooseq list
80 * @param seg_index index of the segment on the ooseq list
81 * @return tcplen of the segment
89 /* then check the actual segment */ in tcp_oos_seg_tcplen()
104 * @return tcplen of all segment
112 /* then check the actual segment */ in tcp_oos_tcplen()
[all …]
H A Dtest_tcp.c134 /* pass the segment to tcp_input */ in START_TEST()
148 /* pass the segment to tcp_input */ in START_TEST()
183 /* create a segment */ in START_TEST()
187 /* pass the segment to tcp_input */ in START_TEST()
203 /** Create an ESTABLISHED pcb and check if receive callback is called if a segment
231 /* create a segment (with an overlapping/old seqno so that the new data begins in the 2nd pbuf) */ in START_TEST()
241 /* pass the segment to tcp_input */ in START_TEST()
321 /* create a segment without data */ in START_TEST()
326 /* pass the segment to tcp_input */ in START_TEST()
359 /* create a segment */ in START_TEST()
[all …]
H A Dtcp_helper.c45 /** Create a TCP segment usable for passing to tcp_input */
110 /** Create a TCP segment usable for passing to tcp_input */
120 /** Create a TCP segment usable for passing to tcp_input
132 /** Create a TCP segment usable for passing to tcp_input
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/test/unit/tcp/
H A Dtest_tcp_oos.c51 /** Get the seqno of a segment (by index) on the ooseq list
54 * @param seg_index index of the segment on the ooseq list
55 * @return seqno of the segment
63 /* then check the actual segment */ in tcp_oos_seg_seqno()
75 /** Get the tcplen (datalen + SYN/FIN) of a segment (by index) on the ooseq list
78 * @param seg_index index of the segment on the ooseq list
79 * @return tcplen of the segment
87 /* then check the actual segment */ in tcp_oos_seg_tcplen()
102 * @return tcplen of all segment
110 /* then check the actual segment */ in tcp_oos_tcplen()
[all …]
H A Dtcp_helper.c39 /** Create a TCP segment usable for passing to tcp_input */
103 /** Create a TCP segment usable for passing to tcp_input */
113 /** Create a TCP segment usable for passing to tcp_input
125 /** Create a TCP segment usable for passing to tcp_input
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/test/unit/tcp/
H A Dtest_tcp_oos.c53 /** Get the seqno of a segment (by index) on the ooseq list
56 * @param seg_index index of the segment on the ooseq list
57 * @return seqno of the segment
65 /* then check the actual segment */ in tcp_oos_seg_seqno()
77 /** Get the tcplen (datalen + SYN/FIN) of a segment (by index) on the ooseq list
80 * @param seg_index index of the segment on the ooseq list
81 * @return tcplen of the segment
89 /* then check the actual segment */ in tcp_oos_seg_tcplen()
104 * @return tcplen of all segment
112 /* then check the actual segment */ in tcp_oos_tcplen()
[all …]
H A Dtest_tcp.c106 /* create a segment */ in START_TEST()
110 /* pass the segment to tcp_input */ in START_TEST()
158 /* create a segment */ in START_TEST()
178 /* pass the segment to tcp_input */ in START_TEST()
347 /* create expected segment */ in START_TEST()
351 /* pass the segment to tcp_input */ in START_TEST()
383 * segment lists are still properly sorted. */
444 /* ACK the first segment */ in START_TEST()
448 segment should be transmitted because cwnd opened up by in START_TEST()
484 * segment lists are still properly sorted. */
H A Dtcp_helper.c40 /** Create a TCP segment usable for passing to tcp_input */
105 /** Create a TCP segment usable for passing to tcp_input */
115 /** Create a TCP segment usable for passing to tcp_input
127 /** Create a TCP segment usable for passing to tcp_input
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/src/
H A Dtransport.c33 * buffers available compared to the maximum supported outgoing segment
54 /* Number of retransmit attempts (after the initial transmit) per segment */
71 u8_t seg_n:5, /* Last segment index */
259 BT_DBG("Skipping segment that's still advertising"); in seg_tx_send_unacked()
274 BT_ERR("Sending segment failed"); in seg_tx_send_unacked()
305 BT_ERR("Not enough segment buffers for length %u", sdu->om_len); in send_seg()
317 BT_ERR("No multi-segment message contexts available"); in send_seg()
355 BT_ERR("Out of segment buffers"); in send_seg()
403 BT_ERR("Sending segment failed"); in send_seg()
744 BT_ERR("Too large segment number in ack"); in trans_ack()
[all …]
/nrf52832-nimble/nordic/nrfx/hal/
H A Dnrf_radio.h770 * @brief Function for setting Device address base segment.
772 * @param dab_value Particular base segment value.
773 * @param segment Index of the particular Device address base segment register.
775 __STATIC_INLINE void nrf_radio_dab_set(uint32_t dab_value, uint8_t segment);
778 * @brief Function for getting Device address base segment.
780 * @param segment Number of the Device address base segment.
782 * @return Particular segment of the Device address base.
784 __STATIC_INLINE uint32_t nrf_radio_dab_get(uint8_t segment);
797 * @param prefix_index Number of the Device address prefix segment.
799 * @return Particular segment of the Device address prefix.
[all …]
/nrf52832-nimble/rt-thread/components/net/uip/
H A Duip-1.0-changelog.txt82 o TCP: Fixed check for SYNACK segment: now checks only relevant TCP
88 o TCP: FIN segment was accepted even though application had stopped
91 o TCP: A FINACK segment would not always correctly acknowledge data.
/nrf52832-nimble/rt-thread/components/net/uip/doc/
H A Duip-doc.txt77 segment is sent in its own IP packet. The IP packets are sent out on
98 option in any segment" and an example of the second kind is "There
205 receiver window, which means that only a single TCP segment will be in
286 the retransmission. When uIP decides that a segment should be
364 retransmission. When uIP decides that a segment should be
1013 for an acknowledgment for each segment.
1020 only a single TCP segment per connection to be unacknowledged at any
1053 retransmission. When uIP decides that a segment should be
1071 segment, the sender of the segment indicates its available buffer
1088 Since uIP only handles one in-flight TCP segment per connection,
[all …]
/nrf52832-nimble/rt-thread/components/finsh/
H A Dfinsh_var.h16 * The variable in finsh is put in data segment as a global variable.
17 * The 'finsh_var' structure presents the structure of variable in data segment.
/nrf52832-nimble/rt-thread/components/libc/libdl/
H A Ddlelf.c43 LOG_D("LOAD segment: %d, 0x%p, 0x%08x", index, phdr[index].p_vaddr, phdr[index].p_memsz); in dlmodule_load_shared_object()
47 rt_kprintf("invalid elf: segment %d: p_memsz: %d, p_filesz: %d\n", in dlmodule_load_shared_object()
58 rt_kprintf("invalid elf: segment %d: p_vaddr: %d, p_memsz: %d\n", in dlmodule_load_shared_object()
67 rt_kprintf("invalid elf: segment should be sorted and not overlapped\n"); in dlmodule_load_shared_object()
73 LOG_W("warning: too much padding before segment %d", index); in dlmodule_load_shared_object()
80 "segment %d address overflow\n", index); in dlmodule_load_shared_object()
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/
H A Dsyscfg.yml123 supported outgoing segment count (BT_MESH_TX_SEG_MAX).
152 Maximum number of simultaneous outgoing multi-segment and/or
158 Maximum number of simultaneous incoming multi-segment and/or
166 can have. Each segment can contain 12 bytes, so this value should
322 Number of incomplete segment lists that we track for each LPN
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/lwip/
H A Dtcp_impl.h63 /* Only used by IP to pass a TCP segment to TCP: */
80 * - the only unsent segment is at least pcb->mss bytes long (or there is more
81 * than one unsent segment - with lwIP, this can happen although unsent->len < mss)
134 #define TCP_MSL 60000UL /* The maximum segment lifetime in milliseconds */
276 /* This structure represents a TCP segment on the unsent, unacked and ooseq queues */
280 u16_t len; /* the TCP length of this segment */
/nrf52832-nimble/rt-thread/components/net/uip/doc/html/
H A Dmain.html35 …ls. It breaks the byte stream into appropriately sized segments and each segment is sent in its ow…
37 … of the first kind is "A TCP MUST be able to receive a TCP option in any segment" and an example o…
56 …ertises a very small receiver window, which means that only a single TCP segment will be in the ne…
68 …an active part in performing the retransmission. When uIP decides that a segment should be retrans…
80 …an active part in performing the retransmission. When uIP decides that a segment should be retrans…
390 …ple data segments are sent in succession without waiting for an acknowledgment for each segment.<p>
391 …ed by a complex application layer. Instead, uIP allows only a single TCP segment per connection to…
398 …an active part in performing the retransmission. When uIP decides that a segment should be retrans…
400 …n hosts with wildly varying memory dimensions. In each TCP segment, the sender of the segment indi…
404 Since uIP only handles one in-flight TCP segment per connection, the amount of simultaneous segment…
[all …]
/nrf52832-nimble/rt-thread/components/net/uip/uip/
H A Duip.h472 * retransmission timer to 0. This will cause a TCP SYN segment to be
516 * This function is used to send out a single segment of TCP
719 * Get the initial maxium segment size (MSS) of the current
727 * Get the current maxium segment size that can be sent on the current
730 * The current maxiumum segment size that can be sent on the
1166 u16_t mss; /**< Current maximum segment size for the
1168 u16_t initialmss; /**< Initial maximum segment size for the
1178 segment sent. */
1580 * TCP segment, and a pseudo-header as defined in RFC793.
1582 * \return The TCP checksum of the TCP segment in uip_buf and pointed
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/priv/
H A Dtcp_priv.h76 /* Only used by IP to pass a TCP segment to TCP: */
96 * - the only unsent segment is at least pcb->mss bytes long (or there is more
97 * than one unsent segment - with lwIP, this can happen although unsent->len < mss)
137 #define TCP_MSL 60000UL /* The maximum segment lifetime in milliseconds */
252 /* This structure represents a TCP segment on the unsent, unacked and ooseq queues */
256 u16_t len; /* the TCP length of this segment */

12345