Searched refs:addrstr (Results 1 – 3 of 3) sorted by relevance
/net-tools-latest/tinydtls-0.8.2/tests/ |
D | dtls-server.c | 191 static char addrstr[256]; in resolve_address() local 194 memset(addrstr, 0, sizeof(addrstr)); in resolve_address() 196 memcpy(addrstr, server, strlen(server)); in resolve_address() 198 memcpy(addrstr, "localhost", 9); in resolve_address() 204 error = getaddrinfo(addrstr, "", &hints, &res); in resolve_address()
|
D | dtls-client.c | 245 static char addrstr[256]; in resolve_address() local 248 memset(addrstr, 0, sizeof(addrstr)); in resolve_address() 250 memcpy(addrstr, server, strlen(server)); in resolve_address() 252 memcpy(addrstr, "localhost", 9); in resolve_address() 258 error = getaddrinfo(addrstr, "", &hints, &res); in resolve_address()
|
/net-tools-latest/libcoap/examples/ |
D | client.c | 265 static char addrstr[256]; in resolve_address() local 268 memset(addrstr, 0, sizeof(addrstr)); in resolve_address() 270 memcpy(addrstr, server->s, server->length); in resolve_address() 272 memcpy(addrstr, "localhost", 9); in resolve_address() 278 error = getaddrinfo(addrstr, NULL, &hints, &res); in resolve_address()
|