|
|
|
|
@ -280,6 +280,11 @@ void netif_set_link_down(struct netif *netif);
|
|
|
|
|
void netif_set_link_callback(struct netif *netif, netif_status_callback_fn link_callback); |
|
|
|
|
#endif /* LWIP_NETIF_LINK_CALLBACK */ |
|
|
|
|
|
|
|
|
|
#if LWIP_NETIF_HOSTNAME |
|
|
|
|
#define netif_set_hostname(netif, name) do { if((netif) != NULL) { (netif)->hostname = name; }}while(0) |
|
|
|
|
#define netif_get_hostname(netif) (((netif) != NULL) ? ((netif)->hostname) : NULL) |
|
|
|
|
#endif /* LWIP_NETIF_HOSTNAME */ |
|
|
|
|
|
|
|
|
|
#if ENABLE_LOOPBACK |
|
|
|
|
err_t netif_loop_output(struct netif *netif, struct pbuf *p, ip_addr_t *dest_ip); |
|
|
|
|
void netif_poll(struct netif *netif); |
|
|
|
|
|