]> git.ipfire.org Git - thirdparty/bird.git/blame - nest/mrtdump.h
Unix: Implement log file size limit / log rotation
[thirdparty/bird.git] / nest / mrtdump.h
CommitLineData
cf31112f 1/*
0c75411b 2 * BIRD -- MRTdump handling
cf31112f
OZ
3 *
4 *
5 * Can be freely distributed and used under the terms of the GNU GPL.
6 */
7
8#ifndef MRTDUMP_H
9#define MRTDUMP_H
10#include "nest/protocol.h"
11
12/* MRTDump values */
13
14#define MRTDUMP_HDR_LENGTH 12
15
0c75411b
OZ
16/* MRTdump types */
17
cf31112f
OZ
18#define BGP4MP 16
19
0c75411b
OZ
20/* MRTdump subtypes */
21
cf31112f
OZ
22#define BGP4MP_MESSAGE 1
23#define BGP4MP_MESSAGE_AS4 4
24#define BGP4MP_STATE_CHANGE_AS4 5
25
26
27/* implemented in sysdep */
28void mrt_dump_message(struct proto *p, u16 type, u16 subtype, byte *buf, u32 len);
29
30#endif