From 4139c605c3a9e6871a5d86b4927e9e6af7cf6bac Mon Sep 17 00:00:00 2001 From: claudio Date: Tue, 27 Nov 2007 11:29:34 +0000 Subject: 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@ --- usr.sbin/ospf6d/ospf6d.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.sbin/ospf6d/ospf6d.h') 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 @@ -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; -- cgit v1.2.3-59-g8ed1b