lib/dp-packet.c
/* Appends 'size' bytes of data to the tail end of 'b', reallocating and
 * copying its data if necessary.  Returns a pointer to the first byte of the
 * new data, which is left uninitialized. */
Appends 'size' bytes of data to the tail end of 'b', reallocating and
copying its data if necessary.  Returns a pointer to the first byte of the
new data, which is left uninitialized.
Appends ' size ' bytes of data to the tail end of ' b ' reallocating and copying its data if necessary . Returns a pointer to the first byte of the new data which is left uninitialized .
void *
dp_packet_put_uninit(struct dp_packet *b, size_t size)
{
    void *p;
    dp_packet_prealloc_tailroom(b, size);
    p = dp_packet_tail(b);
    dp_packet_set_size(b, dp_packet_size(b) + size);
    return p;
}
void * dp_packet_put_uninit ( struct dp_packet * b , size_t size ) { void * p ; dp_packet_prealloc_tailroom ( b , size ) ; p = dp_packet_tail ( b ) ; dp_packet_set_size ( b , dp_packet_size ( b ) + size ) ; return p ; }
Appends 'size' bytes of data to the tail end of 'b', reallocating and
 copying its data if necessary.
Appends ' size ' bytes of data to the tail end of ' b ' reallocating and copying its data if necessary .