In the userland components, we currently encode the IP version we're using 
as either AF_INET or AF_INET6 (as defined in sys/socket.h), whereas the 
kernel module (common/inet/ilb/ilb.c) uses IPPROTO_IP and IPPROTO_IPV6 
(netinet/in.h).

Obviously :-(, the numeric values for those constants aren't the same, so 
I'm getting back an error when I try to create a rule in the kernel.

IMO the AF_* macros are the correct ones to use, and I'd suggest ilb.c be 
changed accordingly (I can do that too if Kacheong agrees), but I'm open to 
arguments :-)

Michael
-- 
Michael Schuster        http://blogs.sun.com/recursion
Recursion, n.: see 'Recursion'

Reply via email to