memif: add ip mode 29/7129/7
authorDamjan Marion <[email protected]>
Fri, 16 Jun 2017 20:06:00 +0000 (22:06 +0200)
committerFlorin Coras <[email protected]>
Mon, 19 Jun 2017 19:09:50 +0000 (19:09 +0000)
commit45ca2c7a9c0835e1b5d5641ca230f720b49e8cf4
treeeff8c6f1f710f7f051b8b1b97da8ca1947b3fa0e
parentf03a59ab008908f98fd7d1b187a8c0fb78b01add
memif: add ip mode

In IP mode memif interface is L3 point-to-point interfaces and
we don't pass l2 header. There is no l2 header rewrite operation and
received packets are sent straight to ip4-input / ip6-input nodes.

Change-Id: I4177f3fce3004da7ecf14d235006ae053fcf3f09
Signed-off-by: Damjan Marion <[email protected]>
src/plugins/memif/cli.c
src/plugins/memif/memif.c
src/plugins/memif/node.c
src/plugins/memif/socket.c