File: fh.proto

package info (click to toggle)
golang-github-checkpoint-restore-go-criu 7.2.0%2Bds1-4
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 1,796 kB
  • sloc: makefile: 231; ansic: 195; python: 137; sh: 110
file content (25 lines) | stat: -rw-r--r-- 489 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// SPDX-License-Identifier: MIT

syntax = "proto2";

import "opts.proto";

enum fh_entry_sizes {
	min_entries			= 16;
}

message fh_entry {
	required uint32		bytes	= 1;
	required uint32		type	= 2;

	/* The minimum is fh_n_handle repetitions */
	repeated uint64		handle	= 3;
	optional string		path	= 4;
	optional uint32		mnt_id	= 5;
}

message irmap_cache_entry {
	required uint32		dev	= 1 [(criu).dev = true, (criu).odev = true];
	required uint64		inode	= 2;
	required string		path	= 3;
}