Go to the documentation of this file.
   63 netbuf *netbuf_new(
void)
 
   81 netbuf_delete(
struct netbuf *
buf)
 
  102 netbuf_alloc(
struct netbuf *
buf, 
u16_t size)
 
  115              (
buf->p->len >= size));
 
  117   return buf->p->payload;
 
  127 netbuf_free(
struct netbuf *
buf)
 
  147 netbuf_ref(
struct netbuf *
buf, 
const void *dataptr, 
u16_t size)
 
  159   buf->p->len = 
buf->p->tot_len = size;
 
  172 netbuf_chain(
struct netbuf *head, 
struct netbuf *tail)
 
  174   LWIP_ERROR(
"netbuf_chain: invalid head", (head != 
NULL), 
return;);
 
  175   LWIP_ERROR(
"netbuf_chain: invalid tail", (tail != 
NULL), 
return;);
 
  192 netbuf_data(
struct netbuf *
buf, 
void **dataptr, 
u16_t *len)
 
  201   *dataptr = 
buf->ptr->payload;
 
  202   *len = 
buf->ptr->len;
 
  218 netbuf_next(
struct netbuf *
buf)
 
  224   buf->ptr = 
buf->ptr->next;
 
  240 netbuf_first(
struct netbuf *
buf)
 
  
 
#define LWIP_ASSERT(message, assertion)
u8_t pbuf_free(struct pbuf *p)
void * memp_malloc(memp_t type)
void memp_free(memp_t type, void *mem)
#define LWIP_ERROR(message, expression, handler)
struct pbuf * pbuf_alloc(pbuf_layer l, u16_t length, pbuf_type type)
void pbuf_cat(struct pbuf *head, struct pbuf *tail)
void * memset(void *dst, int c, size_t length)