select() with Network device driver

From: Himanshu Agarwal (himanshu@india.tejasnetworks.com)
Date: Thu Mar 07 2002 - 04:36:23 EST


Hello,
          I am trying to do a select() on a net interface. I need
the poll functionality of a char driver. That is - I want the select
to block until a certain condition in the driver/hardware becomes
true. This condition is notified to me by the interrupt handler.

Can somebody point out to how the select() works for sockets. It goes
to the tcp_select() or udp_select() in the network subsystem. However

I want it to go to the net interface.

Pointers to related info would be helpful.

Thanks
Himanshu

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:01:01 EST