lib/dp-packet.c
void
dp_packet_prealloc_tailroom(struct dp_packet *b, size_t size)
{
    if (size > dp_packet_tailroom(b)) {
        dp_packet_resize(b, dp_packet_headroom(b), MAX(size, 64));
    }
}
/* Ensures that 'b' has room for at least 'size' bytes at its tail end,
 * reallocating and copying its data if necessary.  Its headroom, if any, is
 * preserved. */
Ensures that 'b' has room for at least 'size' bytes at its tail end,
reallocating and copying its data if necessary.  Its headroom, if any, is
preserved.
Ensures that ' b ' has room for at least ' size ' bytes at its tail end reallocating and copying its data if necessary . Its headroom if any is preserved .
void
dp_packet_prealloc_tailroom(struct dp_packet *b, size_t size)
{
    if (size > dp_packet_tailroom(b)) {
        dp_packet_resize(b, dp_packet_headroom(b), MAX(size, 64));
    }
}
void dp_packet_prealloc_tailroom ( struct dp_packet * b , size_t size ) { if ( size > dp_packet_tailroom ( b ) ) { dp_packet_resize ( b , dp_packet_headroom ( b ) , MAX ( size , 64 ) ) ; } }
Ensures that 'b' has room for at least 'size' bytes at its tail end,
 reallocating and copying its data if necessary.
Ensures that ' b ' has room for at least ' size ' bytes at its tail end reallocating and copying its data if necessary .