Lines Matching refs:status
83 UINT status; in tx_application_define() local
90 status = nx_packet_pool_create(&client_packet_pool, "SNTP Client Packet Pool", in tx_application_define()
95 if (status != NX_SUCCESS) in tx_application_define()
108 status = nx_ip_create(&client_ip, "SNTP IP Instance", CLIENT_IP_ADDRESS, in tx_application_define()
113 if (status != NX_SUCCESS) in tx_application_define()
123 status = nx_arp_enable(&client_ip, (void **) free_memory_pointer, 2048); in tx_application_define()
126 if (status != NX_SUCCESS) in tx_application_define()
137 status = nx_udp_enable(&client_ip); in tx_application_define()
140 if (status != NX_SUCCESS) in tx_application_define()
147 status = nx_icmp_enable(&client_ip); in tx_application_define()
150 if (status != NX_SUCCESS) in tx_application_define()
158 status = tx_thread_create(&demo_client_thread, "SNTP Client Thread", demo_client_thread_entry, in tx_application_define()
163 if (status != TX_SUCCESS) in tx_application_define()
170 status = tx_event_flags_create(&sntp_flags, "SNTP event flags"); in tx_application_define()
173 if (status != TX_SUCCESS) in tx_application_define()
186 … status = nx_sntp_client_create(&demo_sntp_client, &client_ip, iface_index, &client_packet_pool, in tx_application_define()
192 if (status != NX_SUCCESS) in tx_application_define()
211 UINT status; in demo_client_thread_entry() local
232 status = nxd_ipv6_enable(&client_ip); in demo_client_thread_entry()
234 status += nxd_icmp_enable(&client_ip); in demo_client_thread_entry()
236 if (status != NX_SUCCESS) in demo_client_thread_entry()
254 status = nxd_ipv6_address_set(&client_ip, iface_index, NX_NULL, 10, NULL); in demo_client_thread_entry()
257 if (status != NX_SUCCESS) in demo_client_thread_entry()
264 …status = nxd_ipv6_address_set(&client_ip, iface_index, &client_ip_address, prefix, &address_index); in demo_client_thread_entry()
267 if (status != NX_SUCCESS) in demo_client_thread_entry()
287 status = nxd_sntp_client_initialize_unicast(&demo_sntp_client, &sntp_server_address); in demo_client_thread_entry()
290 status = nx_sntp_client_initialize_unicast(&demo_sntp_client, SERVER_IP_ADDRESS); in demo_client_thread_entry()
300 status = nxd_sntp_client_initialize_broadcast(&demo_sntp_client, &sntp_server_address, NX_NULL); in demo_client_thread_entry()
304 status = nx_sntp_client_initialize_broadcast(&demo_sntp_client, NX_NULL, SERVER_IP_ADDRESS); in demo_client_thread_entry()
309 if (status != NX_SUCCESS) in demo_client_thread_entry()
327 status = nx_sntp_client_set_local_time(&demo_sntp_client, base_seconds, base_fraction); in demo_client_thread_entry()
330 if (status != NX_SUCCESS) in demo_client_thread_entry()
337 status = nx_sntp_client_run_unicast(&demo_sntp_client); in demo_client_thread_entry()
339 status = nx_sntp_client_run_broadcast(&demo_sntp_client); in demo_client_thread_entry()
342 if (status != NX_SUCCESS) in demo_client_thread_entry()
359 status = nx_sntp_client_receiving_updates(&demo_sntp_client, &server_status); in demo_client_thread_entry()
361 if ((status != NX_SUCCESS) || (server_status == NX_FALSE)) in demo_client_thread_entry()
377 …status = nx_sntp_client_get_local_time_extended(&demo_sntp_client, &seconds, &fraction, NX_NULL, 0… in demo_client_thread_entry()
384 if (status != NX_SUCCESS) in demo_client_thread_entry()
386 printf("Internal error with getting local time 0x%x\n", status); in demo_client_thread_entry()
430 status = nx_sntp_client_stop(&demo_sntp_client); in demo_client_thread_entry()
432 if (status != NX_SUCCESS) in demo_client_thread_entry()
438 status = nx_sntp_client_delete(&demo_sntp_client); in demo_client_thread_entry()
471 UINT status = NX_SUCCESS; in kiss_of_death_handler() local
484 status = NX_SNTP_KOD_SERVER_NOT_AVAILABLE; in kiss_of_death_handler()
514 status = NX_SNTP_KOD_REMOVE_SERVER; in kiss_of_death_handler()
517 return status; in kiss_of_death_handler()