Lines Matching defs:status
229 * input: dhcp_reply_t *: contains the status structure to print
237 dhcp_status_t *status;
239 status = dhcp_ipc_get_data(reply, &reply_size, NULL);
241 return ("<Internal error: status msg size>\n");
244 status->if_name, dhcp_state_to_string(status->if_state),
245 status->if_sent, status->if_recv, status->if_bad_offers);
247 if (status->if_dflags & DHCP_IF_PRIMARY)
250 if (status->if_dflags & DHCP_IF_BOOTP)
253 if (status->if_dflags & DHCP_IF_FAILED)
256 if (status->if_dflags & DHCP_IF_BUSY)
259 if (status->if_dflags & DHCP_IF_V6)
264 switch (status->if_state) {
274 (void) strlcat(str, time_to_string(status->if_began), sizeof (str));
276 (void) strlcat(str, time_to_string(status->if_lease), sizeof (str));
278 (void) strlcat(str, time_to_string(status->if_t1), sizeof (str));