eventhandler: Implement ifnet_link_event
authorAaron LI <aly@aaronly.me>
Mon, 25 Jun 2018 09:04:41 +0000 (17:04 +0800)
committerAaron LI <aly@aaronly.me>
Wed, 8 Aug 2018 08:43:32 +0000 (16:43 +0800)
commitbc1a39e222197cb9e98ed508f3994662d5d3fc75
tree130b056e19aad7c908941ad921e027886e4cce87
parentfcddd1b6c3b2924a8a022caf183b8f186e7d5cae
eventhandler: Implement ifnet_link_event

The "ifnet_link_event" is triggered by the change of the link state of
an interface.

Taken-from: FreeBSD
share/man/man9/EVENTHANDLER.9
sys/net/if.c
sys/net/if_var.h