*l4_hdr_sz = sizeof (*udp);
}
}
-
}
static_always_inline void
if (hdr_sz == sizeof (struct virtio_net_hdr_v1))
num_buffers = hdr->num_buffers;
+ b0->flags = VLIB_BUFFER_TOTAL_LENGTH_VALID;
b0->current_data = 0;
b0->current_length = len;
vlib_buffer_t *pb, *cb;
pb = b0;
b0->total_length_not_including_first_buffer = 0;
- b0->flags = VLIB_BUFFER_TOTAL_LENGTH_VALID;
while (num_buffers > 1)
{
last++;