diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-01-04 19:08:10 -0200 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-01-18 16:15:41 -0200 |
| commit | 3f21c8c4cb57a1c3f645be77dfa8e860019daf6c (patch) | |
| tree | d918f4aa314a8588d272b58b5a21ac9050377a94 /ripd/ripd.h | |
| parent | 29e897ad333790601929c09904a7e2ff146bcf55 (diff) | |
ripd: move "rip_offset_list_master" to the rip structure
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ripd/ripd.h')
| -rw-r--r-- | ripd/ripd.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ripd/ripd.h b/ripd/ripd.h index 100c9d14b1..858c8d4f60 100644 --- a/ripd/ripd.h +++ b/ripd/ripd.h @@ -156,6 +156,9 @@ struct rip { /* Vector to store passive-interface name. */ vector passive_nondefault; + /* RIP offset-lists. */ + struct list *offset_list_master; + /* For redistribute route map. */ struct { char *name; @@ -462,8 +465,8 @@ extern int rip_offset_list_apply_in(struct prefix_ipv4 *, struct interface *, uint32_t *); extern int rip_offset_list_apply_out(struct prefix_ipv4 *, struct interface *, uint32_t *); -extern void rip_offset_init(void); -extern void rip_offset_clean(void); +extern int offset_list_cmp(struct rip_offset_list *o1, + struct rip_offset_list *o2); /* YANG notifications */ extern void ripd_notif_send_auth_type_failure(const char *ifname); |
