hello all-

i'm helping implement support for IPv6 in the Linux RPC server. i have a couple of naive questions about creating a listening socket on a kernel that has IPv6 support.

normally you will specify a sockaddr_in with address INADDR_ANY when setting up an IPv4 listener.

what address do you specify for creating an IPv6 listener? it looks like all zeroes is the right answer...?

if the host has both IPv4 and IPv6 addresses assigned to it, how should the RPC server determine whether to create an IPv6 listener or an IPv4 listener?

the specific code i'm attempting to update is net/sunrpc/svcsock.c:
svc_makesock().

thanks for any advice.
begin:vcard
fn:Chuck Lever
n:Lever;Chuck
org:Network Appliance, Incorporated;Open Source NFS Client Engineering
email;internet:[EMAIL PROTECTED]
title:Member of Technical Staff
x-mozilla-html:FALSE
url:http://www.monkey.org/~cel
version:2.1
end:vcard

Reply via email to