Lines Matching refs:namelen
168 size_t namelen; in lwip_gethostbyname_r() local
189 namelen = strlen(name); in lwip_gethostbyname_r()
190 if (buflen < (sizeof(struct gethostbyname_r_helper) + namelen + 1 + (MEM_ALIGNMENT - 1))) { in lwip_gethostbyname_r()
208 MEMCPY(hostname, name, namelen); in lwip_gethostbyname_r()
209 hostname[namelen] = 0; in lwip_gethostbyname_r()
276 size_t namelen = 0; in lwip_getaddrinfo() local
308 namelen = strlen(nodename); in lwip_getaddrinfo()
309 LWIP_ASSERT("namelen is too long", (namelen + 1) <= (mem_size_t)-1); in lwip_getaddrinfo()
310 total_size += namelen + 1; in lwip_getaddrinfo()
337 MEMCPY(ai->ai_canonname, nodename, namelen); in lwip_getaddrinfo()
338 ai->ai_canonname[namelen] = 0; in lwip_getaddrinfo()