File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / bird / nest / mrtdump.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Aug 22 12:33:54 2017 UTC (6 years, 9 months ago) by misho
Branches: bird, MAIN
CVS tags: v1_6_3p0, v1_6_3, HEAD
bird 1.6.3

/*
 *	BIRD -- MRTdump handling
 *
 *
 *	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 */

#define BGP4MP			16

/* MRTdump subtypes */

#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


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>