diff options
author | Neale Ranns <nranns@cisco.com> | 2020-02-03 10:55:09 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-02-04 09:44:58 +0000 |
commit | 03ce46219cd0fabfd4918822c5b9fed9ef880de8 (patch) | |
tree | f33c291dba25bcbe856602e6c63ce9d8ef4cc96c /src/vnet/gre/gre.h | |
parent | 0860b2e19365c092f10dd1ce639caaded0e87ded (diff) |
teib: Rename NHRP to TEIB
Type: refactor
The Tunnel Endpoint Informatiob Base (TEIB) is a better
description of what it is (a mapping between tunnel endpoint
address, in the overlay, and next-hop address, in the underlay)
whereas NHRP is one instanc eof a control protocol that might add
such endpoints.
Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: Idcb2ad0b6543d3e5d9f6e96f9d14dafb5ce2aa85
Diffstat (limited to 'src/vnet/gre/gre.h')
-rw-r--r-- | src/vnet/gre/gre.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/gre/gre.h b/src/vnet/gre/gre.h index 0cc60b87eeb..14798d85842 100644 --- a/src/vnet/gre/gre.h +++ b/src/vnet/gre/gre.h @@ -25,7 +25,7 @@ #include <vnet/ip/format.h> #include <vnet/adj/adj_types.h> #include <vnet/tunnel/tunnel.h> -#include <vnet/nhrp/nhrp.h> +#include <vnet/teib/teib.h> extern vnet_hw_interface_class_t gre_hw_interface_class; extern vnet_hw_interface_class_t mgre_hw_interface_class; @@ -328,7 +328,7 @@ extern void gre_update_adj (vnet_main_t * vnm, typedef struct mgre_walk_ctx_t_ { const gre_tunnel_t *t; - const nhrp_entry_t *ne; + const teib_entry_t *ne; } mgre_walk_ctx_t; adj_walk_rc_t mgre_mk_complete_walk (adj_index_t ai, void *data); |