Embedded TCP/IP stack
4.1.0
|
fnet_link.h
61 typedef void(*fnet_link_callback_t)(fnet_netif_desc_t netif, fnet_bool_t connected, void *callback_param);
fnet_bool_t fnet_link_is_enabled(fnet_link_desc_t desc)
Detects if the Link-Detection service is enabled or disabled.
fnet_link_desc_t fnet_link_get_by_netif(fnet_netif_desc_t netif)
Looks for a Link-Detection service assigned to the specified network interface.
fnet_link_callback_t callback
Pointer to the callback function defined by fnet_link_callback_t.
Definition: fnet_link.h:69
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...
Definition: fnet_link.h:61
void * callback_param
Optional application-specific parameter. It's passed to the callback function as input parameter...
Definition: fnet_link.h:70
Initialization parameters for the fnet_llmnr_init() function.
Definition: fnet_link.h:66
fnet_link_desc_t fnet_link_init(struct fnet_link_params *params)
Initializes the Link-Detection service.
fnet_netif_desc_t netif_desc
Network interface descriptor to be monitored by the Link-Detection service.
Definition: fnet_link.h:68
© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net