]>
Commit | Line | Data |
---|---|---|
acddc0ed | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
18a6dce6 | 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. | |
18a6dce6 | 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 | ||
51e94aa7 EDP |
20 | #ifdef __cplusplus |
21 | extern "C" { | |
22 | #endif | |
23 | ||
03fba42e DS |
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); | |
c6ffe645 | 27 | extern void router_id_cmd_init(void); |
03fba42e | 28 | extern void router_id_write(struct vty *vty, struct zebra_vrf *zvrf); |
98a3fb0a | 29 | extern int router_id_get(afi_t afi, struct prefix *p, struct zebra_vrf *zvrf); |
18a6dce6 | 30 | |
51e94aa7 EDP |
31 | #ifdef __cplusplus |
32 | } | |
33 | #endif | |
34 | ||
18a6dce6 | 35 | #endif |