diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2017-04-27 19:13:29 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-04-28 13:08:17 +0200 |
commit | 9177b0f3f72203cb6e18ee59c98b531a698d7f19 (patch) | |
tree | 524e72cf30f94613df32f06d5ec7bb9041fd11dc /src/ipcpd/normal/dt.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/dt.h')
-rw-r--r-- | src/ipcpd/normal/dt.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/ipcpd/normal/dt.h b/src/ipcpd/normal/dt.h index dea9b91f..ec59d592 100644 --- a/src/ipcpd/normal/dt.h +++ b/src/ipcpd/normal/dt.h @@ -24,9 +24,8 @@ #define OUROBOROS_IPCPD_NORMAL_DT_H #include <ouroboros/shm_rdrbuff.h> -#include <ouroboros/utils.h> -#include "shm_pci.h" +#include "dt_pci.h" int dt_init(void); @@ -36,10 +35,9 @@ int dt_start(void); void dt_stop(void); -int dt_write_sdu(struct pci * pci, +int dt_write_sdu(uint64_t dst_addr, + qoscube_t qc, + uint8_t pdu_type, struct shm_du_buff * sdb); -int dt_write_buf(struct pci * pci, - buffer_t * buf); - #endif /* OUROBOROS_IPCPD_NORMAL_DT_H */ |