diff options
author | Martin Mares <mj@ucw.cz> | 2000-04-10 22:08:32 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-04-10 22:08:32 +0000 |
commit | b475c543b420b65bac90992df99a0fe6c9da7c88 (patch) | |
tree | b2452a0a86fbacd5765f42be1c58411e82b9efcb /nest | |
parent | 9196e9f8f951f7cbd372b9243dd10fc761f2fbe6 (diff) |
Fix comments.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/route.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nest/route.h b/nest/route.h index e60e510e..6aa035db 100644 --- a/nest/route.h +++ b/nest/route.h @@ -293,15 +293,15 @@ typedef struct eattr { #define EAF_TYPE_OPAQUE 0x02 /* Opaque byte string (not filterable) */ #define EAF_TYPE_IP_ADDRESS 0x04 /* IP address */ #define EAF_TYPE_ROUTER_ID 0x05 /* Router ID (IPv4 address) */ -#define EAF_TYPE_AS_PATH 0x06 /* BGP AS path (encoding per RFC 1771) */ -#define EAF_TYPE_INT_SET 0x0a /* Set of integers (e.g., a community list) */ +#define EAF_TYPE_AS_PATH 0x06 /* BGP AS path (encoding per RFC 1771:4.3) */ +#define EAF_TYPE_INT_SET 0x0a /* Set of u32's (e.g., a community list) */ #define EAF_TYPE_UNDEF 0x0f /* `force undefined' entry */ #define EAF_EMBEDDED 0x01 /* Data stored in eattr.u.data (part of type spec) */ #define EAF_VAR_LENGTH 0x02 /* Attribute length is variable (part of type spec) */ #define EAF_TEMP 0x80 /* A temporary attribute (the one stored in the tmp attr list) */ struct adata { - unsigned int length; /* Only size of actuall data, not including length field */ + unsigned int length; /* Length of data */ byte data[0]; }; |