Peter Memishian wrote:
>  > I would think that this should be use libdlpi functions, especially after 
>  > vanity naming, it should open the /dev/net nodes instead of /dev nodes. 
> But 
>  > it seems that today libdlpi doesn't seem to have routines to send M_IOCTL 
>  > messages.
>  > 
>  > Should I just use dlpi_fd() to get fd and send ioctl instead?
>
> That's the way we've done it in snoop and other programs that need to
> send ioctls.
>   
Yes,  use of dlpi_fd() would be the the way to send ioctls.

-Sagun


Reply via email to