Lines Matching refs:status
82 UINT status; in tx_application_define() local
88 status = tx_thread_create(&thread_0, "agent thread", thread_agent_entry, 0, in tx_application_define()
91 if (status != NX_SUCCESS) in tx_application_define()
103 status = nx_packet_pool_create(&pool_0, "NetX Packet Pool 0", 2048, pointer, 20000); in tx_application_define()
105 if (status != NX_SUCCESS) in tx_application_define()
113 status = nx_ip_create(&ip_0, "SNMP Agent IP Instance", AGENT_PRIMARY_ADDRESS, in tx_application_define()
117 if (status != NX_SUCCESS) in tx_application_define()
137 status = nx_snmp_agent_create(&my_agent, "SNMP Agent", &ip_0, pointer, 4096, &pool_0, in tx_application_define()
141 if (status != NX_SUCCESS) in tx_application_define()
149 status = nx_snmp_agent_context_engine_set(&my_agent, context_engine_id, context_engine_size); in tx_application_define()
151 if (status != NX_SUCCESS) in tx_application_define()
163 UINT status; in thread_agent_entry() local
180 status = nxd_ipv6_enable(&ip_0); in thread_agent_entry()
183 if (status) in thread_agent_entry()
190 status = nxd_icmp_enable(&ip_0); in thread_agent_entry()
193 if (status) in thread_agent_entry()
210 status = nxd_ipv6_address_set(&ip_0, iface_index, NX_NULL, 10, &address_index); in thread_agent_entry()
213 if (status) in thread_agent_entry()
222 status = nxd_ipv6_address_set(&ip_0, iface_index, &agent_ipv6_address, 64, &address_index); in thread_agent_entry()
225 if (status) in thread_agent_entry()
239 …status = nx_snmp_agent_md5_key_create(&my_agent, (UCHAR *)"authpassword", &my_authentication_key); in thread_agent_entry()
240 if (status) in thread_agent_entry()
244 status = nx_snmp_agent_authenticate_key_use(&my_agent, &my_authentication_key); in thread_agent_entry()
245 if (status) in thread_agent_entry()
253 status = nx_snmp_agent_md5_key_create(&my_agent, (UCHAR *)"privpassword", &my_privacy_key); in thread_agent_entry()
254 if (status) in thread_agent_entry()
258 status = nx_snmp_agent_privacy_key_use(&my_agent, &my_privacy_key); in thread_agent_entry()
259 if (status) in thread_agent_entry()
264 status = nx_snmp_agent_start(&my_agent); in thread_agent_entry()
265 if (status) in thread_agent_entry()
276 UINT status; in mib2_get_processing() local
283 status = NX_SNMP_ERROR; in mib2_get_processing()
288 status = nx_snmp_object_compare(object_requested, mib2_mib[i].object_name); in mib2_get_processing()
291 if (status == NX_SUCCESS) in mib2_get_processing()
303 if (status != NX_SUCCESS) in mib2_get_processing()
316 status = (mib2_mib[i].object_get_callback)(mib2_mib[i].object_value_ptr, object_data); in mib2_get_processing()
323 status = NX_SNMP_ERROR_NOACCESS; in mib2_get_processing()
329 return(status); in mib2_get_processing()
339 UINT status; in mib2_getnext_processing() local
347 status = NX_SNMP_ERROR; in mib2_getnext_processing()
352 status = nx_snmp_object_compare(object_requested, mib2_mib[i].object_name); in mib2_getnext_processing()
355 if (status == NX_SNMP_NEXT_ENTRY) in mib2_getnext_processing()
367 if (status != NX_SNMP_NEXT_ENTRY) in mib2_getnext_processing()
385 status = (mib2_mib[i].object_get_callback)(mib2_mib[i].object_value_ptr, object_data); in mib2_getnext_processing()
400 status = NX_SNMP_ERROR_NOACCESS; in mib2_getnext_processing()
406 return(status); in mib2_getnext_processing()
416 UINT status; in mib2_set_processing() local
423 status = NX_SNMP_ERROR; in mib2_set_processing()
428 status = nx_snmp_object_compare(object_requested, mib2_mib[i].object_name); in mib2_set_processing()
431 if (status == NX_SUCCESS) in mib2_set_processing()
443 if (status != NX_SUCCESS) in mib2_set_processing()
457 status = (mib2_mib[i].object_set_callback)(mib2_mib[i].object_value_ptr, object_data); in mib2_set_processing()
464 status = NX_SNMP_ERROR_NOACCESS; in mib2_set_processing()
469 return(status); in mib2_set_processing()