diff options
author | Sander Vrijders <[email protected]> | 2017-04-27 19:13:29 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-04-28 13:08:17 +0200 |
commit | 9177b0f3f72203cb6e18ee59c98b531a698d7f19 (patch) | |
tree | 524e72cf30f94613df32f06d5ec7bb9041fd11dc /src/ipcpd/normal/frct.h | |
parent | 1f8f2ebe3bb385593755b69bd264ff5f831a22ae (diff) | |
download | ouroboros-9177b0f3f72203cb6e18ee59c98b531a698d7f19.tar.gz ouroboros-9177b0f3f72203cb6e18ee59c98b531a698d7f19.zip |
ipcpd: normal: Split connection establishment
Connection establishment was done at the same time as flow
allocation. This splits it more cleanly, and allows to re-use the DT
AE for other purposes.
Diffstat (limited to 'src/ipcpd/normal/frct.h')
-rw-r--r-- | src/ipcpd/normal/frct.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/ipcpd/normal/frct.h b/src/ipcpd/normal/frct.h index b179e36b..03dec672 100644 --- a/src/ipcpd/normal/frct.h +++ b/src/ipcpd/normal/frct.h @@ -26,7 +26,7 @@ #include <ouroboros/shared.h> #include <ouroboros/utils.h> -#include "shm_pci.h" +#include "frct_pci.h" #define FRCT_PROTO "FRCT" @@ -36,21 +36,21 @@ int frct_init(void); int frct_fini(void); -cep_id_t frct_i_create(uint64_t address, - buffer_t * buf, - qoscube_t cube); +cep_id_t frct_i_create(uint64_t address, + qoscube_t cube); -int frct_i_accept(cep_id_t id, - buffer_t * buf, - qoscube_t cube); +int frct_i_destroy(cep_id_t cep_id); -int frct_i_destroy(cep_id_t id, - buffer_t * buf); +int frct_i_set_id(cep_id_t cep_id, + cep_id_t r_cep_id); + +cep_id_t frct_i_get_id(cep_id_t cep_id); + +uint64_t frct_i_get_addr(cep_id_t cep_id); int frct_i_write_sdu(cep_id_t id, struct shm_du_buff * sdb); -int frct_post_sdu(struct pci * pci, - struct shm_du_buff * sdb); +int frct_post_sdu(struct shm_du_buff * sdb); #endif /* OUROBOROS_IPCPD_NORMAL_FRCT_H */ |