From 26c61695dd785c2a434b4c02a406a683c8386fcc Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Mon, 21 Oct 2024 21:31:22 -0600 Subject: wip dhcp --- libdhcp/include/libdhcp/dhcp.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libdhcp/include') diff --git a/libdhcp/include/libdhcp/dhcp.h b/libdhcp/include/libdhcp/dhcp.h index 6970748..4cdd2e2 100644 --- a/libdhcp/include/libdhcp/dhcp.h +++ b/libdhcp/include/libdhcp/dhcp.h @@ -112,12 +112,12 @@ typedef void (*dhcp_callback_t)(enum dhcp_event, struct dhcp_lease); * @brief return value of @ref DHCP_run() */ enum { - DHCP_FAILED = 0, ///< Processing Fail - DHCP_RUNNING, ///< Processing DHCP protocol - DHCP_IP_ASSIGN, ///< First Occupy IP from DHPC server (if cbfunc == null, act as default default_ip_assign) - DHCP_IP_CHANGED, ///< Change IP address by new ip from DHCP (if cbfunc == null, act as default default_ip_update) - DHCP_IP_LEASED, ///< Stand by - DHCP_STOPPED ///< Stop processing DHCP protocol + DHCP_RET_FAILED = 0, ///< Processing Fail + DHCP_RET_RUNNING, ///< Processing DHCP protocol + DHCP_RET_IP_ASSIGN, ///< First Occupy IP from DHPC server (if cbfunc == null, act as default default_ip_assign) + DHCP_RET_IP_CHANGED, ///< Change IP address by new ip from DHCP (if cbfunc == null, act as default default_ip_update) + DHCP_RET_IP_LEASED, ///< Stand by + DHCP_RET_STOPPED ///< Stop processing DHCP protocol }; /* -- cgit v1.2.3-2-g168b