Re: PF_INET6 on non-ipv6 kernels

Alan Cox (
Tue, 30 Mar 1999 19:07:03 +0100 (BST)

> My request is to enable the IPv6 API whenever the IPv4 code is enabled.

The glibc interfaces dont change according to the kernel configuration.
The kernel simply turns down PF_INET sockets and returns the appropriate
errors. So any kernel with glibc 2.1 can do AAAA record resolution and has
useful stuff like the posix getaddrinfo().

> the comatibility layer at compile time. Having to make this choice at
> runtime makes code inefficient and hard to maintain.

Sounds like an application design bug.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at