On 5 mei 2011, at 19:41, Gerald Combs wrote:
> On 5/5/11 6:01 AM, Jakub Zawadzki wrote:
>> On Thu, May 05, 2011 at 02:01:06PM +0200, Jakub Zawadzki wrote:
>>> IMHO when IPv4-mapping is used the longest address is:
>>> :::255.255.255.255 (22B)
>>>
>>> Anyone knows inet_ntop(AF_INET6, ..) implem
On 5/5/11 6:01 AM, Jakub Zawadzki wrote:
> On Thu, May 05, 2011 at 02:01:06PM +0200, Jakub Zawadzki wrote:
>> IMHO when IPv4-mapping is used the longest address is:
>> :::255.255.255.255 (22B)
>>
>> Anyone knows inet_ntop(AF_INET6, ..) implementation which can actually use
>> 46 bytes?
>
> M
On Thu, May 05, 2011 at 02:01:06PM +0200, Jakub Zawadzki wrote:
> IMHO when IPv4-mapping is used the longest address is:
> :::255.255.255.255 (22B)
>
> Anyone knows inet_ntop(AF_INET6, ..) implementation which can actually use 46
> bytes?
Maybe some inet_ntop() implementation don't generate
Hi,
epan/ftypes/ftype_bytes.c:ipv6_repr_len() returns 39 which is length of:
":::::::"
But it's common to have INET6_ADDRSTRLEN defined to 46, which I believe is
length of "::::::255.255.255.255" + 1 byte for NUL.
IMHO when IPv4-mapping i