summaryrefslogtreecommitdiffstats
path: root/eigrpd/eigrp_packet.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-26 15:15:58 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-08-26 15:15:58 +0200
commit71b52ef23ad7cbf5865f47a6211a77214d8fd321 (patch)
tree99f19a77b61f4e9df8540a13e8b522319194de4c /eigrpd/eigrp_packet.h
parenteigrpd: Make code a bit easier to read in eigrp_update.c (diff)
downloadfrr-71b52ef23ad7cbf5865f47a6211a77214d8fd321.tar.xz
frr-71b52ef23ad7cbf5865f47a6211a77214d8fd321.zip
eigrpd: Refactor access/prefix list applications
There was allot of code cut-n-pasting to apply the prefix/access lists. Refactor to simplify code. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_packet.h')
-rw-r--r--eigrpd/eigrp_packet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/eigrpd/eigrp_packet.h b/eigrpd/eigrp_packet.h
index e52fd268f..a7d510218 100644
--- a/eigrpd/eigrp_packet.h
+++ b/eigrpd/eigrp_packet.h
@@ -83,6 +83,10 @@ extern int eigrp_hello_timer(struct thread *);
/*
* These externs are found in eigrp_update.c
*/
+extern bool eigrp_update_prefix_apply(struct eigrp *eigrp,
+ struct eigrp_interface *ei,
+ int in,
+ struct prefix *prefix);
extern void eigrp_update_send(struct eigrp_interface *);
extern void eigrp_update_receive(struct eigrp *, struct ip *,
struct eigrp_header *, struct stream *,