summaryrefslogtreecommitdiff
path: root/usr.sbin/ripd/ripe.h
diff options
context:
space:
mode:
authorMichele Marchetto <michele@cvs.openbsd.org>2006-11-10 10:28:19 +0000
committerMichele Marchetto <michele@cvs.openbsd.org>2006-11-10 10:28:19 +0000
commitf7c87d554b4db554cfb621940889d5e19ccd3123 (patch)
tree8f2a3ef73d72824665336e01c157b506b09306ac /usr.sbin/ripd/ripe.h
parent36dbbaa79a4e5abb5a25b89f1f8404ea14a79057 (diff)
clear lists before deleting neighbor
OK claudio@ henning@
Diffstat (limited to 'usr.sbin/ripd/ripe.h')
-rw-r--r--usr.sbin/ripd/ripe.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ripd/ripe.h b/usr.sbin/ripd/ripe.h
index b7ef8d9abb6..6e46a94add4 100644
--- a/usr.sbin/ripd/ripe.h
+++ b/usr.sbin/ripd/ripe.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ripe.h,v 1.2 2006/10/31 23:43:11 michele Exp $ */
+/* $OpenBSD: ripe.h,v 1.3 2006/11/10 10:28:18 michele Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -94,10 +94,11 @@ int if_join_group(struct iface *, struct in_addr *);
int if_leave_group(struct iface *, struct in_addr *);
struct ctl_iface *if_to_ctl(struct iface *);
-/* communications */
+/* message.c */
void recv_request(struct iface *, struct nbr *, char *, u_int16_t);
void recv_response(struct iface *, struct nbr *, char *, u_int16_t);
void add_entry(struct packet_head *, struct rip_route *);
+void clear_list(struct packet_head *);
int send_triggered_update(struct iface *, struct rip_route *);
int send_request(struct packet_head *, struct iface *, struct nbr *);
int send_response(struct packet_head *, struct iface *, struct nbr *);