Nelson wrote:
> 
> hi,
> 
> 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
snafu.freedom.org


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to