Home
last modified time | relevance | path

Searched refs:server_req (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/libevent/
Devdns.c965 struct server_request *server_req = NULL; in request_parse() local
978 server_req = malloc(sizeof(struct server_request)); in request_parse()
979 if (server_req == NULL) return -1; in request_parse()
980 memset(server_req, 0, sizeof(struct server_request)); in request_parse()
982 server_req->trans_id = trans_id; in request_parse()
983 memcpy(&server_req->addr, addr, addrlen); in request_parse()
984 server_req->addrlen = addrlen; in request_parse()
986 server_req->base.flags = flags; in request_parse()
987 server_req->base.nquestions = 0; in request_parse()
988 server_req->base.questions = malloc(sizeof(struct evdns_server_question *) * questions); in request_parse()
[all …]