From 2a95e63343a94243745e5d7000bb3e0cb61a4a0f Mon Sep 17 00:00:00 2001 From: Michal 'vorner' Vaner Date: Thu, 31 Aug 2017 15:40:23 +0200 Subject: 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. --- nest/route.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nest/route.h') 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) -- cgit v1.2.3