Statistics
| Branch: | Revision:

iof-bird-daemon / nest / mrtdump.h @ d14f8c3c

History | View | Annotate | Download (506 Bytes)

1 cf31112f Ondrej Zajicek
/*
2 0c75411b Ondrej Zajicek
 *        BIRD -- MRTdump handling
3 cf31112f Ondrej Zajicek
 *
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
16 0c75411b Ondrej Zajicek
/* MRTdump types */
17
18 cf31112f Ondrej Zajicek
#define BGP4MP                        16
19
20 0c75411b Ondrej Zajicek
/* MRTdump subtypes */
21
22 cf31112f Ondrej Zajicek
#define BGP4MP_MESSAGE                1
23
#define BGP4MP_MESSAGE_AS4        4
24
#define BGP4MP_STATE_CHANGE_AS4        5
25
26
27
/* implemented in sysdep */
28
void mrt_dump_message(struct proto *p, u16 type, u16 subtype, byte *buf, u32 len);
29
30
#endif