summaryrefslogtreecommitdiffstats
path: root/eigrpd/eigrp_topology.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-27 01:32:06 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-08-27 01:32:06 +0200
commit255ab9408f6a9d6addd727c5697d4fbd8b6219f1 (patch)
tree2c0ade0c33778a1e70f219414b37355eda85c04a /eigrpd/eigrp_topology.h
parenteigrpd: Refactor access/prefix list applications (diff)
downloadfrr-255ab9408f6a9d6addd727c5697d4fbd8b6219f1.tar.xz
frr-255ab9408f6a9d6addd727c5697d4fbd8b6219f1.zip
eigrpd: eigrp_neighbor_entry to eigrp_nexthop_entry
The struct 'eigrp_neighbor_entry' really represents a nexthop for a prefix. Rename the structure to better represent what we are representing. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_topology.h')
-rw-r--r--eigrpd/eigrp_topology.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/eigrpd/eigrp_topology.h b/eigrpd/eigrp_topology.h
index 8bff08b75..ef5b32d5b 100644
--- a/eigrpd/eigrp_topology.h
+++ b/eigrpd/eigrp_topology.h
@@ -36,16 +36,16 @@
extern struct list *eigrp_topology_new(void);
extern void eigrp_topology_init(struct list *);
extern struct eigrp_prefix_entry *eigrp_prefix_entry_new(void);
-extern struct eigrp_neighbor_entry *eigrp_neighbor_entry_new(void);
+extern struct eigrp_nexthop_entry *eigrp_nexthop_entry_new(void);
extern void eigrp_topology_free(struct list *);
extern void eigrp_topology_cleanup(struct list *);
extern void eigrp_prefix_entry_add(struct list *, struct eigrp_prefix_entry *);
-extern void eigrp_neighbor_entry_add(struct eigrp_prefix_entry *,
- struct eigrp_neighbor_entry *);
+extern void eigrp_nexthop_entry_add(struct eigrp_prefix_entry *,
+ struct eigrp_nexthop_entry *);
extern void eigrp_prefix_entry_delete(struct list *,
struct eigrp_prefix_entry *);
-extern void eigrp_neighbor_entry_delete(struct eigrp_prefix_entry *,
- struct eigrp_neighbor_entry *);
+extern void eigrp_nexthop_entry_delete(struct eigrp_prefix_entry *,
+ struct eigrp_nexthop_entry *);
extern void eigrp_topology_delete_all(struct list *);
extern unsigned int eigrp_topology_table_isempty(struct list *);
extern struct eigrp_prefix_entry *
@@ -54,7 +54,7 @@ extern struct list *eigrp_topology_get_successor(struct eigrp_prefix_entry *);
extern struct list *
eigrp_topology_get_successor_max(struct eigrp_prefix_entry *pe,
unsigned int maxpaths);
-extern struct eigrp_neighbor_entry *
+extern struct eigrp_nexthop_entry *
eigrp_prefix_entry_lookup(struct list *, struct eigrp_neighbor *);
extern struct list *eigrp_neighbor_prefixes_lookup(struct eigrp *,
struct eigrp_neighbor *);