Lines Matching refs:error_string
549 const char *error_string; in dhcp_ipc_strerror() local
570 error_string = strerror(errno); in dhcp_ipc_strerror()
571 if (error_string == NULL) in dhcp_ipc_strerror()
572 error_string = "unknown error"; in dhcp_ipc_strerror()
575 syscalls[error], error_string); in dhcp_ipc_strerror()
577 error_string = buffer; in dhcp_ipc_strerror()
581 error_string = "out of memory"; in dhcp_ipc_strerror()
585 error_string = "wait timed out, operation still pending..."; in dhcp_ipc_strerror()
589 error_string = "interface does not exist or cannot be managed " in dhcp_ipc_strerror()
594 error_string = "internal error (might work later)"; in dhcp_ipc_strerror()
598 error_string = "permission denied"; in dhcp_ipc_strerror()
602 error_string = "interface not in appropriate state for command"; in dhcp_ipc_strerror()
606 error_string = "interface currently has a pending command " in dhcp_ipc_strerror()
611 error_string = "interface is administered with BOOTP, not DHCP"; in dhcp_ipc_strerror()
615 error_string = "unknown command"; in dhcp_ipc_strerror()
619 error_string = "interface is not under DHCP control"; in dhcp_ipc_strerror()
623 error_string = "ipc protocol violation"; in dhcp_ipc_strerror()
627 error_string = "interface is in a FAILED state and must be " in dhcp_ipc_strerror()
632 error_string = "primary interface requested but no primary " in dhcp_ipc_strerror()
637 error_string = "interface currently has no IP address"; in dhcp_ipc_strerror()
641 error_string = "interface is currently down"; in dhcp_ipc_strerror()
645 error_string = "no value was found for this option"; in dhcp_ipc_strerror()
649 error_string = "DHCP is already running"; in dhcp_ipc_strerror()
653 error_string = "DHCP server refused request"; in dhcp_ipc_strerror()
657 error_string = "ipc connection closed"; in dhcp_ipc_strerror()
661 error_string = "unknown error"; in dhcp_ipc_strerror()
669 return (error_string); in dhcp_ipc_strerror()