From 4364b47e48ddedb841e8ec8db25c8b4fa878a911 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 17 Nov 1999 15:50:41 +0000 Subject: ospf.c and ospc.h splitted into various files. --- proto/ospf/iface.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 proto/ospf/iface.h (limited to 'proto/ospf/iface.h') diff --git a/proto/ospf/iface.h b/proto/ospf/iface.h new file mode 100644 index 0000000..eda5a04 --- /dev/null +++ b/proto/ospf/iface.h @@ -0,0 +1,25 @@ +/* + * BIRD -- OSPF + * + * (c) 1999 Ondrej Filip + * + * Can be freely distributed and used under the terms of the GNU GPL. + * + */ + +#ifndef _BIRD_OSPF_IFACE_H_ +#define _BIRD_OSPF_IFACE_H_ + +void iface_chstate(struct ospf_iface *ifa, u8 state); +void downint(struct ospf_iface *ifa); +void ospf_int_sm(struct ospf_iface *ifa, int event); +sock *ospf_open_mc_socket(struct ospf_iface *ifa); +sock *ospf_open_ip_socket(struct ospf_iface *ifa); +u8 is_good_iface(struct proto *p, struct iface *iface); +u8 ospf_iface_clasify(struct iface *ifa); +void ospf_add_timers(struct ospf_iface *ifa, pool *pool); +void ospf_iface_default(struct ospf_iface *ifa); +struct ospf_iface *find_iface(struct proto_ospf *p, struct iface *what); +void ospf_if_notify(struct proto *p, unsigned flags, struct iface *iface); + +#endif /* _BIRD_OSPF_IFACE_H_ */ -- cgit v1.2.3