Lines Matching refs:serv
85 SERVER *serv; in set_option_srv() local
95 serv = (SERVER *) option->val; in set_option_srv()
97 for (i = 0; i < serv->max; i++) { in set_option_srv()
98 free(serv->name[i]); in set_option_srv()
100 serv->max = 0; in set_option_srv()
107 serv->port[serv->max] = atoi(q); in set_option_srv()
111 serv->port[serv->max] = PW_AUTH_UDP_PORT; in set_option_srv()
113 serv->port[serv->max] = ntohs ((unsigned int) svp->s_port); in set_option_srv()
116 serv->port[serv->max] = PW_ACCT_UDP_PORT; in set_option_srv()
118 serv->port[serv->max] = ntohs ((unsigned int) svp->s_port); in set_option_srv()
125 serv->name[serv->max++] = strdup(p); in set_option_srv()