Added extended attributes for rip.
This commit is contained in:
parent
c72b09c850
commit
9c9e49ac39
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue