|
Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.9.0.2
|
Data Structures | |
| struct | open_bootp_dhcp_t |
| struct | open_dhcp_option125_t |
| struct | open_dhcp_vendor_specific_option_t |
| struct | open_dhcp_vendor_sub_opt_t |
| struct | open_tlv_option_t |
Functions | |
| open_error_t | openapiDhcpClientDhcpServerIPAddrGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, open_inet_addr_t *serverAddr) |
| Get the DHCP Server IP Address on an interface. | |
| open_error_t | openapiDhcpClientIPAddrGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, open_inet_addr_t *clientAddr) |
| Get the DHCP Client IP Address on an interface. | |
| open_error_t | openapiDhcpClientNetMaskGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, open_inet_addr_t *netmask) |
| Get the DHCP Client subnet mask on an interface. | |
| open_error_t | openapiDhcpClientOptionsGet (openapiClientHandle_t *client_handle, open_bootp_dhcp_t *networkParams) |
| Get the DHCP Options returned by the DHCP Server. | |
| open_error_t openapiDhcpClientDhcpServerIPAddrGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| open_inet_addr_t * | serverAddr | ||
| ) |
Get the DHCP Server IP Address on an interface.
| [in] | client_handle | Client handle from registration API |
| [in] | intIfNum | Internal interface number of the entry |
| [out] | serverAddr | DHCP server IPv4 address |
| OPEN_E_NONE | if successfully |
| OPEN_E_FAIL | if get operation has failed |
| OPEN_E_PARAM | if invalid parameter is supplied |
OpEN API Version: 1.8
| open_error_t openapiDhcpClientIPAddrGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| open_inet_addr_t * | clientAddr | ||
| ) |
Get the DHCP Client IP Address on an interface.
| [in] | client_handle | Client handle from registration API |
| [in] | intIfNum | Internal interface number of the entry |
| [out] | clientAddr | DHCP client IPv4 address |
| OPEN_E_NONE | if successfully |
| OPEN_E_FAIL | if get operation has failed |
| OPEN_E_PARAM | if invalid parameter is supplied |
OpEN API Version: 1.8
| open_error_t openapiDhcpClientNetMaskGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| open_inet_addr_t * | netmask | ||
| ) |
Get the DHCP Client subnet mask on an interface.
| [in] | client_handle | Client handle from registration API |
| [in] | intIfNum | Internal interface number of the entry |
| [out] | netmask | Network mask |
| OPEN_E_NONE | if successfully |
| OPEN_E_FAIL | if get operation has failed |
| OPEN_E_PARAM | if invalid parameter is supplied |
OpEN API Version: 1.8
| open_error_t openapiDhcpClientOptionsGet | ( | openapiClientHandle_t * | client_handle, |
| open_bootp_dhcp_t * | networkParams | ||
| ) |
Get the DHCP Options returned by the DHCP Server.
| [out] | networkParams | DHCP Parameters |
| OPEN_E_NONE | if found |
| OPEN_E_FAIL | if not found |
| OPEN_E_PARAM | if invalid parameter is supplied |
OpEN API Version: 1.8