[CRIU] Re: [PATCH 1/2] protobuf: proto-file example for IPC semaphores

Cyrill Gorcunov gorcunov at openvz.org
Fri May 25 02:32:20 EDT 2012


On Fri, May 25, 2012 at 10:21:15AM +0400, Pavel Emelyanov wrote:
> > +	required uint32 mode = 6;
> > +	required uint32 id = 7;
> > +	required bytes values=8;
> > +}
> 
> What do these numbers mean (=1, =2, etc)?

"As you can see, each field in the message definition has a unique numbered tag.
These tags are used to identify your fields in the message binary format, and
should not be changed once your message type is in use." (protobuf spec)

	Cyrill


More information about the CRIU mailing list