]>
Commit | Line | Data |
---|---|---|
8a71d93d DS |
1 | /* |
2 | * Zebra connect library for SHARP | |
3 | * Copyright (C) Cumulus Networks, Inc. | |
4 | * Donald Sharp | |
5 | * | |
6 | * This file is part of FRR. | |
7 | * | |
8 | * FRR is free software; you can redistribute it and/or modify it | |
9 | * under the terms of the GNU General Public License as published by the | |
10 | * Free Software Foundation; either version 2, or (at your option) any | |
11 | * later version. | |
12 | * | |
13 | * FRR is distributed in the hope that it will be useful, but | |
14 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
16 | * General Public License for more details. | |
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 | |
21 | */ | |
22 | #ifndef __SHARP_ZEBRA_H__ | |
23 | #define __SHARP_ZEBRA_H__ | |
24 | ||
25 | extern void sharp_zebra_init(void); | |
26 | ||
7d061b3c | 27 | extern void vrf_label_add(vrf_id_t vrf_id, afi_t afi, mpls_label_t label); |
ae252c02 DS |
28 | extern void route_add(struct prefix *p, uint8_t instance, struct nexthop *nh); |
29 | extern void route_delete(struct prefix *p, uint8_t instance); | |
0ae8130d | 30 | extern void sharp_zebra_nexthop_watch(struct prefix *p, bool watch); |
8a71d93d | 31 | #endif |