Home
last modified time | relevance | path

Searched refs:netif_name (Results 1 – 6 of 6) sorted by relevance

/components/drivers/wlan/
A Ddev_wlan_lwip.c184 char netif_name[RT_NAME_MAX]; in netif_set_connected() local
186 rt_memset(netif_name, 0, sizeof(netif_name)); in netif_set_connected()
187 rt_memcpy(netif_name, eth_dev->netif->name, sizeof(eth_dev->netif->name)); in netif_set_connected()
188 dhcpd_start(netif_name); in netif_set_connected()
207 char netif_name[RT_NAME_MAX]; in netif_set_connected() local
208 rt_memset(netif_name, 0, sizeof(netif_name)); in netif_set_connected()
210 dhcpd_stop(netif_name); in netif_set_connected()
512 char netif_name[RT_NAME_MAX]; in rt_wlan_lwip_protocol_unregister() local
513 rt_memset(netif_name, 0, sizeof(netif_name)); in rt_wlan_lwip_protocol_unregister()
514 rt_memcpy(netif_name, lwip_prot->eth.netif->name, sizeof(lwip_prot->eth.netif->name)); in rt_wlan_lwip_protocol_unregister()
[all …]
/components/net/lwip-dhcpd/
A Ddhcp_server.h46 void dhcpd_start(const char *netif_name);
47 void dhcpd_stop(const char *netif_name);
A Ddhcp_server_raw.c672 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()
[all …]
A Ddhcp_server.c528 void dhcpd_start(const char *netif_name) in dhcpd_start() argument
533 if (strlen(netif_name) > sizeof(netif->name)) in dhcpd_start()
540 if (strncmp(netif_name, netif->name, sizeof(netif->name)) == 0) in dhcpd_start()
546 rt_kprintf("network interface: %s not found!\r\n", netif_name); in dhcpd_start()
553 …extern void set_if(const char *netif_name, const char *ip_addr, const char *gw_addr, const char *n… in dhcpd_start()
557 set_if(netif_name, DHCPD_SERVER_IP, "0.0.0.0", "255.255.255.0"); in dhcpd_start()
/components/net/lwip/port/
A Dethernetif.c1019 void set_if(char* netif_name, char* ip_addr, char* gw_addr, char* nm_addr) in set_if() argument
1031 if(strlen(netif_name) > sizeof(netif->name)) in set_if()
1039 if(strncmp(netif_name, netif->name, sizeof(netif->name)) == 0) in set_if()
1045 rt_kprintf("network interface: %s not found!\r\n", netif_name); in set_if()
/components/legacy/usb/usbdevice/class/
A Decm.c234 extern void dhcpd_start(const char *netif_name); in _ecm_set_eth_packet_filter()

Completed in 12 milliseconds