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

/systemd/src/libsystemd/sd-resolve/
H A Dsd-resolve.c129 size_t node_len, service_len; member in struct:AddrInfoRequest
345 assert(length == sizeof(AddrInfoRequest) + ai_req->node_len + ai_req->service_len);
353 service = ai_req->service_len ? (const char*) ai_req + sizeof(AddrInfoRequest) + ai_req->node_len : NULL;
961 req.service_len = service ? strlen(service)+1 : 0;
965 req.header.length = sizeof(AddrInfoRequest) + req.node_len + req.service_len;
979 iov[mh.msg_iovlen++] = (struct iovec) { .iov_base = (void*) service, .iov_len = req.service_len };

Completed in 39 milliseconds