Dominic Hamon created MESOS-1921:
------------------------------------

             Summary: Design and implement protobuf storage of IP addresses
                 Key: MESOS-1921
                 URL: https://issues.apache.org/jira/browse/MESOS-1921
             Project: Mesos
          Issue Type: Task
            Reporter: Dominic Hamon
            Assignee: Evelina Dumitrescu


We can use {{bytes}} type or statements like {{repeated uint32 data = 
4[packed=true];}}

{{string}} representations might add again some parsing overhead. An additional 
field might be necessary to specify the protocol family type (distinguish 
between IPv4/IPv6). For example, if we don't specify the family type we can't 
distinguish between these Ip addresses in the case of byte/array 
representation: 0:0:0:0:0:0:IPV4 and IPv4 (see 
http://tools.ietf.org/html/rfc4291#page-10)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to