Home
last modified time | relevance | path

Searched full:fragment (Results 1 – 25 of 144) sorted by relevance

123456

/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv6/
H A Dip6_frag.c75 * that precedes the fragment header for reassembly pruposes. */
82 * offset and the ending offset of this fragment to
85 * the Fragment Header in memory in incoming fragments to keep
125 * clean up the incomplete fragment assembly */ in ip6_reass_tmr()
159 /* The first fragment was received, send ICMP time exceeded. */ in ip6_reass_free_complete_datagram()
166 /* Then, move back to the original ipv6 header (we are now pointing to Fragment header). in ip6_reass_free_complete_datagram()
167 This cannot fail since we already checked when receiving this fragment. */ in ip6_reass_free_complete_datagram()
231 * @param ipr ip6_reassdata for the current fragment
267 * @param p points to the IPv6 Fragment Header
286 LWIP_ASSERT("IPv6 fragment header does not fit in first pbuf", in ip6_reass()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ipv6/
H A Dip6_frag.c80 * offset and the ending offset of this fragment to
83 * the Fragment Header in memory in incoming fragments to keep
123 * clean up the incomplete fragment assembly */ in ip6_reass_tmr()
157 /* The first fragment was received, send ICMP time exceeded. */ in ip6_reass_free_complete_datagram()
161 /* Then, move back to the original ipv6 header (we are now pointing to Fragment header). in ip6_reass_free_complete_datagram()
162 This cannot fail since we already checked when receiving this fragment. */ in ip6_reass_free_complete_datagram()
218 * @param ipr ip6_reassdata for the current fragment
254 * @param p points to the IPv6 Fragment Header
284 /* Calculate fragment length from IPv6 payload length. in ip6_reass()
285 * Adjust for headers before Fragment Header. in ip6_reass()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv4/
H A Dip4_frag.c87 * offset and the ending offset of this fragment to
135 * clean up the incomplete fragment assembly */ in ip_reass_tmr()
180 /* The first fragment was received, send ICMP time exceeded. */ in ip_reass_free_complete_datagram()
221 * @param fraghdr IP header of the current fragment
272 * Enqueues a new fragment into the fragment queue
275 * @return A pointer to the queue location into which the fragment was enqueued
285 /* No matching previous fragment found, allocate a new reassdata struct */ in ip_reass_enqueue_new_datagram()
337 * fragment was received at least once).
339 * @param new_p points to the pbuf for the current fragment
353 /* Extract length and fragment offset from current fragment */ in ip_reass_chain_frag_into_datagram_and_validate()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ipv4/
H A Dip4_frag.c83 * offset and the ending offset of this fragment to
131 * clean up the incomplete fragment assembly */ in ip_reass_tmr()
176 /* The first fragment was received, send ICMP time exceeded. */ in ip_reass_free_complete_datagram()
217 * @param fraghdr IP header of the current fragment
268 * Enqueues a new fragment into the fragment queue
271 * @return A pointer to the queue location into which the fragment was enqueued
281 /* No matching previous fragment found, allocate a new reassdata struct */ in ip_reass_enqueue_new_datagram()
333 * fragment was received at least once).
335 * @param new_p points to the pbuf for the current fragment
347 /* Extract length and fragment offset from current fragment */ in ip_reass_chain_frag_into_datagram_and_validate()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ipv4/
H A Dip_frag.c81 * offset and the ending offset of this fragment to
129 * clean up the incomplete fragment assembly */ in ip_reass_tmr()
174 /* The first fragment was received, send ICMP time exceeded. */ in ip_reass_free_complete_datagram()
215 * @param fraghdr IP header of the current fragment
263 * Enqueues a new fragment into the fragment queue
266 * @return A pointer to the queue location into which the fragment was enqueued
272 /* No matching previous fragment found, allocate a new reassdata struct */ in ip_reass_enqueue_new_datagram()
325 * fragment was received at least once).
327 * @param new_p points to the pbuf for the current fragment
339 /* Extract length and fragment offset from current fragment */ in ip_reass_chain_frag_into_datagram_and_validate()
[all …]
/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/src/
H A Dmem.c227 * Splits an appropriately-sized fragment from the front of an mbuf chain, as
229 * fragment size, a new mbuf is allocated, and data is moved from the source
231 * fragment, the source mbuf itself is returned unmodified, and the suplied
249 * @param om The packet to fragment. Upon fragmentation,
251 * fragment data is removed. If the packet
252 * constitutes a single fragment, this gets
254 * @param max_frag_sz The maximum payload size of a fragment.
258 * hold a fragment. This function gets called
264 * @return The next fragment to send on success;
275 /* Final fragment. */ in mem_split_frag()
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/src/
H A Dble_l2cap.c196 /* Copy the data from the incoming fragment into the packet in progress. */ in ble_l2cap_append_rx()
219 /* First fragment in packet. */ in ble_l2cap_rx_payload()
266 * Processes an incoming L2CAP fragment.
268 * @param conn The connection the L2CAP fragment was sent
271 * the L2CAP fragment. This header has been
274 * the first fragment, the L2CAP header is at
314 /* First fragment. */ in ble_l2cap_rx()
358 /* Middle fragment without the start. Discard new packet. */ in ble_l2cap_rx()
H A Dble_hs_hci.c398 * Allocates an mbuf to contain an outgoing ACL data fragment.
452 /* The first fragment uses the first-non-flush packet boundary value. in ble_hs_hci_acl_tx_now()
453 * After sending the first fragment, pb gets set appropriately for all in ble_hs_hci_acl_tx_now()
489 /* Account for the controller buf that will hold the txed fragment. */ in ble_hs_hci_acl_tx_now()
/nrf52832-nimble/rt-thread/components/net/uip/doc/html/
H A Da00146.html83 … function is presented by the source code below. <div class="fragment"><pre class="fragment"> <a …
91 …l the uIP ARP code before calling this function: <div class="fragment"><pre class="fragment"><span…
143 … the function is through a for() loop like this: <div class="fragment"><pre class="fragment"> <sp…
150 …)</a> function before calling the device driver: <div class="fragment"><pre class="fragment"> <sp…
272 …2bf848b2e6590d9628">uip_periodic()</a> function: <div class="fragment"><pre class="fragment"> <sp…
279 …n when using uIP together with ARP and Ethernet: <div class="fragment"><pre class="fragment"> <sp…
360 …pointer as illustrated by the following example: <div class="fragment"><pre class="fragment"> <spa…
H A Da00148.html200 Example: <div class="fragment"><pre class="fragment"> <a class="code" href="a00150.html#g1ef35301f4…
249 Example: <div class="fragment"><pre class="fragment"> <a class="code" href="a00150.html#g1ef35301f4…
289 Example: <div class="fragment"><pre class="fragment"> <a class="code" href="a00150.html#g1ef35301f4…
329 Example: <div class="fragment"><pre class="fragment"> <a class="code" href="a00150.html#g1ef35301f4…
369 Example: <div class="fragment"><pre class="fragment"> <a class="code" href="a00150.html#g1ef35301f4…
412 Example: <div class="fragment"><pre class="fragment"> <a class="code" href="a00150.html#g1ef35301f4…
463 Example: <div class="fragment"><pre class="fragment"> <a class="code" href="a00150.html#g1ef35301f4…
516 Example: <div class="fragment"><pre class="fragment"> <a class="code" href="a00150.html#g1ef35301f4…
569 Example: <div class="fragment"><pre class="fragment"> <a class="code" href="a00150.html#g1ef35301f4…
H A Dmain.html97 <div class="fragment"><pre class="fragment"><span class="keywordtype">void</span> connect_example1_…
104 <div class="fragment"><pre class="fragment"><span class="keywordtype">void</span> connect_example2(…
116 <div class="fragment"><pre class="fragment"><span class="keywordtype">void</span> example1_init(<sp…
135 <div class="fragment"><pre class="fragment"><span class="keyword">struct </span>example2_state {
175 <div class="fragment"><pre class="fragment"><span class="preprocessor">#define UIP_APPCALL ex…
180 <div class="fragment"><pre class="fragment"><span class="keywordtype">void</span> example3_init(<sp…
198 <div class="fragment"><pre class="fragment"><span class="keywordtype">void</span> example4_init(<sp…
230 <div class="fragment"><pre class="fragment"><span class="keyword">struct </span>example5_state {
275 <div class="fragment"><pre class="fragment"><span class="keywordtype">void</span> example6_app(<spa…
306 <div class="fragment"><pre class="fragment"><span class="preprocessor">#define STATE_WAITING 0</spa…
[all …]
H A Da00144.html115 Example: <div class="fragment"><pre class="fragment"> <a class="code" href="a00150.html#g1ef35301f4…
270 Example: <div class="fragment"><pre class="fragment"> <a class="code" href="a00150.html#g1ef35301f4…
H A Da00159.html92 <b>Value:</b><div class="fragment"><pre class="fragment"><span class="keyword">static</span> <span …
100 Example: <div class="fragment"><pre class="fragment"><a class="code" href="a00159.html#gf31774d02a6…
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/netif/
H A Dlowpan6.c89 /** fragment reassembly list */
399 /* Fragment, or 1 packet? */ in lowpan6_frag()
406 /* Now we need to fragment the packet. FRAG1 header first */ in lowpan6_frag()
414 /* Fragment follows. */ in lowpan6_frag()
557 * Perform Header Compression and fragment if necessary.
688 /* duplicate fragment. */ in lowpan6_input()
753 /* rogue fragment */ in lowpan6_input()
756 /* Insert new pbuf into list of fragments. Each fragment is a pbuf, in lowpan6_input()
762 /* fragment overlap, discard old fragments */ in lowpan6_input()
789 /* fragment mismatch, discard old fragments */ in lowpan6_input()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/prot/
H A Dip4.h80 /* fragment offset field */
82 #define IP_RF 0x8000U /* reserved fragment flag */
83 #define IP_DF 0x4000U /* don't fragment flag */
H A Dip6.h129 /* Fragment header. */
142 /* fragment offset */
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/prot/
H A Dip4.h82 /* fragment offset field */
84 #define IP_RF 0x8000U /* reserved fragment flag */
85 #define IP_DF 0x4000U /* don't fragment flag */
H A Dip6.h189 /* fragment offset */
202 /* Fragment header. */
216 /* fragment offset */
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/utils/
H A Dkconfig-merge2 # merge_config.sh - Takes a list of config fragment values, and merges
122 echo Value of $CFG is redefined by fragment $MERGE_FILE:
127 echo Value of $CFG is redundant by fragment $MERGE_FILE:
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/ipv4/lwip/
H A Dip.h125 /* fragment offset field */
127 #define IP_RF 0x8000U /* reserved fragment flag */
128 #define IP_DF 0x4000U /* dont fragment flag */
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/
H A Dip6_frag.h61 * ip6_reass_helper" is too large to be stored in the IPv6 fragment header, and
63 * extension header. This means that for each first fragment packet, we need to
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/apps/
H A Dmqtt.h133 /** Flag set when last fragment of data arrives in data callback */
145 * @param len Length of publish data fragment
/nrf52832-nimble/rt-thread/components/net/uip/uip/
H A Duip.c545 /* XXX: IP fragment reassembly: not well-tested. */
567 write the IP header of the fragment into the reassembly in uip_reass()
577 /* Check if the incoming fragment matches the one currently present in uip_reass()
579 fragment into the buffer. */ in uip_reass()
590 /* If the offset or the offset + fragment length overflows the in uip_reass()
598 /* Copy the fragment into the reassembly buffer, at the right in uip_reass()
625 /* If this fragment has the More Fragments flag set to zero, we in uip_reass()
626 know that this is the last fragment, so we can calculate the in uip_reass()
629 the final fragment. */ in uip_reass()
637 this by checking if we have the last fragment and if all bits in uip_reass()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/apps/
H A Dmqtt.h109 /** Flag set when last fragment of data arrives in data callback */
121 * @param len Length of publish data fragment
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/test/src/
H A Dble_l2cap_test.c314 /*** HCI header specifies middle fragment without start. */ in TEST_CASE()
372 /* Receive a starting fragment on the first channel. */ in TEST_CASE()
383 /* Receive a starting fragment on a different channel. The first fragment in TEST_CASE()
417 /* Receive the first fragment of a multipart ACL data packet. */ in TEST_CASE()
430 /* Receive a second fragment. */ in TEST_CASE()

123456