mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 01:51:51 +00:00
This types specifies a strict set of what is hidden behind the fd. Thus these numbers should be in the description of the fdinfo message. Plus protobuf makes shure nothing else will be there. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
19 lines
271 B
Protocol Buffer
19 lines
271 B
Protocol Buffer
enum fd_types {
|
|
UND = 0;
|
|
REG = 1;
|
|
PIPE = 2;
|
|
FIFO = 3;
|
|
INETSK = 4;
|
|
UNIXSK = 5;
|
|
EVENTFD = 6;
|
|
EVENTPOLL = 7;
|
|
INOTIFY = 8;
|
|
}
|
|
|
|
message fdinfo_entry {
|
|
required uint32 id = 1;
|
|
required uint32 flags = 2;
|
|
required fd_types type = 3;
|
|
required uint32 fd = 4;
|
|
}
|