Lines Matching defs:nlst
486 struct hastd_listen *nlst, *clst;
516 TAILQ_FOREACH(nlst, &newcfg->hc_listen, hl_next) {
518 if (strcmp(nlst->hl_addr, clst->hl_addr) == 0)
523 nlst->hl_addr);
524 nlst->hl_conn = clst->hl_conn;
526 } else if (proto_server(nlst->hl_addr, &nlst->hl_conn) == 0) {
528 nlst->hl_addr);
532 "Unable to listen on address %s", nlst->hl_addr);
595 TAILQ_FOREACH(nlst, &newcfg->hc_listen, hl_next) {
596 if (strcmp(nlst->hl_addr, clst->hl_addr) == 0)
599 if (nlst == NULL && clst->hl_conn != NULL) {
702 while ((nlst = TAILQ_FIRST(&newcfg->hc_listen)) != NULL) {
703 if (nlst->hl_conn != NULL) {
705 if (strcmp(nlst->hl_addr,
711 proto_close(nlst->hl_conn);
713 TAILQ_REMOVE(&newcfg->hc_listen, nlst, hl_next);
714 free(nlst);