Lines Matching refs:u16_t
207 pbuf_alloc(pbuf_layer layer, u16_t length, pbuf_type type)
210 u16_t offset;
287 q->tot_len = (u16_t)rem_len;
289 q->len = LWIP_MIN((u16_t)rem_len, PBUF_POOL_BUFSIZE_ALIGNED);
367 pbuf_alloced_custom(pbuf_layer l, u16_t length, pbuf_type type, struct pbuf_custom *p,
368 void *payload_mem, u16_t payload_mem_len)
370 u16_t offset;
430 pbuf_realloc(struct pbuf *p, u16_t new_len)
433 u16_t rem_len; /* remaining length */
461 q->tot_len += (u16_t)grow;
473 q = (struct pbuf *)mem_trim(q, (u16_t)((u8_t *)q->payload - (u8_t *)q) + rem_len);
513 u16_t type;
515 u16_t increment_magnitude;
620 u16_t type;
643 u16_t ref;
854 u16_t offset_to=0, offset_from=0, len;
917 u16_t
918 pbuf_copy_partial(struct pbuf *buf, void *dataptr, u16_t len, u16_t offset)
921 u16_t left;
922 u16_t buf_copy_len;
923 u16_t copied_total = 0;
966 pbuf_take(struct pbuf *buf, const void *dataptr, u16_t len)
969 u16_t buf_copy_len;
970 u16_t total_copy_len = len;
971 u16_t copied_total = 0;
1042 pbuf_fill_chksum(struct pbuf *p, u16_t start_offset, const void *dataptr,
1043 u16_t len, u16_t *chksum)
1046 u16_t copy_chksum;
1077 pbuf_get_at(struct pbuf* p, u16_t offset)
1079 u16_t copy_from = offset;
1103 u16_t
1104 pbuf_memcmp(struct pbuf* p, u16_t offset, const void* s2, u16_t n)
1106 u16_t start = offset;
1116 u16_t i;
1139 u16_t
1140 pbuf_memfind(struct pbuf* p, const void* mem, u16_t mem_len, u16_t start_offset)
1142 u16_t i;
1143 u16_t max = p->tot_len - mem_len;
1146 u16_t plus = pbuf_memcmp(p, i, mem, mem_len);
1167 u16_t
1178 return pbuf_memfind(p, substr, (u16_t)substr_len, 0);