summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/frct.h
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-12 14:54:18 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-12 14:54:18 +0200
commit43e2f332770007a3fcea011ffb35e8fbb24a6205 (patch)
treec792e7674d1247fa95e096f746a3559e2f4f8b7e /src/ipcpd/normal/frct.h
parent2ba45f5efe0486b88f91ecced451f74cc782e8a4 (diff)
downloadouroboros-43e2f332770007a3fcea011ffb35e8fbb24a6205.tar.gz
ouroboros-43e2f332770007a3fcea011ffb35e8fbb24a6205.zip
ipcpd: normal: Improve upon the internal design
This commit will remove the RMT component from the normal IPCP, as some of its functionality would else be duplicated in the FMGR. Now all reading from flows, either N-1 or N+1 is done in the FMGR, then either passed to the FRCT or a lookup is performed in the PFF (not there yet) and the PDU is forwarded.
Diffstat (limited to 'src/ipcpd/normal/frct.h')
-rw-r--r--src/ipcpd/normal/frct.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ipcpd/normal/frct.h b/src/ipcpd/normal/frct.h
index 2b86f5bd..b9e70d0f 100644
--- a/src/ipcpd/normal/frct.h
+++ b/src/ipcpd/normal/frct.h
@@ -30,13 +30,9 @@
struct frct_i;
-int frct_init(uint32_t address);
+int frct_init();
int frct_fini();
-/* Called by RMT upon receipt of a PDU for us */
-int frct_rmt_post_sdu(struct pci * pci,
- struct shm_du_buff * sdb);
-
cep_id_t frct_i_create(uint32_t address,
buffer_t * buf,
enum qos_cube cube);
@@ -51,4 +47,7 @@ int frct_i_destroy(cep_id_t id,
int frct_i_write_sdu(cep_id_t id,
struct shm_du_buff * sdb);
+int frct_nm1_post_sdu(struct pci * pci,
+ struct shm_du_buff * sdb);
+
#endif