Home
last modified time | relevance | path

Searched refs:addrinfo (Results 1 – 3 of 3) sorted by relevance

/lk-master/external/lib/lwip/include/lwip/
A Dnetdb.h83 struct addrinfo { struct
91 struct addrinfo *ai_next; /* Pointer to next in list. */ argument
103 void lwip_freeaddrinfo(struct addrinfo *ai);
106 const struct addrinfo *hints,
107 struct addrinfo **res);
113 #define freeaddrinfo(addrinfo) lwip_freeaddrinfo(addrinfo) argument
/lk-master/external/lib/lwip/api/
A Dnetdb.c236 lwip_freeaddrinfo(struct addrinfo *ai) in lwip_freeaddrinfo()
238 struct addrinfo *next; in lwip_freeaddrinfo()
268 const struct addrinfo *hints, struct addrinfo **res) in lwip_getaddrinfo()
272 struct addrinfo *ai; in lwip_getaddrinfo()
306 total_size = sizeof(struct addrinfo) + sizeof(struct sockaddr_in); in lwip_getaddrinfo()
315 ai = (struct addrinfo *)memp_malloc(MEMP_NETDB); in lwip_getaddrinfo()
320 sa = (struct sockaddr_in*)((u8_t*)ai + sizeof(struct addrinfo)); in lwip_getaddrinfo()
336 ai->ai_canonname = ((char*)ai + sizeof(struct addrinfo) + sizeof(struct sockaddr_in)); in lwip_getaddrinfo()
/lk-master/tools/
A Dnetwork.c18 struct addrinfo *info, *temp; in lookup_hostname()
21 struct addrinfo hints; in lookup_hostname()

Completed in 5 milliseconds