summaryrefslogtreecommitdiff
path: root/src/datatypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/datatypes.h')
-rw-r--r--src/datatypes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/datatypes.h b/src/datatypes.h
index a616dfe..3925f26 100644
--- a/src/datatypes.h
+++ b/src/datatypes.h
@@ -66,6 +66,10 @@ typedef u_int16_t mux_t;
#define MUX_T_NTOH(a) ntohs(a)
#define MUX_T_HTON(a) htons(a)
+typedef u_int32_t satp_prf_label_t;
+#define SATP_PRF_LABEL_T_NTOH(a) ntohl(a)
+#define SATP_PRF_LABEL_T_HTON(a) htonl(a)
+
struct buffer_struct {
u_int32_t length_;
u_int8_t* buf_;