0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Added extended attributes for rip.

This commit is contained in:
Pavel Machek 1999-05-31 19:15:32 +00:00
parent c72b09c850
commit 9c9e49ac39

View File

@ -256,6 +256,7 @@ typedef struct eattr {
/* FIXME: Introduce real protocol numbers? */
#define EAP_GENERIC 0 /* Generic attributes */
#define EAP_BGP 1 /* BGP attributes */
#define EAP_RIP 2 /* RIP */
#define EA_CODE(proto,id) (((proto) << 8) | (id))
#define EA_PROTO(ea) ((ea) >> 8)