From 5d87cec1757c4e1c23ae778f2814363c1e39b43c Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Mon, 15 May 2017 18:08:53 +0200 Subject: ipcpd: normal: Make routing a policy This makes the routing component into a policy since different approaches may exist to do this, depending on how high the rank of the DIF is. --- include/ouroboros/ipcp.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/ouroboros/ipcp.h') diff --git a/include/ouroboros/ipcp.h b/include/ouroboros/ipcp.h index 05fdcd49..8979c6d1 100644 --- a/include/ouroboros/ipcp.h +++ b/include/ouroboros/ipcp.h @@ -48,6 +48,10 @@ enum pol_gam { COMPLETE = 0 }; +enum pol_routing { + LINK_STATE = 0 +}; + enum hash_algo { HASH_CRC32 = 0, HASH_MD5, @@ -77,6 +81,7 @@ struct ipcp_config { enum pol_addr_auth addr_auth_type; enum pol_gam dt_gam_type; enum pol_gam rm_gam_type; + enum pol_routing routing_type; /* Shim UDP */ uint32_t ip_addr; -- cgit v1.2.3