diff options
author | claudio <claudio@openbsd.org> | 2007-11-27 11:29:34 +0000 |
---|---|---|
committer | claudio <claudio@openbsd.org> | 2007-11-27 11:29:34 +0000 |
commit | 4139c605c3a9e6871a5d86b4927e9e6af7cf6bac (patch) | |
tree | 043c79e681258d1f455875019e2a762f91af5f33 /usr.sbin/ospf6d/ospf6d.h | |
parent | mips64 also needs memcpy.S, otherwise memcpy.c gets built, which conflicts (diff) | |
download | wireguard-openbsd-4139c605c3a9e6871a5d86b4927e9e6af7cf6bac.tar.xz wireguard-openbsd-4139c605c3a9e6871a5d86b4927e9e6af7cf6bac.zip |
Monster diff to bring us a bit on track again.
a) implement all (or at least most) lsa_check() cases.
b) classify the LSA scope correctly and add a per interface lsa_tree for
the link local stuff.
c) implement a function to parse a prefix.
There is still a lot missing currently link local LSA are added to the
interface tree but nothing can access them (lsa_find() and a few friends
need some changes).
OK norby@
Diffstat (limited to 'usr.sbin/ospf6d/ospf6d.h')
-rw-r--r-- | usr.sbin/ospf6d/ospf6d.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ospf6d/ospf6d.h b/usr.sbin/ospf6d/ospf6d.h index d4f36f46720..f8904428ca4 100644 --- a/usr.sbin/ospf6d/ospf6d.h +++ b/usr.sbin/ospf6d/ospf6d.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ospf6d.h,v 1.9 2007/10/16 08:41:56 claudio Exp $ */ +/* $OpenBSD: ospf6d.h,v 1.10 2007/11/27 11:29:34 claudio Exp $ */ /* * Copyright (c) 2004, 2007 Esben Norby <norby@openbsd.org> @@ -314,6 +314,8 @@ struct iface { LIST_HEAD(, nbr) nbr_list; struct lsa_head ls_ack_list; + struct lsa_tree lsa_tree; /* LSA with link local scope */ + char name[IF_NAMESIZE]; char demote_group[IFNAMSIZ]; struct in6_addr addr; |