summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/frct.h
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-09-07 15:00:12 +0200
committerdimitri staessens <[email protected]>2016-09-07 15:00:12 +0200
commitab83ed430081d2833faa31b7f1cf187b043e56be (patch)
treebc432f673bb453b8fc7789cff363b9b49e8fbaf5 /src/ipcpd/normal/frct.h
parentdd1047b0e457c45d45a1b5b83972d4a75968cce2 (diff)
parent2cf4f88fc8b957c15ae93a2eb3e56ebdb07a0381 (diff)
downloadouroboros-ab83ed430081d2833faa31b7f1cf187b043e56be.tar.gz
ouroboros-ab83ed430081d2833faa31b7f1cf187b043e56be.zip
Merged in sandervrijders/ouroboros/be-shm-pci (pull request #247)
ipcpd: normal: Add operations to get and set the PCI
Diffstat (limited to 'src/ipcpd/normal/frct.h')
-rw-r--r--src/ipcpd/normal/frct.h29
1 files changed, 16 insertions, 13 deletions
diff --git a/src/ipcpd/normal/frct.h b/src/ipcpd/normal/frct.h
index 91b2dfc7..09873445 100644
--- a/src/ipcpd/normal/frct.h
+++ b/src/ipcpd/normal/frct.h
@@ -30,26 +30,29 @@
struct frct_i;
-int frct_init(struct dt_const * dtc,
- uint32_t address);
-int frct_fini();
+int frct_init(struct dt_const * dtc,
+ uint32_t address);
+int frct_fini();
+
+struct dt_const * frct_dt_const();
+
+int frct_dt_flow(int fd,
+ enum qos_cube qos);
-int frct_dt_flow(int fd,
- enum qos_cube qos);
/*
* FIXME: Will take the index in the DU map,
* possibly cep-ids and address
*/
-int frct_rmt_post();
+int frct_rmt_post();
-struct frct_i * frct_i_create(uint32_t address,
- buffer_t * buf,
- enum qos_cube cube);
+struct frct_i * frct_i_create(uint32_t address,
+ buffer_t * buf,
+ enum qos_cube cube);
/* FIXME: Hand QoS cube here too? We received it in the flow alloc message. */
-int frct_i_accept(struct frct_i * instance,
- buffer_t * buf);
-int frct_i_destroy(struct frct_i * instance,
- buffer_t * buf);
+int frct_i_accept(struct frct_i * instance,
+ buffer_t * buf);
+int frct_i_destroy(struct frct_i * instance,
+ buffer_t * buf);
/* FIXME: Add read/write ops for frct instances */