Searched refs:node_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);
352 node = ai_req->node_len ? (const char*) ai_req + sizeof(AddrInfoRequest) : NULL;
353 service = ai_req->service_len ? (const char*) ai_req + sizeof(AddrInfoRequest) + ai_req->node_len : NULL;
960 req.node_len = node ? strlen(node)+1 : 0;
965 req.header.length = sizeof(AddrInfoRequest) + req.node_len + req.service_len;
977 iov[mh.msg_iovlen++] = (struct iovec) { .iov_base = (void*) node, .iov_len = req.node_len };

Completed in 1514 milliseconds