diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-12-21 14:29:31 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-12-21 14:54:29 +0100 |
commit | b814df8ed2939649284533d61eb26c29ed2ab2c8 (patch) | |
tree | 940558479b10f3cb73216b76de31b21f85410854 /include/ouroboros/config.h.in | |
parent | fc8d30f2d6e9f3e463aff81a1630ff56f9463a22 (diff) | |
download | ouroboros-b814df8ed2939649284533d61eb26c29ed2ab2c8.tar.gz ouroboros-b814df8ed2939649284533d61eb26c29ed2ab2c8.zip |
lib, ipcpd: Add hashtable and PDU Forwarding Function
This adds a hash table that takes 64-bit integers as key and uses
separate chaining on collision. It also adds the PDU Forwarding
Function, which the Flow Manager can use to lookup the fd towards the
next hop. Routing policies will add/update/remove entries in the PFF.
Diffstat (limited to 'include/ouroboros/config.h.in')
-rw-r--r-- | include/ouroboros/config.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ouroboros/config.h.in b/include/ouroboros/config.h.in index 122899f3..2417a5c0 100644 --- a/include/ouroboros/config.h.in +++ b/include/ouroboros/config.h.in @@ -51,6 +51,7 @@ #define IPCPD_THREADPOOL_SIZE 3 #define LOG_DIR "/@LOG_DIR@/" #define PTHREAD_COND_CLOCK CLOCK_MONOTONIC +#define PFT_SIZE 1 << 12 /* Timeout values */ #define SHM_DU_TIMEOUT_MICROS 15000 #define IRMD_ACCEPT_TIMEOUT 100 |