]> git.proxmox.com Git - mirror_frr.git/blob - isisd/isis_dr.h
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / isisd / isis_dr.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * IS-IS Rout(e)ing protocol - isis_dr.h
4 * IS-IS designated router related routines
5 *
6 * Copyright (C) 2001,2002 Sampo Saaristo
7 * Tampere University of Technology
8 * Institute of Communications Engineering
9 */
10
11 #ifndef _ZEBRA_ISIS_DR_H
12 #define _ZEBRA_ISIS_DR_H
13
14 void isis_run_dr(struct thread *thread);
15 int isis_dr_elect(struct isis_circuit *circuit, int level);
16 int isis_dr_resign(struct isis_circuit *circuit, int level);
17 int isis_dr_commence(struct isis_circuit *circuit, int level);
18 const char *isis_disflag2string(int disflag);
19
20 enum isis_dis_state {
21 ISIS_IS_NOT_DIS,
22 ISIS_IS_DIS,
23 ISIS_WAS_DIS,
24 ISIS_UNKNOWN_DIS
25 };
26
27 #endif /* _ZEBRA_ISIS_DR_H */