Home
last modified time | relevance | path

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

12

/NetX-Duo-v6.4.1/test/regression/dhcp_test/
Dnetx_dhcp_server_options_test.c28 static NX_DHCP_SERVER dhcp_server; variable
285 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
297 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
312 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, iface_index, NX_DHCP_SUBNET_MASK_0… in server_thread_entry()
322 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
349 if ((i == 0) && (dhcp_server.client_records[0].nx_dhcp_client_option_count)) in server_thread_entry()
354 if ((i == 1) && (dhcp_server.client_records[1].nx_dhcp_client_state == 53)) in server_thread_entry()
359 nx_dhcp_clear_client_record(&dhcp_server, &(dhcp_server.client_records[0])); in server_thread_entry()
Dnetx_dhcpv6_server_iana_test.c26 static NX_DHCPV6_SERVER dhcp_server; variable
203 …status = nx_dhcpv6_server_create(&dhcp_server, &server_ip, "DHCPv6 Server", &server_pool, pointer… in server_thread_entry()
220 status = nx_dhcpv6_create_dns_address(&dhcp_server, &dns_ipv6_address); in server_thread_entry()
234 status = nx_dhcpv6_set_server_duid(&dhcp_server, in server_thread_entry()
236 dhcp_server.nx_dhcpv6_ip_ptr -> nx_ip_arp_physical_address_msw, in server_thread_entry()
237 dhcp_server.nx_dhcpv6_ip_ptr -> nx_ip_arp_physical_address_lsw, in server_thread_entry()
262 …status = nx_dhcpv6_create_ip_address_range(&dhcp_server, &start_ipv6_address, &end_ipv6_address, &… in server_thread_entry()
272 status = nx_dhcpv6_server_start(&dhcp_server); in server_thread_entry()
Dnetx_dhcpv6_extended_api_test.c29 static NX_DHCPV6_SERVER dhcp_server; variable
488 …status = nx_dhcpv6_server_create(&dhcp_server, &server_ip, "DHCPv6 Server", &pool_0, pointer, NX_… in thread_server_entry()
499 …status = nx_dhcpv6_server_option_request_handler_set(&dhcp_server, dhcpv6_option_request_handler_… in thread_server_entry()
515 status = nx_dhcpv6_create_dns_address(&dhcp_server, &dns_ipv6_address); in thread_server_entry()
529 status = nx_dhcpv6_set_server_duid(&dhcp_server, in thread_server_entry()
531 dhcp_server.nx_dhcpv6_ip_ptr -> nx_ip_arp_physical_address_msw, in thread_server_entry()
532 dhcp_server.nx_dhcpv6_ip_ptr -> nx_ip_arp_physical_address_lsw, in thread_server_entry()
557 …status = nx_dhcpv6_create_ip_address_range(&dhcp_server, &start_ipv6_address, &end_ipv6_address, &… in thread_server_entry()
567 status = nx_dhcpv6_server_start(&dhcp_server); in thread_server_entry()
Dnetx_dhcp_server_small_packet_payload_test.c48 static NX_DHCP_SERVER dhcp_server; variable
177 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
189 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
204 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, iface_index, NX_DHCP_SUBNET_MASK_0… in server_thread_entry()
214 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
Dnetx_dhcpv6_server_ia_options_test.c31 static NX_DHCPV6_SERVER dhcp_server; variable
494 …status = nx_dhcpv6_server_create(&dhcp_server, &server_ip, "DHCPv6 Server", &pool_0, pointer, NX_… in thread_server_entry()
511 status = nx_dhcpv6_create_dns_address(&dhcp_server, &dns_ipv6_address); in thread_server_entry()
525 status = nx_dhcpv6_set_server_duid(&dhcp_server, in thread_server_entry()
527 dhcp_server.nx_dhcpv6_ip_ptr -> nx_ip_arp_physical_address_msw, in thread_server_entry()
528 dhcp_server.nx_dhcpv6_ip_ptr -> nx_ip_arp_physical_address_lsw, in thread_server_entry()
553 …status = nx_dhcpv6_create_ip_address_range(&dhcp_server, &start_ipv6_address, &end_ipv6_address, &… in thread_server_entry()
565 status = nx_dhcpv6_server_start(&dhcp_server); in thread_server_entry()
609 … if (dhcp_server.nx_dhcpv6_clients[0].nx_dhcpv6_ia.nx_valid_lifetime == TEST_VALID_LIFETIME) in my_packet_process()
614 …if (dhcp_server.nx_dhcpv6_clients[0].nx_dhcpv6_ia.nx_preferred_lifetime == TEST_PREFERRED_LIFETIME) in my_packet_process()
Dnetx_dhcp_03_05_01_test.c38 static NX_DHCP_SERVER dhcp_server; variable
179 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
191 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
202 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, iface_index, NX_DHCP_SUBNET_MASK_0… in server_thread_entry()
212 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
Dnetx_dhcp_04_01_01_test.c39 static NX_DHCP_SERVER dhcp_server; variable
181 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
193 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
204 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, iface_index, NX_DHCP_SUBNET_MASK_0… in server_thread_entry()
215 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
Dnetx_dhcpv6_basic_test.c29 static NX_DHCPV6_SERVER dhcp_server; variable
479 …status = nx_dhcpv6_server_create(&dhcp_server, &server_ip, "DHCPv6 Server", &pool_0, pointer, NX_… in thread_server_entry()
496 status = nx_dhcpv6_create_dns_address(&dhcp_server, &dns_ipv6_address); in thread_server_entry()
510 status = nx_dhcpv6_set_server_duid(&dhcp_server, in thread_server_entry()
512 dhcp_server.nx_dhcpv6_ip_ptr -> nx_ip_arp_physical_address_msw, in thread_server_entry()
513 dhcp_server.nx_dhcpv6_ip_ptr -> nx_ip_arp_physical_address_lsw, in thread_server_entry()
538 …status = nx_dhcpv6_create_ip_address_range(&dhcp_server, &start_ipv6_address, &end_ipv6_address, &… in thread_server_entry()
548 status = nx_dhcpv6_server_start(&dhcp_server); in thread_server_entry()
Dnetx_dhcp_04_04_01_01_test.c40 static NX_DHCP_SERVER dhcp_server; variable
181 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
193 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
204 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, iface_index, NX_DHCP_SUBNET_MASK_0… in server_thread_entry()
212 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
Dnetx_dhcp_basic_test.c43 static NX_DHCP_SERVER dhcp_server; variable
186 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
198 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
213 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, iface_index, NX_DHCP_SUBNET_MASK_0… in server_thread_entry()
223 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
Dnetx_dhcp_server_improper_term_test.c38 static NX_DHCP_SERVER dhcp_server; variable
282 …status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, "DHCP Server"… in server_thread_entry()
293 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
309 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
321 if (dhcp_server.nx_dhcp_requests_received > 0) in server_thread_entry()
Dnetx_dhcp_server_second_interface_test.c36 static NX_DHCP_SERVER dhcp_server; variable
368 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
381 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, NX_DHCP_INTERFACE_INDEX, START_IP_ADD… in server_thread_entry()
398 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, NX_DHCP_INTERFACE_INDEX, NX_DHCP_S… in server_thread_entry()
409 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
Dnetx_dhcp_server_test.c30 static NX_DHCP_SERVER dhcp_server; variable
365 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
377 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
392 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, iface_index, NX_DHCP_SUBNET_MASK_0… in server_thread_entry()
402 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
Dnetx_dhcpv6_server_process_repeated_msgs_test.c32 static NX_DHCPV6_SERVER dhcp_server; variable
511 …status = nx_dhcpv6_server_create(&dhcp_server, &server_ip, "DHCPv6 Server", &pool_0, pointer, NX_… in thread_server_entry()
528 status = nx_dhcpv6_create_dns_address(&dhcp_server, &dns_ipv6_address); in thread_server_entry()
542 status = nx_dhcpv6_set_server_duid(&dhcp_server, in thread_server_entry()
544 dhcp_server.nx_dhcpv6_ip_ptr -> nx_ip_arp_physical_address_msw, in thread_server_entry()
545 dhcp_server.nx_dhcpv6_ip_ptr -> nx_ip_arp_physical_address_lsw, in thread_server_entry()
570 …status = nx_dhcpv6_create_ip_address_range(&dhcp_server, &start_ipv6_address, &end_ipv6_address, &… in thread_server_entry()
580 status = nx_dhcpv6_server_start(&dhcp_server); in thread_server_entry()
740 … if (dhcp_server.nx_dhcpv6_clients[0].nx_dhcpv6_elapsed_time.nx_session_time == 0) in my_packet_process()
Dnetx_dhcp_03_01_01_test.c37 static NX_DHCP_SERVER dhcp_server; variable
181 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
193 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
204 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, iface_index, NX_DHCP_SUBNET_MASK_0… in server_thread_entry()
212 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
Dnetx_dhcp_03_02_01_test.c40 static NX_DHCP_SERVER dhcp_server; variable
183 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
195 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
206 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, iface_index, NX_DHCP_SUBNET_MASK_0… in server_thread_entry()
214 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
Dnetx_dhcp_03_02_02_test.c41 static NX_DHCP_SERVER dhcp_server; variable
183 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
195 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
206 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, iface_index, NX_DHCP_SUBNET_MASK_0… in server_thread_entry()
214 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
Dnetx_dhcp_03_02_03_test.c38 static NX_DHCP_SERVER dhcp_server; variable
181 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
193 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
204 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, iface_index, NX_DHCP_SUBNET_MASK_0… in server_thread_entry()
212 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
Dnetx_dhcp_04_03_02_01_test.c37 static NX_DHCP_SERVER dhcp_server; variable
181 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
193 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
204 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, iface_index, NX_DHCP_SUBNET_MASK_0… in server_thread_entry()
212 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
Dnetx_dhcp_basic_restore_test.c32 static NX_DHCP_SERVER dhcp_server; variable
175 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
187 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
202 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, iface_index, NX_DHCP_SUBNET_MASK_0… in server_thread_entry()
212 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
Dnetx_dhcp_delete_test.c48 static NX_DHCP_SERVER dhcp_server; variable
191 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
203 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
218 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, iface_index, NX_DHCP_SUBNET_MASK_0… in server_thread_entry()
228 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
Dnetx_dhcp_enable_test.c43 static NX_DHCP_SERVER dhcp_server; variable
186 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
198 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
213 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, iface_index, NX_DHCP_SUBNET_MASK_0… in server_thread_entry()
223 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
Dnetx_dhcp_reinitialize_test.c48 static NX_DHCP_SERVER dhcp_server; variable
191 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
203 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, iface_index, START_IP_ADDRESS_LIST_0, in server_thread_entry()
218 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, iface_index, NX_DHCP_SUBNET_MASK_0… in server_thread_entry()
228 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()
/NetX-Duo-v6.4.1/samples/
Ddemo_netxduo_dhcpv6.c28 NX_DHCPV6_SERVER dhcp_server; variable
382 …status = nx_dhcpv6_server_create(&dhcp_server, &server_ip, "DHCPv6 Server", &pool_0, pointer, NX_… in thread_server_entry()
405 status = nx_dhcpv6_create_dns_address(&dhcp_server, &dns_ipv6_address); in thread_server_entry()
416 status = nx_dhcpv6_set_server_duid(&dhcp_server, in thread_server_entry()
418 dhcp_server.nx_dhcpv6_ip_ptr -> nx_ip_arp_physical_address_msw, in thread_server_entry()
419 dhcp_server.nx_dhcpv6_ip_ptr -> nx_ip_arp_physical_address_lsw, in thread_server_entry()
441 …status = nx_dhcpv6_create_ip_address_range(&dhcp_server, &start_ipv6_address, &end_ipv6_address, &… in thread_server_entry()
448 status = nx_dhcpv6_server_start(&dhcp_server); in thread_server_entry()
Ddemo_netxduo_dhcp.c48 NX_DHCP_SERVER dhcp_server; variable
185 status = nx_dhcp_server_create(&dhcp_server, &server_ip, pointer, DEMO_STACK_SIZE, in server_thread_entry()
194 …status = nx_dhcp_create_server_ip_address_list(&dhcp_server, NX_DHCP_INTERFACE_INDEX, START_IP_ADD… in server_thread_entry()
206 …status = nx_dhcp_set_interface_network_parameters(&dhcp_server, NX_DHCP_INTERFACE_INDEX, NX_DHCP_S… in server_thread_entry()
214 status = nx_dhcp_server_start(&dhcp_server); in server_thread_entry()

12