1/*
2 * Copyright (C) 1999 Yasuhiro Ohara
3 *
4 * This file is part of GNU Zebra.
5 *
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
9 * later version.
10 *
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.
15 *
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.
20 */
21
22#ifndef OSPF6_ISM_H
23#define OSPF6_ISM_H
24
25/* interface state */
26#define IFS_NONE     0
27#define IFS_DOWN     1
28#define IFS_LOOPBACK 2
29#define IFS_WAITING  3
30#define IFS_PTOP     4
31#define IFS_DROTHER  5
32#define IFS_BDR      6
33#define IFS_DR       7
34#define IFS_MAX      8
35
36
37
38/* Function Prototypes */
39/* interface event */
40int interface_up (struct thread *);
41int interface_down (struct thread *);
42int wait_timer (struct thread *);
43int backup_seen (struct thread *);
44int neighbor_change (struct thread *);
45
46
47#include "ospf6_types.h"
48
49int dr_change (struct ospf6_interface *);
50int ifs_change (state_t, char *, struct ospf6_interface *);
51
52#endif /* OSPF6_ISM_H */
53
54