From 2d88fdaaa018d607eca5ce057dfbdf41beb6125b Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Mon, 31 Oct 2016 19:47:45 +0100 Subject: ipcpd: normal: Add policy for obtaining a flat address This adds a policy for obtaining a flat address, and thus also the infrastructure for policies in the IPCP. The IPCP should check if the address is available; this is currently not there yet. --- include/ouroboros/irm_config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/ouroboros/irm_config.h b/include/ouroboros/irm_config.h index ba58f2f7..6b759633 100644 --- a/include/ouroboros/irm_config.h +++ b/include/ouroboros/irm_config.h @@ -39,6 +39,10 @@ enum ipcp_type { IPCP_SHIM_ETH_LLC }; +enum pol_addr_auth { + FLAT_RANDOM = 0 +}; + struct dif_config { char * dif_name; enum ipcp_type type; @@ -58,6 +62,8 @@ struct dif_config { uint32_t min_pdu_size; uint32_t max_pdu_size; + + enum pol_addr_auth addr_auth_type; }; /* Shim UDP */ struct { -- cgit v1.2.3