2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00
Files
criu/protobuf/sk-unix.proto
Cyrill Gorcunov c9ea79db93 protobuf: Convert unix_sk_entry to PB engine v3
v2:
 - Use alloc_socket_opts/free_socket_opts helpers
 - Use pb_prep_fown helper
v3:
 - Add missing ui->name = NULL

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-07-19 09:32:55 +04:00

22 lines
529 B
Protocol Buffer

import "fown.proto";
import "sk-opts.proto";
message unix_sk_entry {
required uint32 id = 1;
required uint32 ino = 2;
required uint32 type = 3;
required uint32 state = 4;
required uint32 flags = 5;
required uint32 uflags = 6;
required uint32 backlog = 7;
required uint32 peer = 8;
required fown_entry fown = 9;
required sk_opts_entry opts = 10;
/*
* Abstract name may contain \0 at any point,
* so we need to carry it as byte sequence...
*/
required bytes name = 11;
}