From 2c7e3030edb84abae14042f7a1a22b44255324be Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Wed, 20 Sep 2017 13:56:17 +0200 Subject: ipcpd: normal: Make PFF policy-based This turns the PDU Forwarding Function of the IPCP into a policy. For now only the simple PFF policy is available. --- 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 2d785fbb..de435e08 100644 --- a/include/ouroboros/ipcp.h +++ b/include/ouroboros/ipcp.h @@ -49,6 +49,10 @@ enum pol_routing { LINK_STATE = 0 }; +enum pol_pff { + SIMPLE_PFF = 0 +}; + enum pol_dir_hash { DIR_HASH_SHA3_224 = 0, DIR_HASH_SHA3_256, @@ -75,6 +79,7 @@ struct ipcp_config { enum pol_addr_auth addr_auth_type; enum pol_routing routing_type; + enum pol_pff pff_type; /* Shim UDP */ uint32_t ip_addr; -- cgit v1.2.3