]> git.proxmox.com Git - mirror_frr.git/blob - isisd/isis_events.h
*: Rename `struct thread` to `struct event`
[mirror_frr.git] / isisd / isis_events.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * IS-IS Rout(e)ing protocol - isis_events.h
4 *
5 * Copyright (C) 2001,2002 Sampo Saaristo
6 * Tampere University of Technology
7 * Institute of Communications Engineering
8 */
9 #ifndef _ZEBRA_ISIS_EVENTS_H
10 #define _ZEBRA_ISIS_EVENTS_H
11
12 /*
13 * Events related to circuit
14 */
15 void isis_event_circuit_state_change(struct isis_circuit *circuit,
16 struct isis_area *area, int state);
17 void isis_event_circuit_type_change(struct isis_circuit *circuit, int newtype);
18 /*
19 * Events related to adjacencies
20 */
21 void isis_event_dis_status_change(struct event *thread);
22
23 /*
24 * Error events
25 */
26 #define AUTH_ERROR_TYPE_LSP 3
27 #define AUTH_ERROR_TYPE_SNP 2
28 #define AUTH_ERROR_TYPE_HELLO 1
29 void isis_event_auth_failure(char *area_tag, const char *error_string,
30 uint8_t *sysid);
31
32 #endif /* _ZEBRA_ISIS_EVENTS_H */