memif: add private header size field 03/11403/2
authorDamjan Marion <damarion@cisco.com>
Tue, 27 Mar 2018 13:02:56 +0000 (15:02 +0200)
committerDamjan Marion <dmarion.lists@gmail.com>
Tue, 27 Mar 2018 16:04:23 +0000 (16:04 +0000)
commitd50c987ead437610dfaecddd15d34461a9ff2ec2
tree5d3c87e2982c27065e820850453cbc6a7c0a815d
parent18c0f229cec4695cf77a0e3a9033d2ff0d1e085a
memif: add private header size field

private header size allows to reserve firs X bytes of payload to be
considered as private metadata. For now we just support value 0
but adding this field to address future needs without changing protocol
version.

Change-Id: Id77336584c0194a303b20210aff584c7372cba01
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/plugins/memif/memif.h
src/plugins/memif/socket.c