0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-14 23:28:43 +00:00
bird/nest/mrtdump.h

31 lines
505 B
C
Raw Normal View History

2010-01-03 11:17:52 +00:00
/*
* BIRD -- MRTdump handling
2010-01-03 11:17:52 +00:00
*
*
* 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
/* MRTdump types */
2010-01-03 11:17:52 +00:00
#define BGP4MP 16
/* MRTdump subtypes */
2010-01-03 11:17:52 +00:00
#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