mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-21 01:06:58 +00:00
All info about bound sockets are got via socket diag interface. All connected sockets are automatically bound. For other sockets only protocol must be dumped, which is got with help getsockopt. A netlink sockets with pending data are not supported yet and probably will not be supported in a near future. Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
23 lines
347 B
Protocol Buffer
23 lines
347 B
Protocol Buffer
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;
|
|
}
|
|
|
|
message fdinfo_entry {
|
|
required uint32 id = 1;
|
|
required uint32 flags = 2;
|
|
required fd_types type = 3;
|
|
required uint32 fd = 4;
|
|
}
|