]> git.proxmox.com Git - mirror_frr.git/blob - lib/route_opaque.h
Merge pull request #8723 from mjstapp/fix_show_werror
[mirror_frr.git] / lib / route_opaque.h
1 /* Opaque data for Zebra from other daemons.
2 *
3 * Copyright (C) 2021 Donatas Abraitis <donatas.abraitis@gmail.com>
4 *
5 * This file is part of FRRouting (FRR).
6 *
7 * FRR is free software; you can redistribute it and/or modify it under the
8 * terms of the GNU General Public License as published by the Free Software
9 * Foundation; either version 2, or (at your option) any later version.
10 *
11 * FRR is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14 * details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; see the file COPYING; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21 #ifndef FRR_ROUTE_OPAQUE_H
22 #define FRR_ROUTE_OPAQUE_H
23
24 #include "bgpd/bgp_aspath.h"
25 #include "bgpd/bgp_community.h"
26 #include "bgpd/bgp_lcommunity.h"
27
28 struct bgp_zebra_opaque {
29 char aspath[ASPATH_STR_DEFAULT_LEN];
30
31 /* Show at least 10 communities AA:BB */
32 char community[COMMUNITY_SIZE * 20];
33
34 /* Show at least 10 large-communities AA:BB:CC */
35 char lcommunity[LCOMMUNITY_SIZE * 30];
36 };
37
38 #endif /* FRR_ROUTE_OPAQUE_H */