0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-14 23:28:43 +00:00
bird/proto/snmp/snmp.h
2022-08-02 16:06:00 +02:00

47 lines
752 B
C

/*
* BIRD -- Simple Network Management Protocol (SNMP)
*
* (c) 2022 Vojtech Vilimek <vojtech.vilimek@nic.cz>
* (c) 2022 CZ.NIC z.s.p.o
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
#ifndef _BIRD_SNMP_H_
#define _BIRD_SNPM_H_
#include "proto/bgp/bgp.h"
#define SNMP_UNDEFINED 0
#define SNMP_BGP 1
#define SNMP_OSPF 2
#define SNMP_INVALID 255
struct snmp_bond {
node n;
struct proto_config *proto;
u8 type;
};
struct snmp_config {
struct channel_config c;
list bgp_entries;
};
struct snmp_proto {
struct channel c;
struct tbf rl_gen;
};
struct snmp_channel_config {
struct channel_config c;
struct bgp_config *bgp;
u8 type;
};
struct snmp_channel {
struct channel c;
};
#endif