Lines Matching defs:status
632 * dhcpv6_status_code(): report on a DHCPv6 status code found in an option
640 * output: int: -1 on error, or >= 0 for a DHCPv6 status code
647 uint16_t status;
666 *estr = "garbled status code";
673 (void) memcpy(&status, d6o + 1, sizeof (status));
674 status = ntohs(status);
675 if (status > 0) {
676 if (status > DHCPV6_STAT_NOPREFIX) {
677 (void) snprintf(sbuf, sizeof (sbuf), "status %u",
678 status);
681 *estr = v6_status[status];
684 return (status);