crit/images/tun.proto
raw| 1 | // SPDX-License-Identifier: MIT |
| 2 | |
| 3 | syntax = "proto2"; |
| 4 | |
| 5 | import "opts.proto"; |
| 6 | |
| 7 | message tunfile_entry { |
| 8 | required uint32 id = 1; |
| 9 | optional string netdev = 2; |
| 10 | optional bool detached = 3; |
| 11 | optional uint32 ns_id = 4; |
| 12 | }; |
| 13 | |
| 14 | message tun_link_entry { |
| 15 | required uint32 flags = 1 [(criu).hex = true]; |
| 16 | required int32 owner = 2; |
| 17 | required int32 group = 3; |
| 18 | required uint32 vnethdr = 4; |
| 19 | required uint32 sndbuf = 5; |
| 20 | }; |