I've written a steams module which does protocol packaging on data
packets - I have implemented a simple DLPI interface so that I can
link it into the IP multiplexer and have managed to link (I_PLINK) the
ip device to the module containing the stream.
HOWEVER when I try to use SIOCSIFNAME or SIOCSIFADDR ioctls I get
unknown device or filepath and unknown device or address errors - I've
scoped all the info in the DDK and SDK and can't see any problem with
what I'm doing. I've got debug code on the module (cmn_err logs) and
the only service routine called in the _init routine (when i modload
Other than this the module runs fine (when I intercept M_DATA messages
instead of DL_UNITDATA DLPI messages).
Has anybody out there tried this sort of thing ? - Has anybody out
there got any tips ?
I'm running Solaris 2.5 on an intel platform using sun proworks cc
Any help would be greatly appreciated