Fix sample plugin breakage. 33/5133/3
authorAnlu Yan <[email protected]>
Wed, 15 Feb 2017 02:07:40 +0000 (18:07 -0800)
committerDamjan Marion <[email protected]>
Thu, 16 Feb 2017 15:09:26 +0000 (15:09 +0000)
commita4cb12b30d51be3463315688179297404783fe8d
tree66bbe4f2a622e72648f503ba845d142dff97f084
parentb33f413af46ec8dff7f222dbd5bc3bcec1502d3d
Fix sample plugin breakage.

Add vat_helper_macros.h to be installed in /usr/include/vlibapi
Define a version for the sample plugin (separate from the VPP versioning).
Hook up vnet_main in plugin init.

Change-Id: I293b9dc824d0813ea2bb8747d535e4210a88b385
Signed-off-by: Anlu Yan <[email protected]>
src/examples/sample-plugin/sample/sample.c
src/examples/sample-plugin/sample/sample.h
src/vlib-api.am