2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 01:51:51 +00:00
criu/images/packet-sock.proto
Adrian Reber eb5726c44a images: re-license as Expat license (so-called MIT)
This changes the license of all files in the images/ directory from
GPLv2 to the Expat license (so-called MIT).

According to git the files have been authored by:

   Abhishek Dubey
   Adrian Reber
   Alexander Mikhalitsyn
   Alice Frosi
   Andrei Vagin (Andrew Vagin, Andrey Vagin)
   Cyrill Gorcunov
   Dengguangxing
   Dmitry Safonov
   Guoyun Sun
   Kirill Tkhai
   Kir Kolyshkin
   Laurent Dufour
   Michael Holzheu
   Michał Cłapiński
   Mike Rapoport
   Nicolas Viennot
   Nikita Spiridonov
   Pavel Emelianov (Pavel Emelyanov)
   Pavel Tikhomirov
   Radostin Stoyanov
   rbruno@gsd.inesc-id.pt
   Sebastian Pipping
   Stanislav Kinsburskiy
   Tycho Andersen
   Valeriy Vdovin

The Expat license (so-called MIT) can be found here:
https://opensource.org/licenses/MIT

According to that link the correct SPDX short identifier is 'MIT'.

https://spdx.org/licenses/MIT.html

Signed-off-by: Adrian Reber <areber@redhat.com>
2021-09-03 10:31:00 -07:00

50 lines
1.2 KiB
Protocol Buffer

// SPDX-License-Identifier: MIT
syntax = "proto2";
import "opts.proto";
import "fown.proto";
import "sk-opts.proto";
message packet_mclist {
required uint32 index = 1;
required uint32 type = 2;
required bytes addr = 3;
}
message packet_ring {
required uint32 block_size = 1;
required uint32 block_nr = 2;
required uint32 frame_size = 3;
required uint32 frame_nr = 4;
required uint32 retire_tmo = 5;
required uint32 sizeof_priv = 6;
required uint32 features = 7;
}
message packet_sock_entry {
required uint32 id = 1;
required uint32 type = 2;
required uint32 protocol = 3;
required uint32 flags = 4 [(criu).hex = true];
required uint32 ifindex = 5;
required fown_entry fown = 6;
required sk_opts_entry opts = 7;
required uint32 version = 8;
required uint32 reserve = 9;
required bool aux_data = 10;
required bool orig_dev = 11;
required bool vnet_hdr = 12;
required bool loss = 13;
required uint32 timestamp = 14;
required uint32 copy_thresh = 15;
repeated packet_mclist mclist = 16;
optional uint32 fanout = 17 [ default = 0xffffffff ];
optional packet_ring rx_ring = 18;
optional packet_ring tx_ring = 19;
optional uint32 ns_id = 20;
}