Lines Matching refs:str
235 static char str[1024]; in dhcp_status_reply_to_string() local
243 (void) snprintf(str, sizeof (str), DHCP_STATUS_STR, in dhcp_status_reply_to_string()
248 (void) strlcat(str, "[PRIMARY] ", sizeof (str)); in dhcp_status_reply_to_string()
251 (void) strlcat(str, "[BOOTP] ", sizeof (str)); in dhcp_status_reply_to_string()
254 (void) strlcat(str, "[FAILED] ", sizeof (str)); in dhcp_status_reply_to_string()
257 (void) strlcat(str, "[BUSY] ", sizeof (str)); in dhcp_status_reply_to_string()
260 (void) strlcat(str, "[V6] ", sizeof (str)); in dhcp_status_reply_to_string()
262 (void) strlcat(str, "\n", sizeof (str)); in dhcp_status_reply_to_string()
270 return (str); in dhcp_status_reply_to_string()
273 (void) strlcat(str, "(Began, Expires, Renew) = (", sizeof (str)); in dhcp_status_reply_to_string()
274 (void) strlcat(str, time_to_string(status->if_began), sizeof (str)); in dhcp_status_reply_to_string()
275 (void) strlcat(str, ", ", 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()
277 (void) strlcat(str, ", ", 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()
279 (void) strlcat(str, ")\n", sizeof (str)); in dhcp_status_reply_to_string()
280 return (str); in dhcp_status_reply_to_string()