summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6d/ospfe.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2007-12-13 08:54:06 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2007-12-13 08:54:06 +0000
commitfafcca9d0e42d9a6e03ef570d77dca5315942a58 (patch)
tree596faa7402ccb9033dc9f620dd603a29a2a3d367 /usr.sbin/ospf6d/ospfe.h
parent5d7de864ea3c020d02a9416491971c124d8daf39 (diff)
Monster commit of stuff I did mostly last month. What it does:
* removes kif and uses iface for everything interface related. This removes unneeded data redundancy which makes the code more complex. * adds the link local prefix to struct iface and attaches a list with the other prefixes to the struct iface. This is needed to generate the link LSA. * disconnects struct iface from struct area (the backpointer is gone) this will make the reload code a bit easier. norby@ agrees with the direction we're heading with this
Diffstat (limited to 'usr.sbin/ospf6d/ospfe.h')
-rw-r--r--usr.sbin/ospf6d/ospfe.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/ospf6d/ospfe.h b/usr.sbin/ospf6d/ospfe.h
index 244022796d7..0a7b8100f18 100644
--- a/usr.sbin/ospf6d/ospfe.h
+++ b/usr.sbin/ospf6d/ospfe.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.h,v 1.8 2007/10/13 13:21:56 claudio Exp $ */
+/* $OpenBSD: ospfe.h,v 1.9 2007/12/13 08:54:05 claudio Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -119,7 +119,7 @@ u_int32_t ospfe_router_id(void);
void ospfe_fib_update(int);
void ospfe_iface_ctl(struct ctl_conn *, unsigned int);
void ospfe_nbr_ctl(struct ctl_conn *);
-void orig_rtr_lsa(struct area *);
+void orig_rtr_lsa(struct iface *);
void orig_net_lsa(struct iface *);
void ospfe_demote_area(struct area *, int);
void ospfe_demote_iface(struct iface *, int);
@@ -127,9 +127,8 @@ void ospfe_demote_iface(struct iface *, int);
/* interface.c */
int if_fsm(struct iface *, enum iface_event);
-struct iface *if_new(struct kif *, struct kif_addr *);
void if_del(struct iface *);
-void if_init(struct ospfd_conf *, struct iface *);
+void if_start(struct ospfd_conf *, struct iface *);
int if_act_start(struct iface *);
int if_act_elect(struct iface *);