diff options
author | Michal 'vorner' Vaner <michal.vaner@nic.cz> | 2017-08-31 15:40:23 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-10-04 16:27:02 +0200 |
commit | 2a95e63343a94243745e5d7000bb3e0cb61a4a0f (patch) | |
tree | abdb14794f5022c4d1828e8fd58dfc8efea5a6e1 /nest/route.h | |
parent | 5a8b1fb047d675badc17ab24175d0db06d7cc00c (diff) |
RAdv: Support for more specific routes (RFC 4191)
The patch implements Default Router Preferences and More-Specific Routes
(RFC 4191) for RAdv protocol, allowing to announce router preference and
more specific routes in router advertisements. Routes can be exported to
RAdv like to regular routing protocols.
Some cleanups, bugfixes and other changes done by Ondrej Zajicek.
Diffstat (limited to 'nest/route.h')
-rw-r--r-- | nest/route.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/route.h b/nest/route.h index 2e6ae5bf..0834da45 100644 --- a/nest/route.h +++ b/nest/route.h @@ -430,7 +430,8 @@ typedef struct eattr { #define EAP_OSPF 3 /* OSPF */ #define EAP_KRT 4 /* Kernel route attributes */ #define EAP_BABEL 5 /* Babel attributes */ -#define EAP_MAX 6 +#define EAP_RADV 6 /* Router advertisment attributes */ +#define EAP_MAX 7 #define EA_CODE(proto,id) (((proto) << 8) | (id)) #define EA_PROTO(ea) ((ea) >> 8) |