diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-10-12 13:55:37 +0000 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-10-12 13:55:37 +0000 |
commit | 550e7892e47cf8daf351eb773ef3900b33ecabae (patch) | |
tree | c792e7674d1247fa95e096f746a3559e2f4f8b7e /src/ipcpd/normal/ribmgr.h | |
parent | b1dda618ce8cbb98f72c0b04925227889204e0c9 (diff) | |
parent | 43e2f332770007a3fcea011ffb35e8fbb24a6205 (diff) | |
download | ouroboros-550e7892e47cf8daf351eb773ef3900b33ecabae.tar.gz ouroboros-550e7892e47cf8daf351eb773ef3900b33ecabae.zip |
Merged in sandervrijders/ouroboros/be-connection (pull request #262)
ipcpd: normal: First version of the fast path bootstrap
Diffstat (limited to 'src/ipcpd/normal/ribmgr.h')
-rw-r--r-- | src/ipcpd/normal/ribmgr.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/src/ipcpd/normal/ribmgr.h b/src/ipcpd/normal/ribmgr.h index e85c65be..ed8bae03 100644 --- a/src/ipcpd/normal/ribmgr.h +++ b/src/ipcpd/normal/ribmgr.h @@ -25,12 +25,21 @@ #include <ouroboros/irm_config.h> -int ribmgr_init(); -int ribmgr_fini(); +#include "dt_const.h" -int ribmgr_add_flow(int fd); -int ribmgr_remove_flow(int fd); +int ribmgr_init(); +int ribmgr_fini(); -int ribmgr_bootstrap(struct dif_config * conf); +int ribmgr_add_flow(int fd); +int ribmgr_remove_flow(int fd); + +int ribmgr_bootstrap(struct dif_config * conf); + +/* + * FIXME: Should we expose the RIB? + * Else we may end up with a lot of getters and setters + */ +struct dt_const * ribmgr_dt_const(); +uint32_t ribmgr_address(); #endif |