acl: rework headers to enable out-of-tree usage
Change-Id: I1f8adf1f5650ab6c04e03c95d7a8d0bfa39b5f2d Type: improvement Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
This commit is contained in:

committed by
Andrew Yourtchenko

parent
7c2a3357f3
commit
dcb5eb5a18
@@ -30,4 +30,15 @@ add_vpp_plugin(acl
|
||||
|
||||
API_TEST_SOURCES
|
||||
acl_test.c
|
||||
|
||||
INSTALL_HEADERS
|
||||
exports.h
|
||||
exported_types.h
|
||||
acl.h
|
||||
fa_node.h
|
||||
public_inlines.h
|
||||
types.h
|
||||
hash_lookup_types.h
|
||||
lookup_context.h
|
||||
hash_lookup_private.h
|
||||
)
|
||||
|
@@ -24,8 +24,8 @@
|
||||
|
||||
#include <vlib/unix/plugin.h>
|
||||
|
||||
#include <plugins/acl/acl.h>
|
||||
#include <plugins/acl/fa_node.h>
|
||||
#include <plugins/acl/public_inlines.h>
|
||||
#include "acl.h"
|
||||
#include "fa_node.h"
|
||||
#include "public_inlines.h"
|
||||
|
||||
#endif /* included_acl_exports_h */
|
||||
|
@@ -5,7 +5,7 @@
|
||||
#include <vppinfra/bihash_16_8.h>
|
||||
#include <vppinfra/bihash_40_8.h>
|
||||
|
||||
#include <plugins/acl/exported_types.h>
|
||||
#include "exported_types.h"
|
||||
|
||||
// #define FA_NODE_VERBOSE_DEBUG 3
|
||||
|
||||
|
@@ -19,11 +19,11 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include <vlib/unix/plugin.h>
|
||||
#include <plugins/acl/acl.h>
|
||||
#include <plugins/acl/fa_node.h>
|
||||
#include <plugins/acl/hash_lookup_private.h>
|
||||
#include "acl.h"
|
||||
#include "fa_node.h"
|
||||
#include "hash_lookup_private.h"
|
||||
|
||||
#include <plugins/acl/exported_types.h>
|
||||
#include "exported_types.h"
|
||||
|
||||
#define LOAD_SYMBOL_FROM_PLUGIN_TO(p, s, st) \
|
||||
({ \
|
||||
|
Reference in New Issue
Block a user