File: tun.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 (20 lines) | stat: -rw-r--r-- 420 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
// SPDX-License-Identifier: MIT

syntax = "proto2";

import "opts.proto";

message tunfile_entry {
	required uint32		id		= 1;
	optional string		netdev		= 2;
	optional bool		detached	= 3;
	optional uint32		ns_id		= 4;
};

message tun_link_entry {
	required uint32		flags		= 1 [(criu).hex = true];
	required int32		owner		= 2;
	required int32		group		= 3;
	required uint32		vnethdr		= 4;
	required uint32		sndbuf		= 5;
};