> just to make sure,
> what i actually need is the link state change detection.
> When the link is up or when the link goes down, would it be detected and
> triggered an interrupt?
Can you not use something similar to iproute2? It uses the netlink socket
to detect changes in routing table/link state change etc.
I think you do a recvmsg on the netlink socket and see if it is
a link state change. You can get more info on iproute2 at
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to email@example.com
This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:32 EST