Joachim Worringen wrote:
> We are porting some drivers from Linux to Solaris.
>
> Within one driver, I need a way to get a list of all configured IP 
> interfaces (and their addresses). Basically, a list of "struct ifnet" 
> (but I read that this is legacy code?).
>
> What is the recommended way to get this information?
>
>   thanks, Joachim
>
>   
In user land one should be using libdlpi but there is no new interface 
for kernel access. check out  rds_verify_bind_address().

Rao.
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to