Dale Ghent wrote:
I have a kernel module (part of OpenAFS) which as part of its "choose
the best server to talk to" algorithm requires a list of active
interfaces along with their IP and netmask. To do this on Solaris, it
uses ILL_START_WALK_ALL()
Obviously, this is making use of a Private function. As a historical
reference, the pfil driver did something similar.
With the changes that went in for IP Instances (the Netstack
framework) the ILL_* interfaces changed and thus when s10u4 comes out,
OpenAFS can't continue to offer binary compat across all Solaris 10
permutations.
So, I'd like to re-implement this function in OpenAFS to use Public
interfaces as much as possible, but a cursory look around didn't
reveal anything apropos to doing so. Perhaps someone more familiar
could suggest something? If need be, this functionality of OpenAFS can
be moved out of kernel space and into userland... but if possible I'd
like to keep it in kernel.
Could you use the ddl_lyr routines for talking to /dev/ip and issuing
the ioctls from within the kernel?
Obviously, directly looking at the ILL structures is a bad, bad idea if
you care to be anything remotely like portable.
-- Garrett
TIA
/dale
_______________________________________________
networking-discuss mailing list
[email protected]
_______________________________________________
networking-discuss mailing list
[email protected]