Debian Codegraph @

crit/images/regfile.proto

raw
1 // SPDX-License-Identifier: MIT
2
3 syntax = "proto2";
4
5 import "opts.proto";
6 import "fown.proto";
7
8 message reg_file_entry {
9 required uint32 id = 1;
10 required uint32 flags = 2 [(criu).flags = "rfile.flags"];
11 required uint64 pos = 3;
12 required fown_entry fown = 5;
13 required string name = 6;
14 optional sint32 mnt_id = 7 [default = -1];
15 optional uint64 size = 8;
16 optional bool ext = 9;
17 optional uint32 mode = 10;
18
19 /* This field stores the build-ID of the file if it could be obtained. */
20 repeated uint32 build_id = 11;
21
22 /* This field stores the CRC32C checksum of the file if it could be obtained. */
23 optional uint32 checksum = 12;
24
25 /*
26 * This field stores the configuration of bytes which were used in the
27 * calculation of the checksum, if it could be obtained.
28 */
29 optional uint32 checksum_config = 13;
30
31 /*
32 * This field stores the checksum parameter if it was used in the calculation
33 * of the checksum, if it could be obtained.
34 */
35 optional uint32 checksum_parameter = 14;
36 }