version 1.2, 2015/07/02 22:28:14
|
version 1.3, 2016/08/08 13:21:13
|
Line 113 typedef struct {
|
Line 113 typedef struct {
|
uint16_t sess_version:8; |
uint16_t sess_version:8; |
uint16_t sess_instance:8; |
uint16_t sess_instance:8; |
#endif |
#endif |
} __packed rpc_sess_t; /* size == 2 bytes */ | } __attribute__((packed)) rpc_sess_t; /* size == 2 bytes */ |
|
|
/* Network RPC packet - Header */ |
/* Network RPC packet - Header */ |
|
|
Line 152 struct tagBLOBHdr {
|
Line 152 struct tagBLOBHdr {
|
uint32_t hdr_len; |
uint32_t hdr_len; |
uint32_t hdr_ret; |
uint32_t hdr_ret; |
uint8_t hdr_pad; |
uint8_t hdr_pad; |
} __packed; /* size == 16 bytes */ | } __attribute__((packed)); /* size == 16 bytes */ |
#define RPC_SET_BLOB_RET(x, _v) ((x)->hdr_ret = (uint32_t) htonl((_v))) |
#define RPC_SET_BLOB_RET(x, _v) ((x)->hdr_ret = (uint32_t) htonl((_v))) |
|
|
/* RPC BLOB types */ |
/* RPC BLOB types */ |