mrtdump.h 506 Bytes
Newer Older
1
/*
2
 *	BIRD -- MRTdump handling
3 4 5 6 7 8 9 10 11 12 13 14 15
 *
 *
 *	Can be freely distributed and used under the terms of the GNU GPL.
 */

#ifndef MRTDUMP_H
#define MRTDUMP_H
#include "nest/protocol.h"

/* MRTDump values */

#define MRTDUMP_HDR_LENGTH	12

16 17
/* MRTdump types */

18 19
#define BGP4MP			16

20 21
/* MRTdump subtypes */

22 23 24 25 26 27 28 29 30 31
#define BGP4MP_MESSAGE		1
#define BGP4MP_MESSAGE_AS4	4
#define BGP4MP_STATE_CHANGE_AS4	5


/* implemented in sysdep */
void mrt_dump_message(struct proto *p, u16 type, u16 subtype, byte *buf, u32 len);

#endif