Lines Matching defs:hst
113 static struct host *hst = NULL;
2230 if ((hst = calloc(1, sizeof(*(hst)))) == NULL)
2233 if (strlcpy(hst->conf.name, $1.name,
2234 sizeof(hst->conf.name)) >= sizeof(hst->conf.name)) {
2236 free(hst);
2239 bcopy(&$1.ss, &hst->conf.ss, sizeof($1.ss));
2240 hst->conf.id = 0; /* will be set later */
2241 SLIST_INIT(&hst->children);
2243 $$ = hst;
2244 hst = NULL;
2257 if (hst->conf.retry) {
2265 hst->conf.retry = $2;
2268 if (hst->conf.parentid) {
2276 hst->conf.parentid = $2;
2279 if (hst->conf.priority) {
2287 hst->conf.priority = $2;
2290 if (hst->conf.ttl) {
2298 hst->conf.ttl = $3;