From f6071ecf0cd3768eaed9a847f676433c120ea89e Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Thu, 21 Sep 2017 14:26:51 +0200 Subject: ipcpd: normal: Add alternate hop PFF This adds a PFF that returns an alternate hop as next hop in case the hop that would have been returned is down. --- include/ouroboros/ipcp.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/ouroboros/ipcp.h') diff --git a/include/ouroboros/ipcp.h b/include/ouroboros/ipcp.h index de435e08..1b578fa2 100644 --- a/include/ouroboros/ipcp.h +++ b/include/ouroboros/ipcp.h @@ -42,15 +42,16 @@ enum ipcp_type { /* Normal IPCP policies */ enum pol_addr_auth { - FLAT_RANDOM = 0 + ADDR_AUTH_FLAT_RANDOM = 0 }; enum pol_routing { - LINK_STATE = 0 + ROUTING_LINK_STATE = 0 }; enum pol_pff { - SIMPLE_PFF = 0 + PFF_SIMPLE = 0, + PFF_ALTERNATE }; enum pol_dir_hash { -- cgit v1.2.3