mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-20 16:51:37 +00:00
This kind of netdevice will serve for external links such as venet, macvlan/vlan and etc. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
26 lines
553 B
Protocol Buffer
26 lines
553 B
Protocol Buffer
import "tun.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;
|
|
}
|
|
|
|
message net_device_entry {
|
|
required nd_type type = 1;
|
|
required uint32 ifindex = 2;
|
|
required uint32 mtu = 3;
|
|
required uint32 flags = 4;
|
|
required string name = 5;
|
|
|
|
optional tun_link_entry tun = 6;
|
|
|
|
optional bytes address = 7;
|
|
}
|