A minor correction to my earlier message when I said "ddi_lyr"... the
functions are called "ldi_xxx" (for various values of "xxx"). For
example, look at ldi_ioctl.
These are layered driver functions. (At one point I thought they were
called by functions named "ddi_lyr_xxx" but I guess that's not what they
are now.)
-- Garrett
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.
TIA
/dale
_______________________________________________
networking-discuss mailing list
[email protected]
_______________________________________________
networking-discuss mailing list
[email protected]