netbuf_alloc() function
Allocate memory for a packet buffer for a given netbuf.
Arguments
buf
the netbuf for which to allocate a packet buffer
size
the size of the packet buffer to allocate
Return value
pointer to the allocated memory NULL if no memory could be allocated
Functions called by netbuf_alloc()
netbuf_alloc()
printf() all items filtered out
Data read by netbuf_alloc()
Data written by netbuf_alloc()
netbuf_alloc()