diff options
author | Renato Westphal <renato@cvs.openbsd.org> | 2015-10-21 03:52:13 +0000 |
---|---|---|
committer | Renato Westphal <renato@cvs.openbsd.org> | 2015-10-21 03:52:13 +0000 |
commit | a276edca3fd2a5e935de4b937501bf27e8d4da8f (patch) | |
tree | 50d5f5628ebdc7bfa4b8225f54ee96474d6b15c4 /usr.sbin/eigrpd/rde.h | |
parent | 7782225b2926834dc635e6f72ac2a42468bc922d (diff) |
Add support for route summarization.
Working great but need more testing, especially with ipv6. For now
we don't validate if one configured summary is inside another or the
presence of duplicates. Will address these issues in a future commit.
Diffstat (limited to 'usr.sbin/eigrpd/rde.h')
-rw-r--r-- | usr.sbin/eigrpd/rde.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/eigrpd/rde.h b/usr.sbin/eigrpd/rde.h index a010f0ae38e..7235bdeae9c 100644 --- a/usr.sbin/eigrpd/rde.h +++ b/usr.sbin/eigrpd/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.3 2015/10/21 03:48:09 renato Exp $ */ +/* $OpenBSD: rde.h,v 1.4 2015/10/21 03:52:12 renato Exp $ */ /* * Copyright (c) 2015 Renato Westphal <renato@openbsd.org> @@ -133,6 +133,8 @@ void rde_instance_del(struct eigrp *); void rde_send_change_kroute(struct rt_node *, struct eigrp_route *); void rde_send_delete_kroute(struct rt_node *, struct eigrp_route *); void rt_redist_set(struct kroute *, int); +void rt_summary_set(struct eigrp *, struct summary_addr *, + struct classic_metric *); void rt_snap(struct rde_nbr *); struct ctl_rt *rt_to_ctl(struct rt_node *, struct eigrp_route *); void rt_dump(struct ctl_show_topology_req *, pid_t); @@ -171,6 +173,8 @@ void rt_set_successor(struct rt_node *, struct eigrp_route *); struct eigrp_route *rt_get_successor_fc(struct rt_node *); +struct summary_addr *rde_summary_check(struct eigrp_iface *, + union eigrpd_addr *, uint8_t); void rde_send_update(struct eigrp_iface *, struct rinfo *); void rde_send_update_all(struct rt_node *, struct rinfo *); void rde_send_query(struct eigrp_iface *, struct rinfo *, |