]> git.proxmox.com Git - mirror_frr.git/blob - bgpd/bgp_snmp.h
doc: Add `show ipv6 rpf X:X::X:X` command to docs
[mirror_frr.git] / bgpd / bgp_snmp.h
1 /* Common header file for BGP SNMP implementation.
2 *
3 * Copyright (C) 2022 Donatas Abraitis <donatas@opensourcerouting.org>
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_BGP_SNMP_H_
22 #define _FRR_BGP_SNMP_H_
23
24 /* SNMP value hack. */
25 #define INTEGER ASN_INTEGER
26 #define INTEGER32 ASN_INTEGER
27 #define COUNTER32 ASN_COUNTER
28 #define OCTET_STRING ASN_OCTET_STR
29 #define IPADDRESS ASN_IPADDRESS
30 #define GAUGE32 ASN_UNSIGNED
31
32 #endif /* _FRR_BGP_SNMP_H_ */