diff options
author | Christian Pointner <equinox@anytun.org> | 2009-03-17 00:04:19 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2009-03-17 00:04:19 +0000 |
commit | 1e82eb471a90291cedd3d8039cf9e40b96733088 (patch) | |
tree | 39adab092bbcde4f79f519510ee85a69059f1e0c /src/datatypes.h | |
parent | removed role symmetric (useless) (diff) |
fixed endianess error at new label
Diffstat (limited to 'src/datatypes.h')
-rw-r--r-- | src/datatypes.h | 4 |
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_; |