I am trying to add a hook.
The functionality of the hook is to get the notification when a network interface card is on or off. On and off means having an active ip address or not. I don't want to check all the available ip addresses periodically. Instead, can I get notified when this happen?