Lines Matching defs:s_hostent
93 HOSTENT_STORAGE struct hostent s_hostent;
113 s_hostent.h_name = s_hostname;
115 s_hostent.h_aliases = &s_aliases;
116 s_hostent.h_addrtype = AF_INET;
117 s_hostent.h_length = sizeof(ip_addr_t);
118 s_hostent.h_addr_list = (char **)&s_phostent_addr;
122 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_name == %s\n", s_hostent.h_name));
123 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_aliases == %p\n", (void *)s_hostent.h_aliases));
125 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_addrtype == %d\n", s_hostent.h_addrtype));
126 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_length == %d\n", s_hostent.h_length));
127 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_addr_list == %p\n", (void *)s_hostent.h_addr_list));
128 if (s_hostent.h_addr_list != NULL) {
130 for (idx = 0; s_hostent.h_addr_list[idx]; idx++) {
137 /* this function should return the "per-thread" hostent after copy from s_hostent */
138 return sys_thread_hostent(&s_hostent);
140 return &s_hostent;