Embedded TCP/IP stack  4.7.0

◆ fnet_link_callback_t

typedef void(* fnet_link_callback_t) (fnet_netif_desc_t netif, fnet_bool_t connected, void *callback_param)

Link-Detection event handler callback function prototype, which is called when a networking interface has changed its link status from connected stae to disconnected or vice versa.

Parameters
netifNetwork interface descriptor.
connectedLink status of the network interface.
callback_paramUser-application specific parameter. It's set during the fnet_link_init() call.
See also
fnet_link_init()

Definition at line 61 of file fnet_link.h.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net