search for: btrfs_tlv_header

Displaying 1 result from an estimated 1 matches for "btrfs_tlv_header".

2012 Oct 12
9
[PATCH] Fits: tool to parse stream
...magic[sizeof(BTRFS_SEND_STREAM_MAGIC)]; + uint32_t version; +} __attribute__ ((__packed__)); + +struct btrfs_cmd_header { + /* len excluding the header */ + uint32_t len; + uint16_t cmd; + /* crc including the header with zero crc field */ + uint32_t crc; +} __attribute__ ((__packed__)); + +struct btrfs_tlv_header { + uint16_t tlv_type; + /* len excluding the header */ + uint16_t tlv_len; +} __attribute__ ((__packed__)); + +char *cmd_names[] = { + "UNSPEC", + "SUBVOL", + "SNAPSHOT", + "MKFILE", + "MKDIR", + "MKNOD", + "MKFIFO", + "MKS...