2023-02-08 13:17:09 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2003-12-23 09:09:43 +01:00
|
|
|
/*
|
|
|
|
* IS-IS Rout(e)ing protocol - isis_events.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2001,2002 Sampo Saaristo
|
|
|
|
* Tampere University of Technology
|
|
|
|
* Institute of Communications Engineering
|
|
|
|
*/
|
|
|
|
#ifndef _ZEBRA_ISIS_EVENTS_H
|
|
|
|
#define _ZEBRA_ISIS_EVENTS_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Events related to circuit
|
|
|
|
*/
|
2004-09-10 22:48:21 +02:00
|
|
|
void isis_event_circuit_state_change(struct isis_circuit *circuit,
|
2012-03-24 16:35:20 +01:00
|
|
|
struct isis_area *area, int state);
|
2004-09-10 22:48:21 +02:00
|
|
|
void isis_event_circuit_type_change(struct isis_circuit *circuit, int newtype);
|
2003-12-23 09:09:43 +01:00
|
|
|
/*
|
|
|
|
* Events related to adjacencies
|
|
|
|
*/
|
2022-03-01 22:18:12 +01:00
|
|
|
void isis_event_dis_status_change(struct event *thread);
|
2003-12-23 09:09:43 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Error events
|
|
|
|
*/
|
|
|
|
#define AUTH_ERROR_TYPE_LSP 3
|
|
|
|
#define AUTH_ERROR_TYPE_SNP 2
|
|
|
|
#define AUTH_ERROR_TYPE_HELLO 1
|
2004-10-07 22:07:40 +02:00
|
|
|
void isis_event_auth_failure(char *area_tag, const char *error_string,
|
2018-03-27 21:13:34 +02:00
|
|
|
uint8_t *sysid);
|
2003-12-23 09:09:43 +01:00
|
|
|
|
|
|
|
#endif /* _ZEBRA_ISIS_EVENTS_H */
|