Lines Matching defs:netif
46 err_t dhcp_is_bound(struct netif *netif)
50 LWIP_ERROR("netif != NULL", (netif != NULL), return ERR_ARG);
52 dhcp = netif_dhcp_data(netif);
53 LWIP_ERROR("netif->dhcp != NULL", (dhcp != NULL), return ERR_ARG);
63 static struct netif *netif_find_by_name(const char *name)
65 struct netif *netif = NULL;
70 NETIF_FOREACH(netif) {
71 if (strcmp("lo", name) == 0 && (netif->name[0] == 'l' && netif->name[1] == 'o')) {
73 return netif;
76 if (strcmp(netif->full_name, name) == 0) {
78 return netif;
91 msg->netif = netif_find_by_name(msg->msg.ifs.name);
95 struct netif *netifapi_netif_find_by_name(const char *name)
97 struct netif *netif = NULL;
100 NETIFAPI_VAR_REF(msg).netif = NULL;
104 return netif;
112 netif = msg.netif;
114 return netif;