Searched refs:ttlstr (Results 1 - 4 of 4) sorted by relevance

/openbsd-current/usr.sbin/dhcpd/
H A Dsync.c122 char ifnam[IFNAMSIZ], *ttlstr; local
179 if ((ttlstr = strchr(ifnam, ':')) != NULL) {
180 *ttlstr++ = '\0';
181 ttl = (u_int8_t)strtonum(ttlstr, 1, UINT8_MAX, &errstr);
184 ttlstr, errstr);
/openbsd-current/libexec/spamd/
H A Dsync.c124 char ifnam[IFNAMSIZ], *ttlstr; local
182 if ((ttlstr = strchr(ifnam, ':')) != NULL) {
183 *ttlstr++ = '\0';
184 ttl = (u_int8_t)strtonum(ttlstr, 1, UINT8_MAX, &errstr);
187 ttlstr, errstr);
/openbsd-current/usr.sbin/nsd/
H A Dzonec.h119 uint32_t zparser_ttl2int(const char *ttlstr, int* error);
H A Dzonec.c1573 zparser_ttl2int(const char *ttlstr, int* error) argument
1583 ttl = strtottl(ttlstr, &t);
1585 zc_error_prev_line("invalid TTL value: %s",ttlstr);

Completed in 105 milliseconds