blob: 37cafb3b32d1aa30683ba9dee748f9c72fcfb7c5 (
plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
import "opts.proto";
import "tun.proto";
import "sysctl.proto";
enum nd_type {
LOOPBACK = 1;
VETH = 2;
TUN = 3;
/*
* External link -- for those CRIU only dumps and restores
* link parameters such as flags, address, MTU, etc. The
* existence of the link on restore should be provided
* by the setup-namespaces script.
*/
EXTLINK = 4;
/*
* Virtuozzo specific device.
*/
VENET = 5;
BRIDGE = 6;
}
message net_device_entry {
required nd_type type = 1;
required uint32 ifindex = 2;
required uint32 mtu = 3;
required uint32 flags = 4 [(criu).hex = true];
required string name = 5;
optional tun_link_entry tun = 6;
optional bytes address = 7;
repeated int32 conf = 8;
repeated sysctl_entry conf4 = 9;
repeated sysctl_entry conf6 = 10;
}
message netns_entry {
repeated int32 def_conf = 1;
repeated int32 all_conf = 2;
repeated sysctl_entry def_conf4 = 3;
repeated sysctl_entry all_conf4 = 4;
repeated sysctl_entry def_conf6 = 5;
repeated sysctl_entry all_conf6 = 6;
}
|