Lines Matching refs:status

63 UINT    status;  in tx_application_define()  local
86 status = nx_packet_pool_create(&pool_0, "NetX Main Packet Pool", 256, pointer, 4096); in tx_application_define()
89 if (status) in tx_application_define()
93status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(0, 0, 0, 0), 0xFFFFFF00UL, &pool_0, … in tx_application_define()
98status += nx_ip_create(&ip_1, "NetX IP Instance 1", IP_ADDRESS(0, 0, 0, 0), 0xFFFFFF00UL, &pool_0,… in tx_application_define()
102 if (status) in tx_application_define()
106 status = nx_arp_enable(&ip_0, (void *) pointer, 1024); in tx_application_define()
110 status += nx_arp_enable(&ip_1, (void *) pointer, 1024); in tx_application_define()
114 if (status) in tx_application_define()
118 status = nx_udp_enable(&ip_0); in tx_application_define()
119 status += nx_udp_enable(&ip_1); in tx_application_define()
122 if (status) in tx_application_define()
126 status = nx_auto_ip_create(&auto_ip_0, "AutoIP 0", &ip_0, pointer, 4096, 1); in tx_application_define()
128 status += nx_auto_ip_create(&auto_ip_1, "AutoIP 1", &ip_1, pointer, 4096, 1); in tx_application_define()
132 if (status) in tx_application_define()
136 status = nx_auto_ip_start(&auto_ip_0, 0 /*IP_ADDRESS(169,254,254,255)*/); in tx_application_define()
137 status += nx_auto_ip_start(&auto_ip_1, 0 /*IP_ADDRESS(169,254,254,255)*/); in tx_application_define()
140 if (status) in tx_application_define()
144 status = nx_ip_address_change_notify(&ip_0, ip_address_changed, (void *) &auto_ip_0); in tx_application_define()
145 status += nx_ip_address_change_notify(&ip_1, ip_address_changed, (void *) &auto_ip_1); in tx_application_define()
148 if (status) in tx_application_define()
159 UINT status; in thread_0_entry() local
170status = nx_ip_status_check(&ip_0, NX_IP_ADDRESS_RESOLVED, &actual_status, 10 * NX_IP_PERIODIC_RA… in thread_0_entry()
172 } while (status != NX_SUCCESS); in thread_0_entry()
175status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
178 if (status) in thread_0_entry()
185 status = nx_udp_socket_bind(&socket_0, 0x88, TX_WAIT_FOREVER); in thread_0_entry()
188 if (status) in thread_0_entry()
205 status = nx_packet_allocate(&pool_0, &my_packet, NX_UDP_PACKET, TX_WAIT_FOREVER); in thread_0_entry()
208 if (status != NX_SUCCESS) in thread_0_entry()
219 status = nx_udp_socket_send(&socket_0, my_packet, ip_1.nx_ip_address, 0x89); in thread_0_entry()
222 if (status != NX_SUCCESS) in thread_0_entry()
240 UINT status; in thread_1_entry() local
251status = nx_ip_status_check(&ip_1, NX_IP_ADDRESS_RESOLVED, &actual_status, 10 * NX_IP_PERIODIC_RA… in thread_1_entry()
253 } while (status != NX_SUCCESS); in thread_1_entry()
256status = nx_udp_socket_create(&ip_1, &socket_1, "Socket 1", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_1_entry()
259 if (status) in thread_1_entry()
266 status = nx_udp_socket_bind(&socket_1, 0x89, TX_WAIT_FOREVER); in thread_1_entry()
269 if (status) in thread_1_entry()
280 status = nx_udp_socket_receive(&socket_1, &my_packet, TX_WAIT_FOREVER); in thread_1_entry()
283 if (status != NX_SUCCESS) in thread_1_entry()
287 status = nx_packet_release(my_packet); in thread_1_entry()
290 if (status != NX_SUCCESS) in thread_1_entry()