diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2017-09-20 13:56:17 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-09-20 14:16:34 +0200 |
commit | 2c7e3030edb84abae14042f7a1a22b44255324be (patch) | |
tree | db0bb53b7627066ba44cc1f9f429e11d1fa7bf65 /include | |
parent | f9fd352f38c3c3d9e7824b8cf84b8f86e2a6d392 (diff) | |
download | ouroboros-2c7e3030edb84abae14042f7a1a22b44255324be.tar.gz ouroboros-2c7e3030edb84abae14042f7a1a22b44255324be.zip |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/ipcp.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; |