On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTKernel-32
RTFiles-32
RTIP-32
RTIP-32 Programming Manual
RTIP-32 Reference Manual
RTIP-32 Configuration
Socket API
Simplified Networking API
Extended RTIP-32 API
PPP
DHCP Client
DHCP Client Configuration
struct DHCP_conf
struct DHCP_param
struct DHCP_std_params
Function XN_REGISTER_DHCP_CLI
Function xn_dhcp
Function xn_dhcp_decline
Function xn_dhcp_release
Function xn_extend_dhcp_lease
Function xn_get_dhcp_op
Function xn_init_dhcp_conf
Function xn_set_dhcp_callback
Function cb_dhcp_new_ip_fnc
Function cb_dhcp_no_ip_fnc
DHCP Server
FTP Client
FTP Server
TFTP Client
TFTP Server
Telnet Client
Telnet Server
Web Server
SNMP Client
POP3 Client
SMTP Client
SNTP Client
SMB Server
SMB Client
SMB3 Server
SMB3 Client
WLAN Driver
Error Codes
RTPEG-32
RTUSB-32
|
struct DHCP_param
Using a custom configuration for xn_dhcp, one can request specific configuration parameters (i.e. DHCP options) from a DHCP server. These configuration parameters can be used in addition to or in place of the standard DHCP parameters. See the section struct DHCP_conf for more information. A list of configuration parameters is specified using an array of struct DHCP_param, which is declared as follows:
struct DHCP_param {
BYTE id;
BYTE prio;
};
The id field specifies which parameter is to be set. (See constants for the options in Dhcpcapi.h.; SUBNET_MASK, for example, or see the section standard DHCP parameters.) The prio field allows the assignment of a priority to this parameter. In the event of multiple server responses, parameter priorities are used to score each response and select the best one. Valid priorities are 0-99. Setting prio to 100 indicates that this parameter MUST be present in the server response, and any server responses without it should be rejected.
DHCP Client
struct DHCP_conf
struct DHCP_std_params
|