summaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-gpe
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-12-02 23:28:50 +0000
committerNeale Ranns <nranns@cisco.com>2019-12-03 19:59:31 +0000
commit960eeea7ea48d91c1f2ec3a85a7a84f56619be2a (patch)
tree3ca930048e90cb1ff2b2c9115331d5de9005001c /src/vnet/lisp-gpe
parent9534696b4637185c9f296375e63c50d8976d153d (diff)
fib: constify the adjacency in the rewrite nodes
Type: refactor Signed-off-by: Neale Ranns <nranns@cisco.com> Change-Id: I3aad20b35d89fc541fdf185096d71ca12b09a6e2
Diffstat (limited to 'src/vnet/lisp-gpe')
-rw-r--r--src/vnet/lisp-gpe/lisp_gpe_adjacency.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vnet/lisp-gpe/lisp_gpe_adjacency.c b/src/vnet/lisp-gpe/lisp_gpe_adjacency.c
index 4b5ca17dad5..d9c22a4bbbb 100644
--- a/src/vnet/lisp-gpe/lisp_gpe_adjacency.c
+++ b/src/vnet/lisp-gpe/lisp_gpe_adjacency.c
@@ -206,7 +206,8 @@ lisp_afi_from_vnet_link_type (vnet_link_t link)
}
static void
-lisp_gpe_increment_stats_counters (lisp_cp_main_t * lcm, ip_adjacency_t * adj,
+lisp_gpe_increment_stats_counters (lisp_cp_main_t * lcm,
+ const ip_adjacency_t * adj,
vlib_buffer_t * b)
{
lisp_gpe_main_t *lgm = vnet_lisp_gpe_get_main ();
@@ -273,7 +274,8 @@ lisp_gpe_increment_stats_counters (lisp_cp_main_t * lcm, ip_adjacency_t * adj,
static void
lisp_gpe_fixup (vlib_main_t * vm,
- ip_adjacency_t * adj, vlib_buffer_t * b, const void *data)
+ const ip_adjacency_t * adj,
+ vlib_buffer_t * b, const void *data)
{
lisp_cp_main_t *lcm = vnet_lisp_cp_get_main ();