2 * Copyright (C) 2001 Yasuhiro Ohara
4 * This file is part of GNU Zebra.
6 * GNU Zebra is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2, or (at your option) any
11 * GNU Zebra is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with GNU Zebra; see the file COPYING. If not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
25 /* Inter-Area-Prefix-LSA */
26 struct ospf6_inter_area_prefix_lsa
28 u_int32_t metric
; /* 12bits reserved, 20bits metric */
29 struct ospf6_prefix prefix
; /* followed by one address prefix */
32 /* Inter-Area-Router-LSA */
33 struct ospf6_inter_area_router_lsa
36 u_char options
[3]; /* Optional Capability */
37 u_int32_t metric
; /* 12bits reserved, 20bits metric */
38 u_int32_t router_id
; /* Destination Router ID */
41 void ospf6_abr_prefix_lsa_add (struct ospf6_lsa
*);
42 void ospf6_abr_prefix_lsa_remove (struct ospf6_lsa
*);
43 void ospf6_abr_prefix_lsa_change (struct ospf6_lsa
*, struct ospf6_lsa
*);
45 void ospf6_abr_abr_entry_add (struct ospf6_route_req
*);
46 void ospf6_abr_abr_entry_remove (struct ospf6_route_req
*);
48 void ospf6_abr_route_add (struct ospf6_route_req
*);
49 void ospf6_abr_route_remove (struct ospf6_route_req
*);
51 void ospf6_abr_inter_route_calculation (struct ospf6_area
*);
53 void ospf6_abr_init ();
55 #endif /* OSPF6_ABR_H */