Home
last modified time | relevance | path

Searched refs:h_max (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_sg.c753 in_port_t h_min, h_max; in export_srv_spec() local
757 h_max = ntohs(srv->sd_maxport); in export_srv_spec()
760 if (h_max <= h_min) in export_srv_spec()
763 inc = snprintf(buf+len, bufsz, ":%d-%d", h_min, h_max); in export_srv_spec()
H A Dilbadm_rules.c518 in_port_t h_min, h_max; in of_port2str() local
522 h_max = ntohs(maxport); in of_port2str()
528 if (h_max > h_min) in of_port2str()
529 (void) snprintf(buf + len, bufsize - len, "-%d", h_max); in of_port2str()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c753 int l_max, h_max; in findwhen() local
756 h_max = min(HMAX, sizeof (ll.ll_host)); in findwhen()
760 bcopy(ll.ll_host, pers->host, h_max); in findwhen()
761 pers->host[h_max] = '\0'; in findwhen()