summaryrefslogtreecommitdiff
path: root/proto/rip/rip.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2020-03-14 17:04:49 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2020-03-14 17:04:49 +0100
commitd516c68ad838351fa5e20e3e10bd3fb2b3157618 (patch)
tree84ec0fcda3700affdf4299b560271eded166dcf9 /proto/rip/rip.h
parentdc042d87cb68e44b49e9f4f153db444afaa00fba (diff)
RIP: Improvements to demand circuit mode
Restart iface after changing demand circuit mode during reconfiguration. Fix next_regular interval reset during reconfiguration. Send flushing response when iface goes down.
Diffstat (limited to 'proto/rip/rip.h')
-rw-r--r--proto/rip/rip.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/rip/rip.h b/proto/rip/rip.h
index bf597350..76294624 100644
--- a/proto/rip/rip.h
+++ b/proto/rip/rip.h
@@ -162,7 +162,7 @@ struct rip_entry
u8 valid; /* Entry validity state (RIP_ENTRY_*) */
u8 metric; /* Outgoing route metric */
u16 tag; /* Outgoing route tag */
- struct iface *from; /* Outgoing route from, NULL if from proto */
+ struct iface *from; /* Outgoing route from, NULL if from proto */
struct iface *iface; /* Outgoing route iface (for next hop) */
ip_addr next_hop; /* Outgoing route next hop */
@@ -227,6 +227,7 @@ void rip_show_neighbors(struct proto *P, char *iff);
/* packets.c */
void rip_send_request(struct rip_proto *p, struct rip_iface *ifa);
void rip_send_table(struct rip_proto *p, struct rip_iface *ifa, ip_addr addr, btime changed);
+int rip_send_flush(struct rip_proto *p, struct rip_iface *ifa);
void rip_rxmt_timeout(timer *t);
int rip_open_socket(struct rip_iface *ifa);