X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fmap%2Fmap.h;fp=src%2Fvnet%2Fmap%2Fmap.h;h=45959f0d0e1be6d8160cbb50c10388287943e94b;hb=381e9a90748bb659f56081123052e3e95501a4b4;hp=c304a1ea38acd380b77e179ae90e40e3589f65fa;hpb=e4d5a652a392c9f74501da5778a7fe161b183476;p=vpp.git diff --git a/src/vnet/map/map.h b/src/plugins/map/map.h similarity index 99% rename from src/vnet/map/map.h rename to src/plugins/map/map.h index c304a1ea38a..45959f0d0e1 100644 --- a/src/vnet/map/map.h +++ b/src/plugins/map/map.h @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include #define MAP_SKIP_IP6_LOOKUP 1 @@ -236,6 +236,9 @@ typedef struct { vlib_combined_counter_main_t *domain_counters; volatile u32 *counter_lock; + /* API message id base */ + u16 msg_id_base; + /* Traffic class: zero, copy (~0) or fixed value */ u8 tc; bool tc_copy; @@ -486,6 +489,8 @@ map_ip4_reass_get_fragments(map_ip4_reass_t *r, u32 **pi) } } +clib_error_t * map_plugin_api_hookup (vlib_main_t * vm); + int map_ip4_reass_add_fragment(map_ip4_reass_t *r, u32 pi); map_ip6_reass_t *