mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
There are two places where we store IP addresses (both IPv4 and IPv6). Mark them with custom option and print them in compressed form for --pretty output. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Acked-by: Ruslan Kuprieiev <kupruser@gmail.com>
11 lines
344 B
Protocol Buffer
11 lines
344 B
Protocol Buffer
import "google/protobuf/descriptor.proto";
|
|
|
|
message CRIU_Opts {
|
|
optional bool hex = 1; // Idicate that CRIT should treat this field as hex.
|
|
optional bool ipadd = 2; // The field is IPv4/v6 address
|
|
}
|
|
|
|
extend google.protobuf.FieldOptions {
|
|
// Registered unique number to use for all kinds of custom options.
|
|
optional CRIU_Opts criu = 1018;
|
|
}
|