Searched defs:ni_req (Results 1 - 1 of 1) sorted by relevance

/systemd/src/libsystemd/sd-resolve/
H A Dsd-resolve.c365 const NameInfoRequest *ni_req = &packet->nameinfo_request; local
371 assert(length == sizeof(NameInfoRequest) + ni_req->sockaddr_len);
372 assert(sizeof(sa) >= ni_req->sockaddr_len);
374 memcpy(&sa, (const uint8_t *) ni_req + sizeof(NameInfoRequest), ni_req->sockaddr_len);
376 ret = getnameinfo(&sa.sa, ni_req->sockaddr_len,
377 ni_req->gethost ? hostbuf : NULL, ni_req->gethost ? sizeof(hostbuf) : 0,
378 ni_req->getserv ? servbuf : NULL, ni_req
[all...]

Completed in 13 milliseconds