]> git.proxmox.com Git - mirror_frr.git/blob - zebra/router-id.h
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / zebra / router-id.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * Router ID for zebra daemon.
4 *
5 * Copyright (C) 2004 James R. Leu
6 *
7 * This file is part of Quagga routing suite.
8 */
9
10 #ifndef _ROUTER_ID_H_
11 #define _ROUTER_ID_H_
12
13 #include <zebra.h>
14
15 #include "memory.h"
16 #include "prefix.h"
17 #include "zclient.h"
18 #include "if.h"
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24 extern void router_id_add_address(struct connected *c);
25 extern void router_id_del_address(struct connected *c);
26 extern void router_id_init(struct zebra_vrf *zvrf);
27 extern void router_id_cmd_init(void);
28 extern void router_id_write(struct vty *vty, struct zebra_vrf *zvrf);
29 extern int router_id_get(afi_t afi, struct prefix *p, struct zebra_vrf *zvrf);
30
31 #ifdef __cplusplus
32 }
33 #endif
34
35 #endif