Lines Matching defs:qinfo
550 vrrp_queryinfo_t *qinfo = arg;
552 uint32_t in_cnt = qinfo->show_va.va_vipcnt;
560 len = read(sock, (char *)qinfo + cur_size, total - cur_size);
570 out_cnt = qinfo->show_va.va_vipcnt;
582 len = read(sock, (char *)qinfo + cur_size, total - cur_size);
602 vrrp_queryinfo_t *qinfo;
625 if ((qinfo = malloc(size)) == NULL) {
630 qinfo->show_va.va_vipcnt = vipcnt;
631 err = vrrp_cmd_request(&cmd, sizeof (cmd), vrrp_query_func, qinfo);
633 free(qinfo);
641 if (qinfo->show_va.va_vipcnt > vipcnt) {
642 vipcnt = qinfo->show_va.va_vipcnt;
643 free(qinfo);
647 *vqp = qinfo;