From c75f20d2ef73b0193e75fa59c4679be713a342c7 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 10 May 2017 16:39:58 +0200 Subject: ipcpd: Remove FRCT from normal IPCP In order to ensure 100% reliable transfer, the protocol state machine that takes care of retransmission and SDU ordering has to be in the application. Flow allocation in the normal now uses fds. The PDU_type field was deprecated and AE's within the DIF can use reserved fds. --- src/ipcpd/normal/dt.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/ipcpd/normal/dt.h') diff --git a/src/ipcpd/normal/dt.h b/src/ipcpd/normal/dt.h index ec59d592..b7b3f7c6 100644 --- a/src/ipcpd/normal/dt.h +++ b/src/ipcpd/normal/dt.h @@ -27,6 +27,14 @@ #include "dt_pci.h" +#define INVALID_ADDR 0 + +#define DT_PROTO "dt" +#define FD_FA 1 +#define FD_DHT 2 + +typedef uint32_t dt_cep_id_t; + int dt_init(void); void dt_fini(void); @@ -37,7 +45,7 @@ void dt_stop(void); int dt_write_sdu(uint64_t dst_addr, qoscube_t qc, - uint8_t pdu_type, + int np1_fd, struct shm_du_buff * sdb); #endif /* OUROBOROS_IPCPD_NORMAL_DT_H */ -- cgit v1.2.3