Lines Matching refs:netif_name
670 extern void set_if(const char *netif_name, const char *ip_addr, const char *gw_addr, const char *nm…
672 void dhcpd_start(const char *netif_name) in dhcpd_start() argument
677 DEBUG_PRINTF("%s: %s\r\n", __FUNCTION__, netif_name); in dhcpd_start()
680 if (strlen(netif_name) > sizeof(netif->name)) in dhcpd_start()
688 if (strncmp(netif_name, netif->name, sizeof(netif->name)) == 0) in dhcpd_start()
694 DEBUG_PRINTF("network interface: %s not found!\r\n", netif_name); in dhcpd_start()
708 set_if(netif_name, DHCPD_SERVER_IP, "0.0.0.0", "255.255.255.0"); in dhcpd_start()
753 void dhcpd_stop(const char *netif_name) in dhcpd_stop() argument
759 DEBUG_PRINTF("%s: %s\r\n", __FUNCTION__, netif_name); in dhcpd_stop()
762 if (strlen(netif_name) > sizeof(netif->name)) in dhcpd_stop()
770 if (strncmp(netif_name, netif->name, sizeof(netif->name)) == 0) in dhcpd_stop()
776 DEBUG_PRINTF("network interface: %s not found!\r\n", netif_name); in dhcpd_stop()
828 set_if(netif_name, "0.0.0.0", "0.0.0.0", "0.0.0.0"); in dhcpd_stop()