Home
last modified time | relevance | path

Searched refs:dhcp_ptr (Results 1 – 25 of 25) sorted by relevance

/NetX-Duo-v6.2.1/addons/dhcp/
Dnxd_dhcp_client.c44 static UINT _nx_dhcp_extract_information(NX_DHCP *dhcp_ptr, NX_DHCP_INTERFACE_RECORD *interf…
48 static UINT _nx_dhcp_add_option_parameter_request(NX_DHCP *dhcp_ptr, UCHAR *bootp_message, U…
55 static UINT _nx_dhcp_send_request_internal(NX_DHCP *dhcp_ptr, NX_DHCP_INTERFACE_RECORD *inte…
56 static UINT _nx_dhcp_client_send_with_zero_source_address(NX_DHCP *dhcp_ptr, UINT iface_inde…
59 static VOID _nx_dhcp_packet_process(NX_DHCP *dhcp_ptr, NX_DHCP_INTERFACE_RECORD *dhcp_interf…
61 static VOID _nx_dhcp_timeout_process(NX_DHCP *dhcp_ptr);
62 static UINT _nx_dhcp_interface_record_find(NX_DHCP *dhcp_ptr, UINT iface_index, NX_DHCP_INTE…
130 UINT _nxe_dhcp_create(NX_DHCP *dhcp_ptr, NX_IP *ip_ptr, CHAR *name_ptr) in _nxe_dhcp_create() argument
137 if ((ip_ptr == NX_NULL) || (ip_ptr -> nx_ip_id != NX_IP_ID) || (dhcp_ptr == NX_NULL)) in _nxe_dhcp_create()
144 status = _nx_dhcp_create(dhcp_ptr, ip_ptr, name_ptr); in _nxe_dhcp_create()
[all …]
Dnxd_dhcp_client.h503 VOID (*nx_dhcp_state_change_callback)(struct NX_DHCP_STRUCT *dhcp_ptr, UCHAR new_state);
510 …VOID (*nx_dhcp_interface_state_change_callback)(struct NX_DHCP_STRUCT *dhcp_ptr, UINT iface_index,…
513 …UINT (*nx_dhcp_user_option_add)(struct NX_DHCP_STRUCT *dhcp_ptr, UINT iface_index, UINT message_ty…
633 UINT nx_dhcp_create(NX_DHCP *dhcp_ptr, NX_IP *ip_ptr, CHAR *name_ptr);
634 UINT nx_dhcp_packet_pool_set(NX_DHCP *dhcp_ptr, NX_PACKET_POOL *packet_pool_ptr);
635 UINT nx_dhcp_request_client_ip(NX_DHCP *dhcp_ptr, ULONG client_ip_address, UINT skip_discove…
636 UINT nx_dhcp_delete(NX_DHCP *dhcp_ptr);
637 UINT nx_dhcp_decline(NX_DHCP *dhcp_ptr);
638 UINT nx_dhcp_force_renew(NX_DHCP *dhcp_ptr);
639 UINT nx_dhcp_release(NX_DHCP *dhcp_ptr);
[all …]
Dnxd_dhcp_server.c54 static UINT _nx_dhcp_server_packet_process(NX_DHCP_SERVER *dhcp_ptr, NX_PACKET *packet_ptr);
55 static UINT _nx_dhcp_respond_to_client_message(NX_DHCP_SERVER *dhcp_ptr, NX_DHCP_CLIENT *dhc…
56 static UINT _nx_dhcp_server_extract_information(NX_DHCP_SERVER *dhcp_ptr, NX_DHCP_CLIENT **d…
57 static UINT _nx_dhcp_process_option_data(NX_DHCP_CLIENT *dhcp_ptr, CHAR *buffer, UCHAR value…
59 static UINT _nx_dhcp_add_requested_option(NX_DHCP_SERVER *dhcp_ptr, UINT iface_index, UCHAR …
60 static UINT _nx_dhcp_set_server_options(NX_DHCP_SERVER *dhcp_ptr, CHAR *buffer, UINT buffer_…
61 static UINT _nx_dhcp_load_server_options(NX_DHCP_SERVER *dhcp_ptr, NX_DHCP_CLIENT *dhcp_clie…
65 static UINT _nx_dhcp_clear_client_session(NX_DHCP_SERVER *dhcp_ptr, NX_DHCP_CLIENT *dhcp_cli…
66 static UINT _nx_dhcp_validate_client_message(NX_DHCP_SERVER *dhcp_ptr, NX_DHCP_CLIENT *dhcp_…
67 static UINT _nx_dhcp_find_client_record_by_chaddr(NX_DHCP_SERVER *dhcp_ptr, UINT iface_index…
[all …]
Dnxd_dhcp_server.h563 UINT nx_dhcp_server_create(NX_DHCP_SERVER *dhcp_ptr, NX_IP *ip_ptr, VOID *stack_ptr, ULONG s…
564 UINT nx_dhcp_create_server_ip_address_list(NX_DHCP_SERVER *dhcp_ptr, UINT iface_index, ULONG…
565 UINT nx_dhcp_set_interface_network_parameters(NX_DHCP_SERVER *dhcp_ptr, UINT iface_index, U…
566 UINT nx_dhcp_server_delete(NX_DHCP_SERVER *dhcp_ptr);
567 UINT nx_dhcp_server_start(NX_DHCP_SERVER *dhcp_ptr);
568 UINT nx_dhcp_server_stop(NX_DHCP_SERVER *dhcp_ptr);
569 UINT nx_dhcp_clear_client_record(NX_DHCP_SERVER *dhcp_ptr, NX_DHCP_CLIENT *dhcp_client_ptr);
576 UINT _nxe_dhcp_server_create(NX_DHCP_SERVER *dhcp_ptr, NX_IP *ip_ptr, VOID *stack_ptr, ULONG…
577 UINT _nx_dhcp_server_create(NX_DHCP_SERVER *dhcp_ptr, NX_IP *ip_ptr, VOID *stack_ptr, ULONG …
578 UINT _nx_dhcp_create_server_ip_address_list(NX_DHCP_SERVER *dhcp_ptr, UINT iface_index, ULON…
[all …]
/NetX-Duo-v6.2.1/test/regression/dhcp_test/
Dnetx_dhcp_user_option_add_test.c49 static void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state);
50 static UINT dhcp_user_option_add(NX_DHCP *dhcp_ptr, UINT iface_index, UINT message_type, UCHAR *…
308 void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_state_change() argument
311 NX_PARAMETER_NOT_USED(dhcp_ptr); in dhcp_state_change()
320 UINT dhcp_user_option_add(NX_DHCP *dhcp_ptr, UINT iface_index, UINT message_type, UCHAR *user_optio… in dhcp_user_option_add() argument
325 NX_PARAMETER_NOT_USED(dhcp_ptr); in dhcp_user_option_add()
Dnetx_dhcp_server_small_packet_payload_test.c63 static void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state);
64 static UINT dhcp_user_option_add(NX_DHCP *dhcp_ptr, UINT iface_index, UINT message_type, UCHAR *…
292 UINT dhcp_user_option_add(NX_DHCP *dhcp_ptr, UINT iface_index, UINT message_type, UCHAR *user_optio… in dhcp_user_option_add() argument
300 void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_state_change() argument
Dnetx_dhcp_release_test.c58 static void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state);
174 static void interface_state_change_cb(NX_DHCP *dhcp_ptr, UINT iface, UCHAR state) in interface_state_change_cb() argument
177 dhcp_ptr->nx_dhcp_interface_record->nx_dhcp_state = NX_DHCP_STATE_FORCERENEW; in interface_state_change_cb()
392 void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_state_change() argument
Dnetx_dhcp_stop_test.c58 static void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state);
174 static void interface_state_change_cb(NX_DHCP *dhcp_ptr, UINT iface, UCHAR state) in interface_state_change_cb() argument
177 dhcp_ptr->nx_dhcp_interface_record->nx_dhcp_state = NX_DHCP_STATE_FORCERENEW; in interface_state_change_cb()
392 void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_state_change() argument
Dnetx_dhcp_client_two_interfaces.c65 static void dhcp_interface_state_change0(NX_DHCP *dhcp_ptr, UCHAR new_state);
66 static void dhcp_interface_state_change1(NX_DHCP *dhcp_ptr, UCHAR new_state);
795 void dhcp_interface_state_change0(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_interface_state_change0() argument
823 void dhcp_interface_state_change1(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_interface_state_change1() argument
Dnetx_dhcp_coverage_test.c80 extern VOID _nx_dhcp_packet_process(NX_DHCP *dhcp_ptr, NX_DHCP_INTERFACE_RECORD *interface_record,…
81 extern UINT _nx_dhcp_packet_pool_set(NX_DHCP *dhcp_ptr, NX_PACKET_POOL *packet_pool_ptr);
82 extern UINT _nx_dhcp_decline(NX_DHCP *dhcp_ptr);
86 static void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state);
142 static void state_change_cb(NX_DHCP *dhcp_ptr, UCHAR state) in state_change_cb() argument
147 static UINT dhcp_user_option_add_with_false_return(NX_DHCP *dhcp_ptr, UINT iface_index, UINT messag… in dhcp_user_option_add_with_false_return() argument
152 static UINT dhcp_user_option_add(NX_DHCP *dhcp_ptr, UINT iface_index, UINT message_type, UCHAR *use… in dhcp_user_option_add() argument
159 static void interface_state_change_cb(NX_DHCP *dhcp_ptr, UINT iface, UCHAR state) in interface_state_change_cb() argument
221 extern VOID _nx_dhcp_timeout_process(NX_DHCP* dhcp_ptr);
885 void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_state_change() argument
Dnetx_dhcp_basic_test.c58 static void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state);
380 void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_state_change() argument
Dnetx_dhcp_enable_test.c58 static void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state);
392 void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_state_change() argument
Dnetx_dhcp_skip_discover_test.c54 static void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state);
371 void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_state_change() argument
Dnetx_dhcp_basic_restore_test.c47 static void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state);
382 void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_state_change() argument
Dnetx_dhcp_delete_test.c63 static void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state);
398 void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_state_change() argument
Dnetx_dhcp_reinitialize_test.c63 static void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state);
398 void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_state_change() argument
Dnetx_dhcp_start_test.c62 static void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state);
392 void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_state_change() argument
Dnetx_dhcp_client_interface_0_only_test.c59 static void dhcp_interface_state_change1(NX_DHCP *dhcp_ptr, UCHAR new_state);
549 void dhcp_interface_state_change1(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_interface_state_change1() argument
Dnetx_dhcp_client_special_attributes_test.c61 static void dhcp_interface_state_change1(NX_DHCP *dhcp_ptr, UCHAR new_state);
561 void dhcp_interface_state_change1(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_interface_state_change1() argument
Dnetx_dhcp_client_interface_1_only_test.c61 static void dhcp_interface_state_change1(NX_DHCP *dhcp_ptr, UCHAR new_state);
580 void dhcp_interface_state_change1(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_interface_state_change1() argument
Dnetx_dhcp_client_secondary_interface_test.c65 static void dhcp_interface_state_change(NX_DHCP *dhcp_ptr, UINT iface_index, UCHAR new_state);
547 static void dhcp_interface_state_change(NX_DHCP *dhcp_ptr, UINT iface_index, UCHAR new_state) in dhcp_interface_state_change() argument
Dnetx_dhcp_client_send_with_zero_source_address_test.c110 static UINT dhcp_user_option_add_with_long_length(NX_DHCP *dhcp_ptr, UINT iface_index, UINT message… in dhcp_user_option_add_with_long_length() argument
Dnetx_dhcp_client_activate_interfaces_test.c70 static void dhcp_interface_state_change1(NX_DHCP *dhcp_ptr, UCHAR new_state);
763 void dhcp_interface_state_change1(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_interface_state_change1() argument
/NetX-Duo-v6.2.1/samples/
Ddemo_netxduo_multihome_dhcp_client.c68 void dhcp_interface_state_change(NX_DHCP *dhcp_ptr, UINT iface_index, UCHAR new_state);
302 void dhcp_interface_state_change(NX_DHCP *dhcp_ptr, UINT iface_index, UCHAR new_state) in dhcp_interface_state_change() argument
305 NX_PARAMETER_NOT_USED(dhcp_ptr); in dhcp_interface_state_change()
Ddemo_netxduo_dhcp.c64 void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state);
330 void dhcp_state_change(NX_DHCP *dhcp_ptr, UCHAR new_state) in dhcp_state_change() argument
333 NX_PARAMETER_NOT_USED(dhcp_ptr); in dhcp_state_change()