[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Interface status detection
I have written a small utility, ifup, which will tell you if any network
interface is up or down (connected or disconnected).
Now, what I really need is a way to get a notification when an
interface changes its status. Is there any way to do this under linux?
(Of course I can sleep() and continually check the interface's status,
but I dislike this approach- can you hear you cpu roasting? :))
Thanks to Alex Shnitman, Aviram Jenik and James Olin Oden for their
help!
--
Muli B.Y.
email: mulix@ibm.net
linux/reboot.h: #define LINUX_REBOOT_MAGIC1 0xfee1dead
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il