s.fd.io On Behalf Of Prashant
> Upadhyaya
> Sent: Friday, November 2, 2018 12:54 PM
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] Regarding vlib_buffer_alloc
>
> Hi,
>
> When I allocate a buffer using the vlib_buffer_alloc, are the fields in the
> vlib_buffer_t guaranteed
See also
https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/developers/vnet.html#creating-packets-from-scratch
-Original Message-
From: vpp-dev@lists.fd.io On Behalf Of Prashant Upadhyaya
Sent: Friday, November 2, 2018 12:54 PM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev
Hi,
When I allocate a buffer using the vlib_buffer_alloc, are the fields
in the vlib_buffer_t guaranteed to be properly initialized (eg. with
all zero values) or is there any obligation on the caller to
initialize these because the values may be unpredictable ?
Regards
-Prashant