Home
last modified time | relevance | path

Searched refs:isns (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.sbin/ctld/
H A Dctld.c124 struct isns *is, *istmp; in conf_delete()
712 struct isns *isns; in isns_new() local
714 isns = calloc(1, sizeof(*isns)); in isns_new()
715 if (isns == NULL) in isns_new()
717 isns->i_conf = conf; in isns_new()
718 TAILQ_INSERT_TAIL(&conf->conf_isns, isns, i_next); in isns_new()
719 isns->i_addr = checked_strdup(addr); in isns_new()
721 if (parse_addr_port(isns->i_addr, "3205", &isns->i_ai)) { in isns_new()
722 log_warnx("invalid iSNS address %s", isns->i_addr); in isns_new()
723 isns_delete(isns); in isns_new()
[all …]
H A Dctld.h189 struct isns { struct
190 TAILQ_ENTRY(isns) i_next;
203 TAILQ_HEAD(, isns) conf_isns; argument
296 void isns_delete(struct isns *is);
297 void isns_register(struct isns *isns, struct isns *oldisns);
298 void isns_check(struct isns *isns);
299 void isns_deregister(struct isns *isns);
H A Dtoken.l76 isns-server { return ISNS_SERVER; }
77 isns-period { return ISNS_PERIOD; }
78 isns-timeout { return ISNS_TIMEOUT; }
H A DMakefile8 SRCS= ctld.c conf.c discovery.c isns.c kernel.c