Lines Matching defs:new_srv
734 ilbd_hc_srv_t *new_srv;
737 if ((new_srv = calloc(1, sizeof (ilbd_hc_srv_t))) == NULL)
739 new_srv->shc_hc = hc;
740 new_srv->shc_hc_rule = hc_rule;
741 new_srv->shc_sg_srv = srv;
742 new_srv->shc_ev_port = ev_port;
743 new_srv->shc_tid = -1;
744 new_srv->shc_nexttime = time(NULL);
745 new_srv->shc_lasttime = new_srv->shc_nexttime;
749 new_srv->shc_status = ILB_HCS_UNINIT;
750 ret = ilbd_hc_restart_timer(hc, new_srv);
752 free(new_srv);
756 new_srv->shc_status = ILB_HCS_DISABLED;
759 list_insert_tail(&hc_rule->hcr_servers, new_srv);