criu/protobuf/opts.proto
Pavel Emelyanov 9ebb3738b2 crit: Print IP addresses in pretty mode
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>
2015-01-29 18:47:30 +03:00

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;
}