1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Route attributes for OSPF.

This commit is contained in:
Martin Mares
2000-05-30 21:25:32 +00:00
parent 2cec475b8f
commit 5919c66e8f
6 changed files with 94 additions and 28 deletions

View File

@@ -287,7 +287,8 @@ typedef struct eattr {
#define EAP_GENERIC 0 /* Generic attributes */
#define EAP_BGP 1 /* BGP attributes */
#define EAP_RIP 2 /* RIP */
#define EAP_MAX 3
#define EAP_OSPF 3 /* OSPF */
#define EAP_MAX 4
#define EA_CODE(proto,id) (((proto) << 8) | (id))
#define EA_PROTO(ea) ((ea) >> 8)