summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/shm_pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/normal/shm_pci.h')
-rw-r--r--src/ipcpd/normal/shm_pci.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/ipcpd/normal/shm_pci.h b/src/ipcpd/normal/shm_pci.h
index c1d823bf..17ce5cdd 100644
--- a/src/ipcpd/normal/shm_pci.h
+++ b/src/ipcpd/normal/shm_pci.h
@@ -25,8 +25,7 @@
#include <ouroboros/shm_rdrbuff.h>
#include <ouroboros/utils.h>
-
-#include "dt_const.h"
+#include <ouroboros/qos.h>
#define PDU_TYPE_MGMT 0x40
#define PDU_TYPE_DTP 0x80
@@ -45,19 +44,21 @@ struct pci {
uint32_t pdu_length;
uint64_t seqno;
uint8_t ttl;
- uint8_t flags;
};
+int shm_pci_init(void);
+
+void shm_pci_fini(void);
+
int shm_pci_ser(struct shm_du_buff * sdb,
struct pci * pci);
buffer_t * shm_pci_ser_buf(buffer_t * buf,
struct pci * pci);
-struct pci * shm_pci_des(struct shm_du_buff * sdb);
-
-int shm_pci_shrink(struct shm_du_buff * sdb);
+void shm_pci_des(struct shm_du_buff * sdb,
+ struct pci * pci);
-int shm_pci_dec_ttl(struct shm_du_buff * sdb);
+void shm_pci_shrink(struct shm_du_buff * sdb);
#endif /* OUROBOROS_IPCPD_NORMAL_SHM_PCI_H */