| /lib/liblwip/src/include/ipv6/lwip/ |
| D | inet.h | 43 u16_t inet_chksum(void *data, u16_t len);
|
| D | ip.h | 93 u16_t len; /* payload length */ member
|
| /lib/liblwip/src/include/ipv4/lwip/ |
| D | ip.h | 158 #define IPH_LEN_SET(hdr, len) (hdr)->_len = (len) argument
|
| /lib/liblwip/src/include/lwip/ |
| D | sockets.h | 331 int lwip_recv(int s, void *mem, size_t len, int flags); 332 int lwip_read(int s, void *mem, size_t len); 333 int lwip_recvfrom(int s, void *mem, size_t len, int flags,
|
| D | udp.h | 58 PACK_STRUCT_FIELD(u16_t len);
|
| D | snmp_msg.h | 296 struct snmp_varbind* snmp_varbind_alloc(struct snmp_obj_id *oid, u8_t type, u8_t len);
|
| D | api.h | 131 typedef void (* netconn_callback)(struct netconn *, enum netconn_evt, u16_t len);
|
| /lib/liblwip/src/api/ |
| D | sockets.c | 175 static void event_callback(struct netconn *conn, enum netconn_evt evt, u16_t len); 557 lwip_recvfrom(int s, void *mem, size_t len, int flags, in lwip_recvfrom() argument 570 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_recvfrom(%d, %p, %"SZT_F", 0x%x, ..)\n", s, mem, len, flags)); in lwip_recvfrom() 636 buflen, len, off, sock->lastoffset)); in lwip_recvfrom() 640 if (len > buflen) { in lwip_recvfrom() 643 copylen = (u16_t)len; in lwip_recvfrom() 653 LWIP_ASSERT("invalid copylen, len would underflow", len >= copylen); in lwip_recvfrom() 654 len -= copylen; in lwip_recvfrom() 655 if ( (len <= 0) || in lwip_recvfrom() 742 lwip_read(int s, void *mem, size_t len) in lwip_read() argument [all …]
|
| /bin/ethinject/ |
| D | ethinject.c | 22 mbuf.len = 64; in writePacket()
|
| /lib/liblwip/src/netif/ppp/ |
| D | ppp.h | 186 void pppos_input(int pd, u_char* data, int len);
|
| /bin/ethdump/ |
| D | ethdump.c | 37 mbuf.len = 4096; in readPacket()
|
| /sys/amd64/ |
| D | disasm.c | 1205 int len; in db_disasm() local 1543 len = db_lengths[size]; in db_disasm() 1544 get_value_inc(imm, loc, len, FALSE); in db_disasm() 1549 len = db_lengths[(size == LONG && (rex & REX_W)) ? QUAD : size]; in db_disasm() 1550 get_value_inc(imm, loc, len, FALSE); in db_disasm() 1578 len = db_lengths[rex & REX_W ? QUAD : LONG]; in db_disasm() 1579 get_value_inc(imm64, loc, len, FALSE); in db_disasm() 1584 len = (short_addr ? 2 : 4); in db_disasm() 1585 get_value_inc(displ, loc, len, FALSE); in db_disasm() 1601 len = db_lengths[(size == LONG && (rex & REX_W)) ? QUAD : size]; in db_disasm() [all …]
|
| D | trap.c | 137 extern int copy_unsafe(void *to, void *from, uintptr_t len); 141 extern int copystr_unsafe(void *to, void *from, uintptr_t len);
|
| D | pmap.c | 423 PMap_AllocMap(AS *as, uint64_t virt, uint64_t len, uint64_t flags) in PMap_AllocMap() argument 426 uint64_t pages = (len + PGSIZE - 1) / PGSIZE; in PMap_AllocMap()
|
| /sys/include/ |
| D | kmem.h | 19 void PAlloc_AddRegion(uintptr_t start, uintptr_t len);
|
| /sys/amd64/include/ |
| D | pmap.h | 71 bool PMap_AllocMap(AS *as, uint64_t virt, uint64_t len, uint64_t flags);
|
| D | multiboot.h | 227 uint64_t len; member
|
| /lib/liblwip/src/core/ipv4/ |
| D | ip.c | 345 if ((iphdr_hlen > p->len) || (iphdr_len > p->tot_len)) { 346 if (iphdr_hlen > p->len) { 349 iphdr_hlen, p->len)); 551 LWIP_DEBUGF(IP_DEBUG, ("ip_input: p->len %"U16_F" p->tot_len %"U16_F"\n", p->len, p->tot_len)); 714 (p->len >= sizeof(struct ip_hdr)));
|
| D | igmp.c | 400 if (pbuf_header(p, -(s16_t)(IPH_HL(iphdr) * 4)) || (p->len < IGMP_MINLEN)) { in igmp_input() 415 if (inet_chksum(igmp, p->len)) { in igmp_input() 775 (p->len >= sizeof(struct igmp_msg))); in igmp_send()
|
| /lib/liblwip/src/include/netif/ |
| D | ppp_oe.h | 100 PACK_STRUCT_FIELD(u16_t len);
|
| /lib/liblwip/src/core/ |
| D | udp.c | 297 u16_t chklen = ntohs(udphdr->len); 610 (q->len >= sizeof(struct udp_hdr))); 669 udphdr->len = htons(chklen_hdr); 699 udphdr->len = htons(q->tot_len); 1008 ntohs(udphdr->len), ntohs(udphdr->chksum)));
|
| D | dns.c | 163 u16_t len; member 804 (ans.len == PP_HTONS(sizeof(ip_addr_t))) ) { in dns_recv() 822 pHostname = pHostname + SIZEOF_DNS_ANSWER + htons(ans.len); in dns_recv()
|
| /sys/kern/ |
| D | disk.c | 93 sga.len = 1; in Debug_DumpDisk()
|
| /lib/liblwip/src/netif/ |
| D | etharp.c | 703 if (p->len < SIZEOF_ETHARP_PACKET) { 1086 LWIP_ASSERT("no packet queues allowed!", (p->len != p->tot_len) || (p->next == 0)); 1201 (p->len >= SIZEOF_ETHARP_PACKET)); 1285 if (p->len <= SIZEOF_ETH_HDR) { 1306 if (p->len <= SIZEOF_ETH_HDR + SIZEOF_VLAN_HDR) {
|
| /lib/liblwip/doc/ |
| D | rawapi.txt | 189 - err_t tcp_write(struct tcp_pcb *pcb, const void *dataptr, u16_t len, 193 the data is passed as the len parameter. The apiflags can be one or more of: 216 u16_t len)) 220 host. The len argument passed to the callback function gives the 243 - void tcp_recved(struct tcp_pcb *pcb, u16_t len) 245 Must be called when the application has received the data. The len
|