Lines Matching refs:status
237 dhcp_status_t *status; in dhcp_status_reply_to_string() local
239 status = dhcp_ipc_get_data(reply, &reply_size, NULL); in dhcp_status_reply_to_string()
244 status->if_name, dhcp_state_to_string(status->if_state), in dhcp_status_reply_to_string()
245 status->if_sent, status->if_recv, status->if_bad_offers); in dhcp_status_reply_to_string()
247 if (status->if_dflags & DHCP_IF_PRIMARY) in dhcp_status_reply_to_string()
250 if (status->if_dflags & DHCP_IF_BOOTP) in dhcp_status_reply_to_string()
253 if (status->if_dflags & DHCP_IF_FAILED) in dhcp_status_reply_to_string()
256 if (status->if_dflags & DHCP_IF_BUSY) in dhcp_status_reply_to_string()
259 if (status->if_dflags & DHCP_IF_V6) in dhcp_status_reply_to_string()
264 switch (status->if_state) { in dhcp_status_reply_to_string()
274 (void) strlcat(str, time_to_string(status->if_began), sizeof (str)); in dhcp_status_reply_to_string()
276 (void) strlcat(str, time_to_string(status->if_lease), sizeof (str)); in dhcp_status_reply_to_string()
278 (void) strlcat(str, time_to_string(status->if_t1), sizeof (str)); in dhcp_status_reply_to_string()