...
...
...
...
...
...
#define NXD_DHCP_CLIENT_H
#include "nx_api.h"
#include "nx_udp.h"
#include "nx_ip.h"
#define NX_DHCP_ID
#define NX_DHCP_THREAD_STACK_SIZE
#define NX_DHCP_CLIENT_MAX_RECORDS
#define NX_DHCP_THREAD_PRIORITY
#define NX_DHCP_TIME_INTERVAL
#define NX_DHCP_CLIENT_MAX_USER_REQUEST_PARAMETER
#define NX_DHCP_OPTIONS_BUFFER_SIZE
#define NX_BOOT_CLIENT_BUFFER_SIZE
#define NX_DHCP_MINIMUM_IP_DATAGRAM
#define NX_DHCP_PACKET_PAYLOAD
#define NX_DHCP_PACKET_POOL_SIZE
#define NX_DHCP_MIN_RETRANS_TIMEOUT
#define NX_DHCP_MAX_RETRANS_TIMEOUT
#define NX_DHCP_MIN_RENEW_TIMEOUT
#define NX_DHCP_TYPE_OF_SERVICE
#define NX_DHCP_FRAGMENT_OPTION
#define NX_DHCP_TIME_TO_LIVE
#define NX_DHCP_QUEUE_DEPTH
#define NX_DHCP_ARP_PROBE_WAIT
#define NX_DHCP_ARP_PROBE_NUM
#define NX_DHCP_ARP_PROBE_MIN
#define NX_DHCP_ARP_PROBE_MAX
#define NX_DHCP_RESTART_WAIT
#define NX_BOOTP_OFFSET_OP
#define NX_BOOTP_OFFSET_HTYPE
#define NX_BOOTP_OFFSET_HLEN
#define NX_BOOTP_OFFSET_HOPS
#define NX_BOOTP_OFFSET_XID
#define NX_BOOTP_OFFSET_SECS
#define NX_BOOTP_OFFSET_FLAGS
#define NX_BOOTP_OFFSET_CLIENT_IP
#define NX_BOOTP_OFFSET_YOUR_IP
#define NX_BOOTP_OFFSET_SERVER_IP
#define NX_BOOTP_OFFSET_GATEWAY_IP
#define NX_BOOTP_OFFSET_CLIENT_HW
#define NX_BOOTP_OFFSET_SERVER_NM
#define NX_BOOTP_OFFSET_BOOT_FILE
#define NX_BOOTP_OFFSET_VENDOR
#define NX_BOOTP_OFFSET_OPTIONS
#define NX_BOOTP_OFFSET_END
#define NX_DHCP_OPTION_PAD
#define NX_DHCP_OPTION_PAD_SIZE
#define NX_DHCP_OPTION_SUBNET_MASK
#define NX_DHCP_OPTION_SUBNET_MASK_SIZE
#define NX_DHCP_OPTION_TIME_OFFSET
#define NX_DHCP_OPTION_TIME_OFFSET_SIZE
#define NX_DHCP_OPTION_GATEWAYS
#define NX_DHCP_OPTION_TIMESVR
#define NX_DHCP_OPTION_DNS_SVR
#define NX_DHCP_OPTION_HOST_NAME
#define NX_DHCP_OPTION_DNS_NAME
#define NX_DHCP_OPTION_NTP_SVR
#define NX_DHCP_OPTION_VENDOR_OPTIONS
#define NX_DHCP_OPTION_DHCP_IP_REQ
#define NX_DHCP_OPTION_DHCP_IP_REQ_SIZE
#define NX_DHCP_OPTION_DHCP_LEASE
#define NX_DHCP_OPTION_DHCP_LEASE_SIZE
#define NX_DHCP_OPTION_DHCP_TYPE
#define NX_DHCP_OPTION_DHCP_TYPE_SIZE
#define NX_DHCP_OPTION_DHCP_SERVER
#define NX_DHCP_OPTION_DHCP_SERVER_SIZE
#define NX_DHCP_OPTION_DHCP_PARAMETERS
#define NX_DHCP_OPTION_DHCP_MESSAGE
#define NX_DHCP_OPTION_MAX_DHCP_MESSAGE
#define NX_DHCP_OPTION_RENEWAL
#define NX_DHCP_OPTION_RENEWAL_SIZE
#define NX_DHCP_OPTION_REBIND
#define NX_DHCP_OPTION_REBIND_SIZE
#define NX_DHCP_OPTION_CLIENT_ID
#define NX_DHCP_OPTION_CLIENT_ID_SIZE
#define NX_DHCP_OPTION_FDQN
#define NX_DHCP_OPTION_FDQN_FLAG_N
#define NX_DHCP_OPTION_FDQN_FLAG_E
#define NX_DHCP_OPTION_FDQN_FLAG_O
#define NX_DHCP_OPTION_FDQN_FLAG_S
#define NX_DHCP_OPTION_END
#define NX_DHCP_OPTION_END_SIZE
#define NX_DHCP_SERVER_UDP_PORT
#define NX_DHCP_SERVER_TCP_PORT
#define NX_DHCP_CLIENT_UDP_PORT
#define NX_DHCP_CLIENT_TCP_PORT
#define NX_BOOTP_OP_REQUEST
#define NX_BOOTP_OP_REPLY
#define NX_BOOTP_TYPE_ETHERNET
#define NX_BOOTP_HLEN_ETHERNET
#define NX_BOOTP_FLAGS_BROADCAST
#define NX_BOOTP_FLAGS_UNICAST
#define NX_BOOTP_MAGIC_COOKIE
#define NX_BOOTP_NO_ADDRESS
#define NX_BOOTP_BC_ADDRESS
#define NX_AUTO_IP_ADDRESS
#define NX_AUTO_IP_ADDRESS_MASK
#define NX_DHCP_INFINITE_LEASE
#define NX_DHCP_TYPE_DHCPDISCOVER
#define NX_DHCP_TYPE_DHCPOFFER
#define NX_DHCP_TYPE_DHCPREQUEST
#define NX_DHCP_TYPE_DHCPDECLINE
#define NX_DHCP_TYPE_DHCPACK
#define NX_DHCP_TYPE_DHCPNACK
#define NX_DHCP_TYPE_DHCPRELEASE
#define NX_DHCP_TYPE_DHCPINFORM
#define NX_DHCP_TYPE_DHCPFORCERENEW
#define NX_DHCP_TYPE_BOOT_REQUEST
#define NX_DHCP_STATE_NOT_STARTED
#define NX_DHCP_STATE_BOOT
#define NX_DHCP_STATE_INIT
#define NX_DHCP_STATE_SELECTING
#define NX_DHCP_STATE_REQUESTING
#define NX_DHCP_STATE_BOUND
#define NX_DHCP_STATE_RENEWING
#define NX_DHCP_STATE_REBINDING
#define NX_DHCP_STATE_FORCERENEW
#define NX_DHCP_STATE_ADDRESS_PROBING
#define NX_DHCP_ERROR
#define NX_DHCP_NO_RESPONSE
#define NX_DHCP_BAD_IP_ADDRESS
#define NX_DHCP_ALREADY_STARTED
#define NX_DHCP_NOT_BOUND
#define NX_DHCP_DEST_TO_SMALL
#define NX_DHCP_NOT_STARTED
#define NX_DHCP_PARSE_ERROR
#define NX_DHCP_BAD_XID
#define NX_DHCP_BAD_MAC_ADDRESS
#define NX_DHCP_INVALID_MESSAGE
#define NX_DHCP_INVALID_PAYLOAD
#define NX_DHCP_INVALID_IP_REQUEST
#define NX_DHCP_UNKNOWN_OPTION
#define NX_DHCP_INTERFACE_ALREADY_ENABLED
#define NX_DHCP_INTERFACE_NOT_ENABLED
#define NX_DHCP_NO_INTERFACES_ENABLED
#define NX_DHCP_NO_INTERFACES_STARTED
#define NX_DHCP_NO_RECORDS_AVAILABLE
#define NX_DHCP_INVALID_NAME
#define NX_DHCP_CLIENT_RECEIVE_EVENT
#define NX_DHCP_CLIENT_TIMER_EVENT
#define NX_DHCP_CLIENT_CONFLICT_EVENT
#define NX_DHCP_CLIENT_ALL_EVENTS
NX_DHCP_INTERFACE_RECORD_STRUCT
nx_dhcp_record_valid
nx_dhcp_state
nx_dhcp_user_option
reserved
nx_dhcp_xid
nx_dhcp_seconds
nx_dhcp_ip_address
nx_dhcp_gateway_address
nx_dhcp_server_ip
nx_dhcp_network_mask
nx_dhcp_interface_index
nx_dhcp_timeout
nx_dhcp_rtr_interval
nx_dhcp_lease_remain_time
nx_dhcp_lease_time
nx_dhcp_renewal_time
nx_dhcp_rebind_time
nx_dhcp_renewal_remain_time
nx_dhcp_rebind_remain_time
nx_dhcp_clear_broadcast
nx_dhcp_skip_discovery
nx_dhcp_options_buffer
nx_dhcp_options_size
nx_dhcp_internal_errors
nx_dhcp_discoveries_sent
nx_dhcp_offers_received
nx_dhcp_requests_sent
nx_dhcp_acks_received
nx_dhcp_nacks_received
nx_dhcp_releases_sent
nx_dhcp_declines_sent
nx_dhcp_force_renewal_rec
nx_dhcp_informs_sent
nx_dhcp_inform_responses
NX_DHCP_STRUCT
nx_dhcp_id
nx_dhcp_name
nx_dhcp_ip_ptr
nx_dhcp_pool
nx_dhcp_pool_area
nx_dhcp_packet_pool_ptr
nx_dhcp_socket
nx_dhcp_thread
nx_dhcp_thread_stack
nx_dhcp_mutex
nx_dhcp_events
nx_dhcp_timer
nx_dhcp_interface_record
nx_dhcp_user_request_parameter
nx_dhcp_user_request_parameter_size
nx_dhcp_state_change_callback
nx_dhcp_interface_state_change_callback
nx_dhcp_user_option_add
nx_dhcp_created_next
nx_dhcp_reserved_ptr
#define nx_dhcp_create
#define nx_dhcp_packet_pool_set
#define nx_dhcp_request_client_ip
#define nx_dhcp_delete
#define nx_dhcp_decline
#define nx_dhcp_force_renew
#define nx_dhcp_release
#define nx_dhcp_start
#define nx_dhcp_stop
#define nx_dhcp_server_address_get
#define nx_dhcp_state_change_notify
#define nx_dhcp_user_option_request
#define nx_dhcp_user_option_retrieve
#define nx_dhcp_user_option_convert
#define nx_dhcp_user_option_add_callback_set
#define nx_dhcp_reinitialize
#define nx_dhcp_send_request
#define nx_dhcp_set_interface_index
#define nx_dhcp_clear_broadcast_flag
#define nx_dhcp_interface_clear_broadcast_flag
#define nx_dhcp_interface_enable
#define nx_dhcp_interface_disable
#define nx_dhcp_interface_decline
#define nx_dhcp_interface_force_renew
#define nx_dhcp_interface_reinitialize
#define nx_dhcp_interface_release
#define nx_dhcp_interface_request_client_ip
#define nx_dhcp_interface_start
#define nx_dhcp_interface_stop
#define nx_dhcp_interface_send_request
#define nx_dhcp_interface_server_address_get
#define nx_dhcp_interface_state_change_notify
#define nx_dhcp_interface_user_option_retrieve
#define nx_dhcp_resume
#define nx_dhcp_suspend
#define nx_dhcp_client_get_record
#define nx_dhcp_client_restore_record
#define nx_dhcp_client_update_time_remaining
#define nx_dhcp_client_interface_get_record
#define nx_dhcp_client_interface_restore_record
#define nx_dhcp_client_interface_update_time_remaining
#define nx_dhcp_create
#define nx_dhcp_packet_pool_set
#define nx_dhcp_request_client_ip
#define nx_dhcp_delete
#define nx_dhcp_decline
#define nx_dhcp_force_renew
#define nx_dhcp_release
#define nx_dhcp_start
#define nx_dhcp_stop
#define nx_dhcp_server_address_get
#define nx_dhcp_state_change_notify
#define nx_dhcp_user_option_request
#define nx_dhcp_user_option_retrieve
#define nx_dhcp_user_option_convert
#define nx_dhcp_user_option_add_callback_set
#define nx_dhcp_reinitialize
#define nx_dhcp_send_request
#define nx_dhcp_set_interface_index
#define nx_dhcp_clear_broadcast_flag
#define nx_dhcp_interface_clear_broadcast_flag
#define nx_dhcp_interface_enable
#define nx_dhcp_interface_disable
#define nx_dhcp_interface_decline
#define nx_dhcp_interface_force_renew
#define nx_dhcp_interface_reinitialize
#define nx_dhcp_interface_release
#define nx_dhcp_interface_request_client_ip
#define nx_dhcp_interface_start
#define nx_dhcp_interface_stop
#define nx_dhcp_interface_send_request
#define nx_dhcp_interface_server_address_get
#define nx_dhcp_interface_state_change_notify
#define nx_dhcp_interface_user_option_retrieve
#define nx_dhcp_resume
#define nx_dhcp_suspend
#define nx_dhcp_client_get_record
#define nx_dhcp_client_restore_record
#define nx_dhcp_client_update_time_remaining
#define nx_dhcp_client_interface_get_record
#define nx_dhcp_client_interface_restore_record
#define nx_dhcp_client_interface_update_time_remaining
_nxe_dhcp_create(NX_DHCP *, NX_IP *, CHAR *);
_nx_dhcp_create(NX_DHCP *, NX_IP *, CHAR *);
_nxe_dhcp_packet_pool_set(NX_DHCP *, NX_PACKET_POOL *);
_nx_dhcp_packet_pool_set(NX_DHCP *, NX_PACKET_POOL *);
_nxe_dhcp_request_client_ip(NX_DHCP *, ULONG, UINT);
_nx_dhcp_request_client_ip(NX_DHCP *, ULONG, UINT);
_nxe_dhcp_delete(NX_DHCP *);
_nx_dhcp_delete(NX_DHCP *);
_nxe_dhcp_decline(NX_DHCP *);
_nx_dhcp_decline(NX_DHCP *);
_nxe_dhcp_force_renew(NX_DHCP *);
_nx_dhcp_force_renew(NX_DHCP *);
_nxe_dhcp_release(NX_DHCP *);
_nx_dhcp_release(NX_DHCP *);
_nxe_dhcp_start(NX_DHCP *);
_nx_dhcp_start(NX_DHCP *);
_nxe_dhcp_stop(NX_DHCP *);
_nx_dhcp_stop(NX_DHCP *);
_nxe_dhcp_server_address_get(NX_DHCP *, ULONG *);
_nx_dhcp_server_address_get(NX_DHCP *, ULONG *);
_nxe_dhcp_state_change_notify(NX_DHCP *, void (*)(NX_DHCP *, UCHAR));
_nx_dhcp_state_change_notify(NX_DHCP *, void (*)(NX_DHCP *, UCHAR));
_nxe_dhcp_user_option_request(NX_DHCP *, UINT);
_nx_dhcp_user_option_request(NX_DHCP *, UINT);
_nxe_dhcp_user_option_retrieve(NX_DHCP *, UINT, UCHAR *, UINT *);
_nx_dhcp_user_option_retrieve(NX_DHCP *, UINT, UCHAR *, UINT *);
_nxe_dhcp_user_option_convert(UCHAR *);
_nx_dhcp_user_option_convert(UCHAR *);
_nxe_dhcp_reinitialize(NX_DHCP *);
_nx_dhcp_reinitialize(NX_DHCP *);
_nxe_dhcp_send_request(NX_DHCP *, UINT);
_nx_dhcp_send_request(NX_DHCP *, UINT);
_nxe_dhcp_set_interface_index(NX_DHCP *, UINT);
_nx_dhcp_set_interface_index(NX_DHCP *, UINT);
_nxe_dhcp_clear_broadcast_flag(NX_DHCP *, UINT);
_nx_dhcp_clear_broadcast_flag(NX_DHCP *, UINT);
_nxe_dhcp_user_option_add_callback_set(NX_DHCP *, UINT (*)(NX_DHCP *, UINT, UINT, UCHAR *, UINT *));
_nx_dhcp_user_option_add_callback_set(NX_DHCP *, UINT (*)(NX_DHCP *, UINT, UINT, UCHAR *, UINT *));
_nxe_dhcp_interface_clear_broadcast_flag(NX_DHCP *, UINT, UINT);
_nx_dhcp_interface_clear_broadcast_flag(NX_DHCP *, UINT, UINT);
_nxe_dhcp_interface_enable(NX_DHCP *, UINT);
_nx_dhcp_interface_enable(NX_DHCP *, UINT);
_nxe_dhcp_interface_disable(NX_DHCP *, UINT);
_nx_dhcp_interface_disable(NX_DHCP *, UINT);
_nxe_dhcp_interface_decline(NX_DHCP *, UINT);
_nx_dhcp_interface_decline(NX_DHCP *, UINT);
_nxe_dhcp_interface_force_renew(NX_DHCP *, UINT);
_nx_dhcp_interface_force_renew(NX_DHCP *, UINT);
_nxe_dhcp_interface_release(NX_DHCP *, UINT);
_nx_dhcp_interface_release(NX_DHCP *, UINT);
_nxe_dhcp_interface_reinitialize(NX_DHCP *, UINT);
_nx_dhcp_interface_reinitialize(NX_DHCP *, UINT);
_nxe_dhcp_interface_start(NX_DHCP *, UINT);
_nx_dhcp_interface_start(NX_DHCP *, UINT);
_nxe_dhcp_interface_stop(NX_DHCP *, UINT);
_nx_dhcp_interface_stop(NX_DHCP *, UINT);
_nxe_dhcp_interface_request_client_ip(NX_DHCP *, UINT, ULONG, UINT);
_nx_dhcp_interface_request_client_ip(NX_DHCP *, UINT, ULONG, UINT);
_nxe_dhcp_interface_send_request(NX_DHCP *, UINT, UINT);
_nx_dhcp_interface_send_request(NX_DHCP *, UINT, UINT);
_nxe_dhcp_interface_server_address_get(NX_DHCP *, UINT, ULONG *);
_nx_dhcp_interface_server_address_get(NX_DHCP *, UINT, ULONG *);
_nxe_dhcp_interface_state_change_notify(NX_DHCP *, void (*)(NX_DHCP *, UINT, UCHAR));
_nx_dhcp_interface_state_change_notify(NX_DHCP *, void (*)(NX_DHCP *, UINT, UCHAR));
_nxe_dhcp_interface_user_option_retrieve(NX_DHCP *, UINT, UINT, UCHAR *, UINT *);
_nx_dhcp_interface_user_option_retrieve(NX_DHCP *, UINT, UINT, UCHAR *, UINT *);