Commit 9c9e49ac authored by Pavel Machek's avatar Pavel Machek

Added extended attributes for rip.

parent c72b09c8
...@@ -256,6 +256,7 @@ typedef struct eattr { ...@@ -256,6 +256,7 @@ typedef struct eattr {
/* FIXME: Introduce real protocol numbers? */ /* FIXME: Introduce real protocol numbers? */
#define EAP_GENERIC 0 /* Generic attributes */ #define EAP_GENERIC 0 /* Generic attributes */
#define EAP_BGP 1 /* BGP attributes */ #define EAP_BGP 1 /* BGP attributes */
#define EAP_RIP 2 /* RIP */
#define EA_CODE(proto,id) (((proto) << 8) | (id)) #define EA_CODE(proto,id) (((proto) << 8) | (id))
#define EA_PROTO(ea) ((ea) >> 8) #define EA_PROTO(ea) ((ea) >> 8)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment