jardin | eb5d44e | 2003-12-23 08:09:43 +0000 | [diff] [blame] | 1 | /* |
| 2 | * IS-IS Rout(e)ing protocol - isis_events.h |
| 3 | * |
| 4 | * Copyright (C) 2001,2002 Sampo Saaristo |
| 5 | * Tampere University of Technology |
| 6 | * Institute of Communications Engineering |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify it |
| 9 | * under the terms of the GNU General Public Licenseas published by the Free |
| 10 | * Software Foundation; either version 2 of the License, or (at your option) |
| 11 | * any later version. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful,but WITHOUT |
| 14 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 15 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| 16 | * more details. |
| 17 | |
| 18 | * You should have received a copy of the GNU General Public License along |
| 19 | * with this program; if not, write to the Free Software Foundation, Inc., |
| 20 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 21 | */ |
| 22 | #ifndef _ZEBRA_ISIS_EVENTS_H |
| 23 | #define _ZEBRA_ISIS_EVENTS_H |
| 24 | |
| 25 | /* |
jardin | eb5d44e | 2003-12-23 08:09:43 +0000 | [diff] [blame] | 26 | * Events related to circuit |
| 27 | */ |
hasso | f390d2c | 2004-09-10 20:48:21 +0000 | [diff] [blame] | 28 | void isis_event_circuit_state_change (struct isis_circuit *circuit, |
Josh Bailey | 3f045a0 | 2012-03-24 08:35:20 -0700 | [diff] [blame] | 29 | struct isis_area *area, int state); |
hasso | f390d2c | 2004-09-10 20:48:21 +0000 | [diff] [blame] | 30 | void isis_event_circuit_type_change (struct isis_circuit *circuit, |
| 31 | int newtype); |
jardin | eb5d44e | 2003-12-23 08:09:43 +0000 | [diff] [blame] | 32 | /* |
| 33 | * Events related to adjacencies |
| 34 | */ |
hasso | f390d2c | 2004-09-10 20:48:21 +0000 | [diff] [blame] | 35 | void isis_event_adjacency_state_change (struct isis_adjacency *adj, |
| 36 | int newstate); |
jardin | eb5d44e | 2003-12-23 08:09:43 +0000 | [diff] [blame] | 37 | |
| 38 | int isis_event_dis_status_change (struct thread *thread); |
| 39 | |
| 40 | /* |
| 41 | * Error events |
| 42 | */ |
| 43 | #define AUTH_ERROR_TYPE_LSP 3 |
| 44 | #define AUTH_ERROR_TYPE_SNP 2 |
| 45 | #define AUTH_ERROR_TYPE_HELLO 1 |
hasso | 1cd8084 | 2004-10-07 20:07:40 +0000 | [diff] [blame] | 46 | void isis_event_auth_failure (char *area_tag, const char *error_string, |
hasso | f7c43dc | 2004-09-26 16:24:14 +0000 | [diff] [blame] | 47 | u_char *sysid); |
jardin | eb5d44e | 2003-12-23 08:09:43 +0000 | [diff] [blame] | 48 | |
| 49 | #endif /* _ZEBRA_ISIS_EVENTS_H */ |