criu/images/fdinfo.proto
Sebastian Pipping 78ab4a548f Add missing "proto2" syntax marker
.. to address protobuf 3.x proto-c warnings

Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-07-07 12:38:39 +03:00

29 lines
422 B
Protocol Buffer

syntax = "proto2";
enum fd_types {
UND = 0;
REG = 1;
PIPE = 2;
FIFO = 3;
INETSK = 4;
UNIXSK = 5;
EVENTFD = 6;
EVENTPOLL = 7;
INOTIFY = 8;
SIGNALFD = 9;
PACKETSK = 10;
TTY = 11;
FANOTIFY = 12;
NETLINKSK = 13;
NS = 14;
TUNF = 15;
EXT = 16;
TIMERFD = 17;
}
message fdinfo_entry {
required uint32 id = 1;
required uint32 flags = 2;
required fd_types type = 3;
required uint32 fd = 4;
}