Home
last modified time | relevance | path

Searched refs:hstbuflen (Results 1 - 2 of 2) sorted by relevance

/kernel/liteos_m/components/net/lwip-2.1/porting/src/
H A Dapi_shell.c68 struct hostent *gethostnameinfo(const char *host, char *tmphstbuf, size_t hstbuflen);
252 struct hostent *gethostnameinfo(const char *host, char *tmphstbuf, size_t hstbuflen) in gethostnameinfo() argument
261 res = lwip_gethostbyname_r(host, &hostbuf, tmphstbuf, hstbuflen, &hp, &herr); in gethostnameinfo()
273 const size_t hstbuflen = 1024; in get_hostip() local
276 tmphstbuf = (char *)zalloc(sizeof(char) * hstbuflen); in get_hostip()
280 struct hostent *pent = gethostnameinfo(hname, tmphstbuf, hstbuflen); in get_hostip()
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
H A Dapi_shell.c1577 const size_t hstbuflen = 1024; local
1582 res = lwip_gethostbyname_r(host, &hostbuf, tmphstbuf, hstbuflen, &hp, &herr);

Completed in 6 milliseconds