summaryrefslogtreecommitdiffstats
path: root/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'vnet')
-rw-r--r--vnet/vnet/ethernet/arp.c2
-rw-r--r--vnet/vnet/ip/ip6_neighbor.c1
-rw-r--r--vnet/vnet/l2/l2_output.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/vnet/vnet/ethernet/arp.c b/vnet/vnet/ethernet/arp.c
index 446c76a1e41..4f948407055 100644
--- a/vnet/vnet/ethernet/arp.c
+++ b/vnet/vnet/ethernet/arp.c
@@ -21,6 +21,8 @@
#include <vnet/l2/l2_input.h>
#include <vppinfra/mhash.h>
+void vl_api_rpc_call_main_thread (void *fp, u8 * data, u32 data_length);
+
typedef struct {
u32 sw_if_index;
u32 fib_index;
diff --git a/vnet/vnet/ip/ip6_neighbor.c b/vnet/vnet/ip/ip6_neighbor.c
index 28f964c804f..3eb9710ddec 100644
--- a/vnet/vnet/ip/ip6_neighbor.c
+++ b/vnet/vnet/ip/ip6_neighbor.c
@@ -296,6 +296,7 @@ static void set_unset_ip6_neighbor_rpc
int is_add)
{
ip6_neighbor_set_unset_rpc_args_t args;
+ void vl_api_rpc_call_main_thread (void *fp, u8 * data, u32 data_length);
args.sw_if_index = sw_if_index;
args.is_add = is_add;
diff --git a/vnet/vnet/l2/l2_output.c b/vnet/vnet/l2/l2_output.c
index 72c3d0374e3..a5424866db1 100644
--- a/vnet/vnet/l2/l2_output.c
+++ b/vnet/vnet/l2/l2_output.c
@@ -452,6 +452,7 @@ static void output_node_mapping_send_rpc
u32 sw_if_index)
{
output_node_mapping_rpc_args_t args;
+ void vl_api_rpc_call_main_thread (void *fp, u8 * data, u32 data_length);
args.node_index = node_index;
args.sw_if_index = sw_if_index;