Searched refs:server_req (Results 1 – 1 of 1) sorted by relevance
1241 struct server_request *server_req = NULL; in request_parse() local1259 server_req = mm_malloc(sizeof(struct server_request)); in request_parse()1260 if (server_req == NULL) return -1; in request_parse()1261 memset(server_req, 0, sizeof(struct server_request)); in request_parse()1263 server_req->trans_id = trans_id; in request_parse()1264 memcpy(&server_req->addr, addr, addrlen); in request_parse()1265 server_req->addrlen = addrlen; in request_parse()1267 server_req->base.flags = flags; in request_parse()1268 server_req->base.nquestions = 0; in request_parse()1269 server_req->base.questions = mm_calloc(sizeof(struct evdns_server_question *), questions); in request_parse()[all …]