mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-26 03:47:35 +00:00
These devices can be distinguished by type ETHER and kind "veth". Some problems with peer detection exists (described in comment), but we cannot handle them at the moment. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
13 lines
221 B
Protocol Buffer
13 lines
221 B
Protocol Buffer
enum nd_type {
|
|
LOOPBACK = 1;
|
|
VETH = 2;
|
|
}
|
|
|
|
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;
|
|
}
|