summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Makefile.am4
-rw-r--r--plugins/plugins/ioam/encap/ip6_ioam_pot.c2
-rw-r--r--plugins/plugins/ioam/lib-pot/pot_all_api_h.h2
-rw-r--r--plugins/plugins/ioam/lib-pot/pot_api.c12
-rw-r--r--plugins/plugins/ioam/lib-pot/pot_msg_enum.h2
-rw-r--r--plugins/plugins/ioam/lib-pot/pot_test.c10
-rw-r--r--plugins/plugins/sixrd/sixrd.h2
7 files changed, 17 insertions, 17 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index fee7493d771..34b31b45466 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -35,7 +35,7 @@ ioam_pot_plugin_la_SOURCES = plugins/ioam/lib-pot/pot_util.c plugins/ioam/encap/
plugins/ioam/lib-pot/pot_util.h plugins/ioam/lib-pot/math64.h plugins/ioam/lib-pot/pot_api.c
ioam_pot_plugin_la_LDFLAGS = -module
-BUILT_SOURCES = plugins/ioam/lib-pot/pot.api.h
+BUILT_SOURCES += plugins/ioam/lib-pot/pot.api.h
SUFFIXES = .api.h .api
%.api.h: %.api
@@ -43,7 +43,7 @@ SUFFIXES = .api.h .api
$(CC) $(CPPFLAGS) -E -P -C -x c $^ \
| vppapigen --input - --output $@ --show-name $@
-nobase_include_HEADERS = \
+nobase_include_HEADERS += \
plugins/ioam/lib-pot/pot_all_api_h.h \
plugins/ioam/lib-pot/pot_msg_enum.h \
plugins/ioam/lib-pot/pot.api.h \
diff --git a/plugins/plugins/ioam/encap/ip6_ioam_pot.c b/plugins/plugins/ioam/encap/ip6_ioam_pot.c
index e90a6649909..7af805e3fc5 100644
--- a/plugins/plugins/ioam/encap/ip6_ioam_pot.c
+++ b/plugins/plugins/ioam/encap/ip6_ioam_pot.c
@@ -25,7 +25,7 @@
#include <vppinfra/error.h>
#include <vppinfra/elog.h>
-#include <lib-pot/pot_util.h>
+#include <plugins/ioam/lib-pot/pot_util.h>
typedef CLIB_PACKED(struct {
ip6_hop_by_hop_option_t hdr;
diff --git a/plugins/plugins/ioam/lib-pot/pot_all_api_h.h b/plugins/plugins/ioam/lib-pot/pot_all_api_h.h
index 574b8979bf4..74dfc48444d 100644
--- a/plugins/plugins/ioam/lib-pot/pot_all_api_h.h
+++ b/plugins/plugins/ioam/lib-pot/pot_all_api_h.h
@@ -13,4 +13,4 @@
* limitations under the License.
*/
/* Include the generated file, see BUILT_SOURCES in Makefile.am */
-#include <lib-pot/pot.api.h>
+#include <plugins/ioam/lib-pot/pot.api.h>
diff --git a/plugins/plugins/ioam/lib-pot/pot_api.c b/plugins/plugins/ioam/lib-pot/pot_api.c
index 656626339a7..e5af1faec1d 100644
--- a/plugins/plugins/ioam/lib-pot/pot_api.c
+++ b/plugins/plugins/ioam/lib-pot/pot_api.c
@@ -21,34 +21,34 @@
#include <vnet/vnet.h>
#include <vnet/plugin/plugin.h>
-#include <lib-pot/pot_util.h>
+#include <plugins/ioam/lib-pot/pot_util.h>
#include <vlibapi/api.h>
#include <vlibmemory/api.h>
#include <vlibsocket/api.h>
/* define message IDs */
-#include <lib-pot/pot_msg_enum.h>
+#include <plugins/ioam/lib-pot/pot_msg_enum.h>
/* define message structures */
#define vl_typedefs
-#include <lib-pot/pot_all_api_h.h>
+#include <plugins/ioam/lib-pot/pot_all_api_h.h>
#undef vl_typedefs
/* define generated endian-swappers */
#define vl_endianfun
-#include <lib-pot/pot_all_api_h.h>
+#include <plugins/ioam/lib-pot/pot_all_api_h.h>
#undef vl_endianfun
/* instantiate all the print functions we know about */
#define vl_print(handle, ...) vlib_cli_output (handle, __VA_ARGS__)
#define vl_printfun
-#include <lib-pot/pot_all_api_h.h>
+#include <plugins/ioam/lib-pot/pot_all_api_h.h>
#undef vl_printfun
/* Get the API version number */
#define vl_api_version(n,v) static u32 api_version=(v);
-#include <lib-pot/pot_all_api_h.h>
+#include <plugins/ioam/lib-pot/pot_all_api_h.h>
#undef vl_api_version
/*
diff --git a/plugins/plugins/ioam/lib-pot/pot_msg_enum.h b/plugins/plugins/ioam/lib-pot/pot_msg_enum.h
index bcd7159d50f..87fae74062e 100644
--- a/plugins/plugins/ioam/lib-pot/pot_msg_enum.h
+++ b/plugins/plugins/ioam/lib-pot/pot_msg_enum.h
@@ -19,7 +19,7 @@
#define vl_msg_id(n,h) n,
typedef enum {
-#include <lib-pot/pot_all_api_h.h>
+#include <plugins/ioam/lib-pot/pot_all_api_h.h>
/* We'll want to know how many messages IDs we need... */
VL_MSG_FIRST_AVAILABLE,
} vl_msg_id_t;
diff --git a/plugins/plugins/ioam/lib-pot/pot_test.c b/plugins/plugins/ioam/lib-pot/pot_test.c
index 706be44ff65..a6d9330f21c 100644
--- a/plugins/plugins/ioam/lib-pot/pot_test.c
+++ b/plugins/plugins/ioam/lib-pot/pot_test.c
@@ -25,28 +25,28 @@
#include <vppinfra/error.h>
/* Declare message IDs */
-#include <lib-pot/pot_msg_enum.h>
+#include <plugins/ioam/lib-pot/pot_msg_enum.h>
/* define message structures */
#define vl_typedefs
-#include <lib-pot/pot_all_api_h.h>
+#include <plugins/ioam/lib-pot/pot_all_api_h.h>
#undef vl_typedefs
/* declare message handlers for each api */
#define vl_endianfun /* define message structures */
-#include <lib-pot/pot_all_api_h.h>
+#include <plugins/ioam/lib-pot/pot_all_api_h.h>
#undef vl_endianfun
/* instantiate all the print functions we know about */
#define vl_print(handle, ...)
#define vl_printfun
-#include <lib-pot/pot_all_api_h.h>
+#include <plugins/ioam/lib-pot/pot_all_api_h.h>
#undef vl_printfun
/* Get the API version number. */
#define vl_api_version(n,v) static u32 api_version=(v);
-#include <lib-pot/pot_all_api_h.h>
+#include <plugins/ioam/lib-pot/pot_all_api_h.h>
#undef vl_api_version
diff --git a/plugins/plugins/sixrd/sixrd.h b/plugins/plugins/sixrd/sixrd.h
index 1581649c9f5..2f0912f0626 100644
--- a/plugins/plugins/sixrd/sixrd.h
+++ b/plugins/plugins/sixrd/sixrd.h
@@ -134,7 +134,7 @@ ip4_sixrd_get_domain (u32 adj_index, ip6_address_t *addr,
u32 ai = ip6_fib_lookup_with_table(im6, 0, addr);
ip_adjacency_t *adj6 = ip_get_adjacency (lm6, ai);
- if (PREDICT_TRUE(adj6->lookup_next_index == IP_LOOKUP_NEXT_SIXRD)) {
+ if (PREDICT_TRUE(adj6->lookup_next_index == mm->ip6_lookup_next_index)) {
uword *p = (uword *)adj6->rewrite_data;
*sixrd_domain_index = p[0];
return pool_elt_at_index(mm->domains, *sixrd_domain_index);