]> git.proxmox.com Git - mirror_frr.git/blame - isisd/isis_events.h
lib: enforce vrf_name_to_id by returning default_vrf when name is null
[mirror_frr.git] / isisd / isis_events.h
CommitLineData
eb5d44eb 1/*
d62a17ae 2 * IS-IS Rout(e)ing protocol - isis_events.h
eb5d44eb 3 *
4 * Copyright (C) 2001,2002 Sampo Saaristo
d62a17ae 5 * Tampere University of Technology
eb5d44eb 6 * Institute of Communications Engineering
7 *
d62a17ae 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)
eb5d44eb 11 * any later version.
12 *
d62a17ae 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
eb5d44eb 16 * more details.
896014f4
DL
17 *
18 * You should have received a copy of the GNU General Public License along
19 * with this program; see the file COPYING; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
eb5d44eb 21 */
22#ifndef _ZEBRA_ISIS_EVENTS_H
23#define _ZEBRA_ISIS_EVENTS_H
24
eb5d44eb 25/*
26 * Events related to circuit
27 */
d62a17ae 28void isis_event_circuit_state_change(struct isis_circuit *circuit,
29 struct isis_area *area, int state);
30void isis_event_circuit_type_change(struct isis_circuit *circuit, int newtype);
eb5d44eb 31/*
32 * Events related to adjacencies
33 */
d62a17ae 34int isis_event_dis_status_change(struct thread *thread);
eb5d44eb 35
36/*
37 * Error events
38 */
39#define AUTH_ERROR_TYPE_LSP 3
40#define AUTH_ERROR_TYPE_SNP 2
41#define AUTH_ERROR_TYPE_HELLO 1
d62a17ae 42void isis_event_auth_failure(char *area_tag, const char *error_string,
d7c0a89a 43 uint8_t *sysid);
eb5d44eb 44
45#endif /* _ZEBRA_ISIS_EVENTS_H */