30 #ifndef LIBSBP_FILE_IO_MESSAGES_H
31 #define LIBSBP_FILE_IO_MESSAGES_H
49 #define SBP_MSG_FILEIO_READ_REQ 0x00A8
50 typedef struct SBP_ATTR_PACKED {
66 #define SBP_MSG_FILEIO_READ_RESP 0x00A3
67 typedef struct SBP_ATTR_PACKED {
86 #define SBP_MSG_FILEIO_READ_DIR_REQ 0x00A9
87 typedef struct SBP_ATTR_PACKED {
104 #define SBP_MSG_FILEIO_READ_DIR_RESP 0x00AA
105 typedef struct SBP_ATTR_PACKED {
118 #define SBP_MSG_FILEIO_REMOVE 0x00AC
119 typedef struct SBP_ATTR_PACKED {
135 #define SBP_MSG_FILEIO_WRITE_REQ 0x00AD
136 typedef struct SBP_ATTR_PACKED {
152 #define SBP_MSG_FILEIO_WRITE_RESP 0x00AB
153 typedef struct SBP_ATTR_PACKED {
u32 sequence
Read sequence number.
u32 offset
Offset into the file at which to start writing in bytes [bytes].
u32 offset
The offset to skip the first n elements of the file list.
u32 sequence
Write sequence number.
u32 sequence
Read sequence number.
uint8_t u8
Unsigned 8-bit integer.
u32 sequence
Read sequence number.
u32 sequence
Read sequence number.
u32 offset
File offset [bytes].
u8 chunk_size
Chunk size to read [bytes].
uint32_t u32
Unsigned 32-bit integer.
u32 sequence
Write sequence number.