diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-07-14 16:52:54 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-07-14 16:52:54 +0200 |
commit | 8d1951e463193c1aa213c4680f645ec7b9247e15 (patch) | |
tree | 9f75f0987f7acfd5c26fc90ecbb3cf81b585ec47 /src/ipcpd/normal/ribmgr.h | |
parent | d96bac100c5fe181383e947c1e62241cbabce6ac (diff) | |
download | ouroboros-8d1951e463193c1aa213c4680f645ec7b9247e15.tar.gz ouroboros-8d1951e463193c1aa213c4680f645ec7b9247e15.zip |
ipcpd: normal: Establish N-1 management flows
This adds the intial implementation of establishing management N-1
flows between normal IPCPs. On calling fmgr_mgmt_flow, a management
flow will be setup to a certain destination IPCP. After flow
allocation, the fd is handed to the RIB manager. The flow manager also
listens for incoming flow requests. In case they are management flows,
they are handed to the RIB manager, otherwise to the FRCT.
Diffstat (limited to 'src/ipcpd/normal/ribmgr.h')
-rw-r--r-- | src/ipcpd/normal/ribmgr.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/ipcpd/normal/ribmgr.h b/src/ipcpd/normal/ribmgr.h index b39aba63..335189f9 100644 --- a/src/ipcpd/normal/ribmgr.h +++ b/src/ipcpd/normal/ribmgr.h @@ -23,13 +23,15 @@ #ifndef OUROBOROS_IPCP_RIBMGR_H #define OUROBOROS_IPCP_RIBMGR_H -int rib_init(); -int rib_fini(); +#include <ouroboros/irm_config.h> -int rib_mgmt_flow(int fd); -int rib_bootstrap(struct dif_config * conf); +int ribmgr_init(); +int ribmgr_fini(); + +int ribmgr_mgmt_flow(int fd); +int ribmgr_bootstrap(struct dif_config * conf); /* Called by Flow Manager (param of type fmgr_msg_t) */ -int rib_fmgr_msg(); +int ribmgr_fmgr_msg(); #endif |