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