summaryrefslogtreecommitdiff
path: root/ripngd/ripngd.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-01-04 19:08:10 -0200
committerRenato Westphal <renato@opensourcerouting.org>2019-01-18 16:15:41 -0200
commit26c6be9314b4013cedaf0a9f5ff5d65ca4ae685b (patch)
tree01f18af181c6a560bf0d950f9759c92db3ce12fb /ripngd/ripngd.h
parent56bf1cb2c3236429ff77e5dd19b04a8d1ff5d158 (diff)
ripngd: move "ripng_offset_list_master" to the ripng structure
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ripngd/ripngd.h')
-rw-r--r--ripngd/ripngd.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/ripngd/ripngd.h b/ripngd/ripngd.h
index 26b6c0bb12..164fb3782e 100644
--- a/ripngd/ripngd.h
+++ b/ripngd/ripngd.h
@@ -120,6 +120,9 @@ struct ripng {
/* Vector to store passive-interface name. */
vector passive_interface;
+ /* RIPng offset-lists. */
+ struct list *offset_list_master;
+
/* RIPng threads. */
struct thread *t_read;
struct thread *t_write;
@@ -387,8 +390,8 @@ extern int ripng_offset_list_apply_in(struct prefix_ipv6 *, struct interface *,
uint8_t *);
extern int ripng_offset_list_apply_out(struct prefix_ipv6 *, struct interface *,
uint8_t *);
-extern void ripng_offset_init(void);
-extern void ripng_offset_clean(void);
+extern int offset_list_cmp(struct ripng_offset_list *o1,
+ struct ripng_offset_list *o2);
extern int ripng_route_rte(struct ripng_info *rinfo);
extern struct ripng_info *ripng_info_new(void);