summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/rmt.h
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-10-08 19:42:51 +0200
committerSander Vrijders <[email protected]>2016-10-11 16:15:33 +0200
commit69ef99bb2dc05337e8189acc42dc9122f4182ead (patch)
tree2808e55f80991cb9b59266c15726c982f3a4ca50 /src/ipcpd/normal/rmt.h
parentdbf3ab8dfb2cbe8167c464e3cf6a9aa757bfff6a (diff)
downloadouroboros-69ef99bb2dc05337e8189acc42dc9122f4182ead.tar.gz
ouroboros-69ef99bb2dc05337e8189acc42dc9122f4182ead.zip
ipcpd: normal: First version of the fast path bootstrap
This is the first version of the fast path bootstrap in the normal IPCP. It sets up a connection with the other end, and creates the appropriate data structures. N+1 and N-1 SDUs are read and written and passed through the right components.
Diffstat (limited to 'src/ipcpd/normal/rmt.h')
-rw-r--r--src/ipcpd/normal/rmt.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/ipcpd/normal/rmt.h b/src/ipcpd/normal/rmt.h
index cdd86a0b..6ce7a7d7 100644
--- a/src/ipcpd/normal/rmt.h
+++ b/src/ipcpd/normal/rmt.h
@@ -23,12 +23,24 @@
#ifndef OUROBOROS_IPCP_RMT_H
#define OUROBOROS_IPCP_RMT_H
+#include <ouroboros/shm_rdrbuff.h>
+#include <ouroboros/utils.h>
+
#include "dt_const.h"
+#include "shm_pci.h"
-int rmt_init(struct dt_const * dtc);
+int rmt_init(uint32_t address);
int rmt_fini();
-/* FIXME: Will take index in DU map */
-int rmt_frct_post();
+int rmt_dt_flow(int fd,
+ enum qos_cube qos);
+
+/* Hand PDU to RMT, SDU from N+1 */
+int rmt_frct_write_sdu(struct pci * pci,
+ struct shm_du_buff * sdb);
+
+/* Hand PDU to RMT, SDU from N */
+int rmt_frct_write_buf(struct pci * pci,
+ buffer_t * buf);
#endif