Lines Matching defs:size
97 * @param size the size of the packet buffer to allocate
102 netbuf_alloc(struct netbuf *buf, u16_t size)
110 buf->p = pbuf_alloc(PBUF_TRANSPORT, size, PBUF_RAM);
114 LWIP_ASSERT("check that first pbuf can hold size",
115 (buf->p->len >= size));
146 * @param size size of the data
151 netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size)
163 buf->p->len = buf->p->tot_len = size;