[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ipv6 patch
>> The attached patches will make the following two changes:
>> - "configure" identifies IPv6 stack type by header files, link
>> appropriate library files.
>I have applied the patch, but it seems non-optimal to have a list of
>all known implementations. Is there any better way of doing this?
I believe there's no standard place for libinet6.a, we do something
like this until IPv6 is merged into all UNIXes. Sad thing is that
we can't use $host_id for this...
>> - bind AF_INET6 socket and AF_INET socket, for IPv6 implementations
>> without IPv6 "mapped addr".
>Applied. How common is it not to have "mapped addr"? I thought it
>was a required feature?
It really depend on TCP implementation in that stack. There are
several stacks exist. I think it is safer to do add_port() for both
ones (AF_INET6 and AF_INET), than assume that AF_INET6 will do the
trick.
itojun