Home
last modified time | relevance | path

Searched full:header (Results 1 – 25 of 565) sorted by relevance

12345678910>>...23

/nrf52832-nimble/rt-thread/components/finsh/
H A Dfinsh_heap.c23 #define finsh_block_get_data(header) (uint8_t*)((struct finsh_block_header*)header + 1) argument
31 static void finsh_block_insert(struct finsh_block_header** list, struct finsh_block_header* header);
32 static void finsh_block_remove(struct finsh_block_header** list, struct finsh_block_header* header);
33 static void finsh_block_split(struct finsh_block_header* header, size_t size);
34 static void finsh_block_merge(struct finsh_block_header** list, struct finsh_block_header* header);
56 struct finsh_block_header* header; in finsh_heap_allocate() local
61 for (header = free_list; in finsh_heap_allocate()
62 ((header != NULL) && (header->length <= size + sizeof(struct finsh_block_header))); in finsh_heap_allocate()
63 header = header->next) ; in finsh_heap_allocate()
65 if (header == NULL) in finsh_heap_allocate()
[all …]
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/scripts/.autostuff/
H A Dconfig.h.in3 /* Define to 1 if you have the <curses.h> header file. */
6 /* Define to 1 if you have the <dlfcn.h> header file. */
9 /* Define to 1 if you have the <inttypes.h> header file. */
12 /* Define to 1 if you have the <libintl.h> header file. */
15 /* Define to 1 if you have the <memory.h> header file. */
18 /* Define to 1 if you have the <ncursesw/curses.h> header file. */
21 /* Define to 1 if you have the <ncurses/curses.h> header file. */
24 /* Define to 1 if you have the <ncurses.h> header file. */
27 /* Define to 1 if you have the <ncurses/ncurses.h> header file. */
30 /* Define to 1 if you have the <stdint.h> header file. */
[all …]
/nrf52832-nimble/rt-thread/components/drivers/spi/sfud/src/
H A Dsfud_sfdp.c54 * SFDP parameter header structure
83 /* JEDEC basic flash parameter header */ in sfud_read_sfdp()
88 …SFUD_INFO("Warning: Read SFDP parameter header information failed. The %s is not support JEDEC SFD… in sfud_read_sfdp()
94 * Read SFDP parameter header
102 /* The SFDP header is located at address 000000h of the SFDP data structure. in read_sfdp_header()
104 /* sfdp parameter header address */ in read_sfdp_header()
106 /* each parameter header being 2 DWORDs (64-bit) */ in read_sfdp_header()
107 uint8_t header[2 * 4] = { 0 }; in read_sfdp_header() local
112 /* read SFDP header */ in read_sfdp_header()
113 if (read_sfdp_data(flash, header_addr, header, sizeof(header)) != SFUD_SUCCESS) { in read_sfdp_header()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/httpd/makefsdata/
H A Dmakefsdata17 open(HEADER, "> /tmp/header") || die $!;
19 print(HEADER "HTTP/1.0 404 File not found\r\n");
21 print(HEADER "HTTP/1.0 200 OK\r\n");
23 print(HEADER "Server: lwIP/pre-0.6 (http://www.sics.se/~adam/lwip/)\r\n");
25 print(HEADER "Content-type: text/html\r\n");
27 print(HEADER "Content-type: image/gif\r\n");
29 print(HEADER "Content-type: image/png\r\n");
31 print(HEADER "Content-type: image/jpeg\r\n");
33 print(HEADER "Content-type: application/octet-stream\r\n");
35 print(HEADER "Content-type: audio/x-pn-realaudio\r\n");
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/http/makefsdata/
H A Dmakefsdata17 open(HEADER, "> /tmp/header") || die $!;
19 print(HEADER "HTTP/1.0 404 File not found\r\n");
21 print(HEADER "HTTP/1.0 200 OK\r\n");
23 print(HEADER "Server: lwIP/pre-0.6 (http://www.sics.se/~adam/lwip/)\r\n");
25 print(HEADER "Content-type: text/html\r\n");
27 print(HEADER "Content-type: image/gif\r\n");
29 print(HEADER "Content-type: image/png\r\n");
31 print(HEADER "Content-type: image/jpeg\r\n");
33 print(HEADER "Content-type: application/octet-stream\r\n");
35 print(HEADER "Content-type: audio/x-pn-realaudio\r\n");
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ipv6/
H A Dip6.c284 * @param p the packet to forward (p->payload points to IP header)
285 * @param iphdr the IPv6 header of the input packet
379 * IP header such as packet size being at least larger than the header
385 * @param p the received IPv6 packet (p->payload points to IPv6 header)
396 u16_t hlen; /* the current header length */ in ip6_input()
405 /* identify the IP header */ in ip6_input()
423 /* header length exceeds first pbuf length, or ip length exceeds total pbuf length? */ in ip6_input()
427 … ("IPv6 header (len %"U16_F") does not fit in first pbuf (len %"U16_F"), IP packet dropped.\n", in ip6_input()
460 /* current header pointer. */ in ip6_input()
573 /* Save next header type. */ in ip6_input()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv6/
H A Dip6.c361 * @param p the packet to forward (p->payload points to IP header)
362 * @param iphdr the IPv6 header of the input packet
497 * IP header such as packet size being at least larger than the header
503 * @param p the received IPv6 packet (p->payload points to IPv6 header)
514 u16_t hlen, hlen_tot; /* the current header length */
527 /* identify the IP header */
545 /* header length exceeds first pbuf length, or ip length exceeds total pbuf length? */
549 … ("IPv6 header (len %"U16_F") does not fit in first pbuf (len %"U16_F"), IP packet dropped.\n",
588 /* current header pointer. */
700 /* Save next header type. */
[all …]
H A Dip6_frag.c74 /* The number of bytes we need to "borrow" from (i.e., overwrite in) the header
75 * that precedes the fragment header for reassembly pruposes. */
84 * It has the same packing requirements as the IPv6 header, since it replaces
85 * the Fragment Header in memory in incoming fragments to keep
166 /* Then, move back to the original ipv6 header (we are now pointing to Fragment header). in ip6_reass_free_complete_datagram()
169 LWIP_ASSERT("ip6_reass_free: moving p->payload to ip6 header failed\n", 0); in ip6_reass_free_complete_datagram()
267 * @param p points to the IPv6 Fragment Header
269 * IPv6 Header if reassembly is complete
286 LWIP_ASSERT("IPv6 fragment header does not fit in first pbuf", in ip6_reass()
296 * Adjust for headers before Fragment Header. in ip6_reass()
[all …]
H A Dicmp6.c79 * @param p the mld packet, p->payload pointing to the icmpv6 header
91 /* Check that ICMPv6 header fits in payload */ in icmp6_input()
216 * p->payload pointing to the IPv6 header
232 * p->payload pointing to the IPv6 header
248 * p->payload pointing to the IPv6 header
266 * p->payload pointing to the IPv6 header
287 * p->payload pointing to the IP header
303 * p->payload pointing to the IPv6 header
304 * @param code Code of the ICMPv6 header
305 * @param data Additional 32-bit parameter in the ICMPv6 header
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/
H A Dinet_chksum.c303 * @param src source ip address (used for checksum of pseudo header)
304 * @param dst destination ip address (used for checksum of pseudo header)
305 * @param proto ip protocol (used for checksum of pseudo header)
306 * @param proto_len length of the ip data part (used for checksum of pseudo header)
307 * @return checksum (as u16_t) to be saved directly in the protocol header
332 * Calculates the checksum with IPv6 pseudo header used by TCP and UDP for a pbuf chain.
336 * @param proto ipv6 protocol/next header (used for checksum of pseudo header)
337 * @param proto_len length of the ipv6 payload (used for checksum of pseudo header)
338 * @param src source ipv6 address (used for checksum of pseudo header)
339 * @param dest destination ipv6 address (used for checksum of pseudo header)
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/
H A Dinet_chksum.c303 * @param src source ip address (used for checksum of pseudo header)
304 * @param dst destination ip address (used for checksum of pseudo header)
305 * @param proto ip protocol (used for checksum of pseudo header)
306 * @param proto_len length of the ip data part (used for checksum of pseudo header)
307 * @return checksum (as u16_t) to be saved directly in the protocol header
332 * Calculates the checksum with IPv6 pseudo header used by TCP and UDP for a pbuf chain.
336 * @param proto ipv6 protocol/next header (used for checksum of pseudo header)
337 * @param proto_len length of the ipv6 payload (used for checksum of pseudo header)
338 * @param src source ipv6 address (used for checksum of pseudo header)
339 * @param dest destination ipv6 address (used for checksum of pseudo header)
[all …]
/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
62 * will bleed into the header before it, which may be the IPv6 header or an
63 * extension header. This means that for each first fragment packet, we need to
64 * 1) make a copy of some IPv6 header fields (src+dest) that we need later on,
65 * just in case we do overwrite part of the IPv6 header, and 2) make a copy of
66 * the header data that we overwrote, so that we can restore it before either
75 * presence of extensions, may not) overwrite part of the IP header. Therefore,
76 * we copy the fields that we need from the IP header for as long as the helper
78 * those fields in the IP header each time we need to perform checks on them. */
93 struct ip6_hdr *iphdr; /* pointer to the first (original) IPv6 header */
[all …]
H A Dip.h56 to ip_output), meaning that an IP header already is constructed
114 /** Header of the input packet currently being processed. */
118 /** Header of the input IPv6 packet currently being processed. */
121 /** Total header length of current_ip4/6_header (i.e. after this, the UDP/TCP header starts) */
140 /** Total header length of ip(6)_current_header() (i.e. after this, the UDP/TCP header starts) */
148 /** Get the IPv4 header of the current packet.
152 /** Get the IPv6 header of the current packet.
166 /** Get the transport layer header */
177 /** Get the IPv4 header of the current packet.
185 /** Get the transport layer header */
[all …]
/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/include/os/
H A Dos_mbuf.h41 * and the amount of "user" data in a non-packet header mbuf. The total pool
48 * mempool block, minus the mbuf header
61 * A packet header structure that preceeds the mbuf packet headers.
89 * Length of packet header
127 * Checks whether a given mbuf is a packet header mbuf
134 /** Get a packet header pointer given an mbuf pointer */
138 /** Given a mbuf packet header pointer, return a pointer to the mbuf */
144 * packet header.
158 * Access the "user header" in the head of an mbuf chain.
167 * Retrieves the length of the user header in an mbuf.
[all …]
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/src/uffs/
H A Duffs_utils.c116 memset(buf->header, 0, dev->com.pg_size); in _ForceFormatAndCheckBlock()
122 ret = ops->WritePageWithLayout(dev, block, i, buf->header, dev->com.pg_size, NULL, &ts); in _ForceFormatAndCheckBlock()
124 ret = ops->WritePage(dev, block, i, buf->header, dev->com.pg_size, spare, dev->attr->spare_size); in _ForceFormatAndCheckBlock()
130 memset(buf->header, 0xFF, dev->com.pg_size); in _ForceFormatAndCheckBlock()
135 ret = ops->ReadPageWithLayout(dev, block, i, buf->header, dev->com.pg_size, NULL, &ts, NULL); in _ForceFormatAndCheckBlock()
139 if (buf->header[j] != 0) in _ForceFormatAndCheckBlock()
146 …ret = ops->ReadPage(dev, block, i, buf->header, dev->com.pg_size, NULL, spare, dev->attr->spare_si… in _ForceFormatAndCheckBlock()
150 if (buf->header[j] != 0) in _ForceFormatAndCheckBlock()
164 memset(buf->header, 0, dev->com.pg_size); in _ForceFormatAndCheckBlock()
169 ret = ops->ReadPageWithLayout(dev, block, i, buf->header, dev->com.pg_size, NULL, &ts, NULL); in _ForceFormatAndCheckBlock()
[all …]
/nrf52832-nimble/rt-thread/components/libc/libdl/
H A Ddlelf.h58 /* ELF Header */
66 Elf32_Off e_phoff; /* program header table offset */
67 Elf32_Off e_shoff; /* section header table offset */
69 Elf32_Half e_ehsize; /* ELF header size */
70 Elf32_Half e_phentsize; /* program header entry size */
71 Elf32_Half e_phnum; /* number of program header entries */
72 Elf32_Half e_shentsize; /* section header entry size */
73 Elf32_Half e_shnum; /* number of section header entries */
74 Elf32_Half e_shstrndx; /* section header table's "section
75 header string table" entry offset */
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ipv4/
H A Dicmp.c57 * e.g. when link header is stripped of when receiving) */
73 * @param p the icmp echo request packet, p->payload pointing to the ip header
150 /* switch p->payload to ip header */ in icmp_input()
152 LWIP_ASSERT("icmp_input: moving p->payload to ip header failed\n", 0); in icmp_input()
161 LWIP_ASSERT("check that first pbuf can hold struct the ICMP header", in icmp_input()
163 /* copy the whole packet including ip header */ in icmp_input()
169 /* switch r->payload back to icmp header */ in icmp_input()
179 /* restore p->payload to point to icmp header */ in icmp_input()
204 /* Set the correct TTL and recalculate the header checksum. */ in icmp_input()
218 LWIP_ASSERT("Can't move over header in packet", 0); in icmp_input()
[all …]
H A Dip.c103 * Header of the input packet currently being processed.
111 /** The IP header ID of the next outgoing IP packet */
197 * @param p the packet to forward (p->payload points to IP header)
198 * @param iphdr the IP header of the input packet
293 * IP header such as packet size being at least larger than the header
299 * @param p the received IP packet (p->payload points to IP header)
323 /* identify the IP header */
342 /* obtain IP header length in number of 32-bit words */
344 /* calculate IP header length in bytes */
349 /* header length exceeds first pbuf length, or ip length exceeds total pbuf length? */
[all …]
H A Dip_frag.c55 * - IP header options are not supported
60 * @todo: work with IP header options
83 * It has the same packing requirements as the IP header, since it replaces
84 * the IP header in memory in incoming fragments (after copying it) to keep
85 * track of the various fragments. (-> If the IP header doesn't need packing,
178 /* Then, copy the original header into it. */ in ip_reass_free_complete_datagram()
215 * @param fraghdr IP header of the current fragment
293 /* copy the ip header for later tests and input */ in ip_reass_enqueue_new_datagram()
344 /* overwrite the fragment's ip header from the pbuf with our helper struct, in ip_reass_chain_frag_into_datagram_and_validate()
346 /* make sure the struct ip_reass_helper fits into the IP header */ in ip_reass_chain_frag_into_datagram_and_validate()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/prot/
H A Dip6.h75 /** The IPv6 header. */
85 /** next header */
109 /* ipv6 extended options header */
138 /* Hop-by-Hop header. */
146 /* next header */
148 /* header length in 8-octet units */
157 /* Destination header. */
165 /* next header */
167 /* header length in 8-octet units */
176 /* Routing header */
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ipv4/
H A Dicmp.c60 * e.g. when link header is stripped of when receiving) */
76 * @param p the icmp echo request packet, p->payload pointing to the icmp header
97 LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: short IP header (%"S16_F" bytes) received\n", hlen)); in icmp_input()
167 … LWIP_DEBUGF(ICMP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("first pbuf cannot hold the ICMP header")); in icmp_input()
171 /* copy the ip header */ in icmp_input()
173 /* switch r->payload back to icmp header (cannot fail) */ in icmp_input()
175 LWIP_ASSERT("icmp_input: moving r->payload to icmp header failed\n", 0); in icmp_input()
179 /* copy the rest of the packet without ip header */ in icmp_input()
190 /* restore p->payload to point to icmp header (cannot fail) */ in icmp_input()
202 LWIP_DEBUGF(ICMP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("Can't move over header in packet")); in icmp_input()
[all …]
H A Dip4.c106 /** The IP header ID of the next outgoing IP packet */
263 * @param p the packet to forward (p->payload points to IP header)
264 * @param iphdr the IP header of the input packet
362 * IP header such as packet size being at least larger than the header
368 * @param p the received IP packet (p->payload points to IP header)
387 /* identify the IP header */
406 /* obtain IP header length in number of 32-bit words */
408 /* calculate IP header length in bytes */
418 /* header length exceeds first pbuf length, or ip length exceeds total pbuf length? */
422 ("ip4_input: short IP header (%"U16_F" bytes) received, IP packet dropped\n", iphdr_hlen));
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv4/
H A Dicmp.c60 * e.g. when link header is stripped off when receiving) */
76 * @param p the icmp echo request packet, p->payload pointing to the icmp header
97 LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: short IP header (%"S16_F" bytes) received\n", hlen)); in icmp_input()
174 … LWIP_DEBUGF(ICMP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("first pbuf cannot hold the ICMP header")); in icmp_input()
178 /* copy the ip header */ in icmp_input()
180 /* switch r->payload back to icmp header (cannot fail) */ in icmp_input()
182 LWIP_ASSERT("icmp_input: moving r->payload to icmp header failed\n", 0); in icmp_input()
186 /* copy the rest of the packet without ip header */ in icmp_input()
197 /* restore p->payload to point to icmp header (cannot fail) */ in icmp_input()
209 LWIP_DEBUGF(ICMP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("Can't move over header in packet")); in icmp_input()
[all …]
H A Dip4.c106 /** The IP header ID of the next outgoing IP packet */
276 * @param p the packet to forward (p->payload points to IP header)
277 * @param iphdr the IP header of the input packet
414 * IP header such as packet size being at least larger than the header
420 * @param p the received IP packet (p->payload points to IP header)
444 /* identify the IP header */
463 /* obtain IP header length in bytes */
473 /* header length exceeds first pbuf length, or ip length exceeds total pbuf length? */
477 … ("ip4_input: short IP header (%"U16_F" bytes) received, IP packet dropped\n", iphdr_hlen));
481 … ("IP header (len %"U16_F") does not fit in first pbuf (len %"U16_F"), IP packet dropped.\n",
[all …]
/nrf52832-nimble/rt-thread/components/net/uip/
H A Duip-1.0-changelog.txt33 (header sizes, TCP options, TCP header length field).
35 * If uip_len is less than that reported by the IP header, the packet
37 IP header, uip_len is adjusted.
39 * Moved header size definitions into header file.
54 * Switched the TCP, UDP and IP header structures to be structs rather

12345678910>>...23