Peter Memishian wrote:
>  > Suggestion on existing solutions still welcome...
> 
> Can you elaborate on why you need to do this within the kernel?
> 

Good point. I'm porting a driver (socket module) from Linux to Solaris.

The rationale to do it within the driver is that we need to know if 
interfaces are removed, added or have their address changed. On Linux, 
this can be done via some sort of hook (inetaddr_notifier_func_t), and 
we then change our internal structures accordingly.

Which brings me to the next question (now that the initial enumeration 
works within the Solaris kernel): how can such a 
callback-on-interface-event be implemented on Solaris?

  Joachim

-- 
Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
phone ++49/(0)228/324 08 17 - http://www.dolphinics.com
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to