Home
last modified time | relevance | path

Searched refs:snmp_manager_socket (Results 1 – 15 of 15) sorted by relevance

/NetX-Duo-v6.2.1/test/regression/snmp_test/
Dnetx_snmp_v2_unknown_oid_test.c41 static NX_UDP_SOCKET snmp_manager_socket; variable
62 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT request_id, UINT …
251 …status = nx_udp_socket_create(&manager_ip, &snmp_manager_socket, "Manager Socket", NX_IP_NORMAL, N… in thread_1_entry()
261 status = nx_udp_socket_bind(&snmp_manager_socket, 161, 200); in thread_1_entry()
279 status = nx_snmp_query_packet_send(&snmp_manager_socket, request_id, i); in thread_1_entry()
291 status = nx_udp_socket_receive(&snmp_manager_socket, &agent_packet, 200); in thread_1_entry()
337 nx_udp_socket_unbind(&snmp_manager_socket); in thread_1_entry()
340 nx_udp_socket_delete(&snmp_manager_socket); in thread_1_entry()
346 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT snmp_request_id, U… in nx_snmp_query_packet_send() argument
375 … status = nx_udp_socket_send(snmp_manager_socket, response_packet, IP_ADDRESS(10, 0, 0, 10), 161); in nx_snmp_query_packet_send()
Dnetx_snmp_basic_v2_test.c41 static NX_UDP_SOCKET snmp_manager_socket; variable
62 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT request_id, UINT …
263 …status = nx_udp_socket_create(&manager_ip, &snmp_manager_socket, "Manager Socket", NX_IP_NORMAL, N… in thread_1_entry()
273 status = nx_udp_socket_bind(&snmp_manager_socket, 161, 200); in thread_1_entry()
291 status = nx_snmp_query_packet_send(&snmp_manager_socket, request_id, i); in thread_1_entry()
303 status = nx_udp_socket_receive(&snmp_manager_socket, &agent_packet, 200); in thread_1_entry()
343 nx_udp_socket_unbind(&snmp_manager_socket); in thread_1_entry()
346 nx_udp_socket_delete(&snmp_manager_socket); in thread_1_entry()
352 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT snmp_request_id, U… in nx_snmp_query_packet_send() argument
381 … status = nx_udp_socket_send(snmp_manager_socket, response_packet, IP_ADDRESS(10, 0, 0, 10), 161); in nx_snmp_query_packet_send()
Dnetx_snmp_setget_ip_address_test.c54 static NX_UDP_SOCKET snmp_manager_socket; variable
88 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT request_id, UINT …
304 …status = nx_udp_socket_create(&manager_ip, &snmp_manager_socket, "Manager Socket", NX_IP_NORMAL, N… in thread_1_entry()
314 status = nx_udp_socket_bind(&snmp_manager_socket, 161, 200); in thread_1_entry()
332 status = nx_snmp_query_packet_send(&snmp_manager_socket, request_id, i); in thread_1_entry()
344 status = nx_udp_socket_receive(&snmp_manager_socket, &agent_packet, 200); in thread_1_entry()
378 nx_udp_socket_unbind(&snmp_manager_socket); in thread_1_entry()
381 nx_udp_socket_delete(&snmp_manager_socket); in thread_1_entry()
387 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT snmp_request_id, U… in nx_snmp_query_packet_send() argument
416 status = nx_udp_socket_send(snmp_manager_socket, response_packet, SNMP_AGENT_ADDRESS, 161); in nx_snmp_query_packet_send()
Dnetx_snmp_setget_octet_strings_test.c48 static NX_UDP_SOCKET snmp_manager_socket; variable
77 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT request_id, UINT …
270 …status = nx_udp_socket_create(&manager_ip, &snmp_manager_socket, "Manager Socket", NX_IP_NORMAL, N… in thread_1_entry()
280 status = nx_udp_socket_bind(&snmp_manager_socket, 161, 200); in thread_1_entry()
298 status = nx_snmp_query_packet_send(&snmp_manager_socket, request_id, i); in thread_1_entry()
310 status = nx_udp_socket_receive(&snmp_manager_socket, &agent_packet, 200); in thread_1_entry()
344 nx_udp_socket_unbind(&snmp_manager_socket); in thread_1_entry()
347 nx_udp_socket_delete(&snmp_manager_socket); in thread_1_entry()
353 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT snmp_request_id, U… in nx_snmp_query_packet_send() argument
382 status = nx_udp_socket_send(snmp_manager_socket, response_packet, SNMP_AGENT_ADDRESS, 161); in nx_snmp_query_packet_send()
Dnetx_snmp_v2_send_trap_test.c39 static NX_UDP_SOCKET snmp_manager_socket; variable
60 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT request_id, UINT …
306 …status = nx_udp_socket_create(&manager_ip, &snmp_manager_socket, "Manager Socket", NX_IP_NORMAL, N… in thread_1_entry()
316 status = nx_udp_socket_bind(&snmp_manager_socket, 161, 200); in thread_1_entry()
334 status = nx_snmp_query_packet_send(&snmp_manager_socket, request_id, i); in thread_1_entry()
346 status = nx_udp_socket_receive(&snmp_manager_socket, &agent_packet, 200); in thread_1_entry()
380 nx_udp_socket_unbind(&snmp_manager_socket); in thread_1_entry()
383 nx_udp_socket_delete(&snmp_manager_socket); in thread_1_entry()
389 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT snmp_request_id, U… in nx_snmp_query_packet_send() argument
418 … status = nx_udp_socket_send(snmp_manager_socket, response_packet, IP_ADDRESS(10, 0, 0, 10), 161); in nx_snmp_query_packet_send()
Dnetx_snmp_setget_integers_test.c46 static NX_UDP_SOCKET snmp_manager_socket; variable
73 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT request_id, UINT …
275 …status = nx_udp_socket_create(&manager_ip, &snmp_manager_socket, "Manager Socket", NX_IP_NORMAL, N… in thread_1_entry()
285 status = nx_udp_socket_bind(&snmp_manager_socket, 161, 200); in thread_1_entry()
303 status = nx_snmp_query_packet_send(&snmp_manager_socket, request_id, i); in thread_1_entry()
315 status = nx_udp_socket_receive(&snmp_manager_socket, &agent_packet, 200); in thread_1_entry()
349 nx_udp_socket_unbind(&snmp_manager_socket); in thread_1_entry()
352 nx_udp_socket_delete(&snmp_manager_socket); in thread_1_entry()
358 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT snmp_request_id, U… in nx_snmp_query_packet_send() argument
387 status = nx_udp_socket_send(snmp_manager_socket, response_packet, SNMP_AGENT_ADDRESS, 161); in nx_snmp_query_packet_send()
Dnetx_snmp_setget_misc_test.c47 static NX_UDP_SOCKET snmp_manager_socket; variable
79 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT request_id, UINT …
289 …status = nx_udp_socket_create(&manager_ip, &snmp_manager_socket, "Manager Socket", NX_IP_NORMAL, N… in thread_1_entry()
299 status = nx_udp_socket_bind(&snmp_manager_socket, 161, 200); in thread_1_entry()
317 status = nx_snmp_query_packet_send(&snmp_manager_socket, request_id, i); in thread_1_entry()
329 status = nx_udp_socket_receive(&snmp_manager_socket, &agent_packet, 200); in thread_1_entry()
363 nx_udp_socket_unbind(&snmp_manager_socket); in thread_1_entry()
366 nx_udp_socket_delete(&snmp_manager_socket); in thread_1_entry()
372 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT snmp_request_id, U… in nx_snmp_query_packet_send() argument
401 status = nx_udp_socket_send(snmp_manager_socket, response_packet, SNMP_AGENT_ADDRESS, 161); in nx_snmp_query_packet_send()
Dnetx_snmp_v2_get_bulk_request_test.c41 static NX_UDP_SOCKET snmp_manager_socket; variable
61 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT request_id, UINT …
241 …status = nx_udp_socket_create(&manager_ip, &snmp_manager_socket, "Manager Socket", NX_IP_NORMAL, N… in thread_1_entry()
244 status |= nx_udp_socket_bind(&snmp_manager_socket, 0, 100); in thread_1_entry()
266 status = nx_snmp_query_packet_send(&snmp_manager_socket, request_id, i); in thread_1_entry()
276 status = nx_udp_socket_receive(&snmp_manager_socket, &agent_packet, NX_WAIT_FOREVER); in thread_1_entry()
333 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT snmp_request_id, U… in nx_snmp_query_packet_send() argument
360 status = nx_udp_socket_send(snmp_manager_socket, query_packet, IP_ADDRESS(10, 0, 0, 10), 161); in nx_snmp_query_packet_send()
Dnetx_snmp_v3_md5_security_test.c45 static NX_UDP_SOCKET snmp_manager_socket; variable
65 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT request_id, UINT …
267 …status = nx_udp_socket_create(&manager_ip, &snmp_manager_socket, "Manager Socket", NX_IP_NORMAL, N… in thread_1_entry()
270 status |= nx_udp_socket_bind(&snmp_manager_socket, 0, 100); in thread_1_entry()
292 status = nx_snmp_query_packet_send(&snmp_manager_socket, request_id, i); in thread_1_entry()
302 status = nx_udp_socket_receive(&snmp_manager_socket, &agent_packet, 100); in thread_1_entry()
362 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT snmp_request_id, U… in nx_snmp_query_packet_send() argument
389 status = nx_udp_socket_send(snmp_manager_socket, query_packet, SNMP_AGENT_ADDRESS, 161); in nx_snmp_query_packet_send()
Dnetx_snmp_v3_md5_failed_security_test.c47 static NX_UDP_SOCKET snmp_manager_socket; variable
68 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT request_id, UINT …
286 …status = nx_udp_socket_create(&manager_ip, &snmp_manager_socket, "Manager Socket", NX_IP_NORMAL, N… in thread_1_entry()
289 status |= nx_udp_socket_bind(&snmp_manager_socket, 0, 100); in thread_1_entry()
311 status = nx_snmp_query_packet_send(&snmp_manager_socket, request_id, i); in thread_1_entry()
321 status = nx_udp_socket_receive(&snmp_manager_socket, &agent_packet, 100); in thread_1_entry()
381 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT snmp_request_id, U… in nx_snmp_query_packet_send() argument
408 status = nx_udp_socket_send(snmp_manager_socket, query_packet, IP_ADDRESS(10, 0, 0, 10), 161); in nx_snmp_query_packet_send()
Dnetx_snmp_v3_no_security_function_test.c43 static NX_UDP_SOCKET snmp_manager_socket; variable
67 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT request_id, UINT …
287 …status = nx_udp_socket_create(&manager_ip, &snmp_manager_socket, "Manager Socket", NX_IP_NORMAL, N… in thread_1_entry()
290 status |= nx_udp_socket_bind(&snmp_manager_socket, 161, 100); in thread_1_entry()
312 status = nx_snmp_query_packet_send(&snmp_manager_socket, request_id, i); in thread_1_entry()
322 status = nx_udp_socket_receive(&snmp_manager_socket, &agent_packet, 100); in thread_1_entry()
384 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT snmp_request_id, U… in nx_snmp_query_packet_send() argument
410 status = nx_udp_socket_send(snmp_manager_socket, query_packet, IP_ADDRESS(10, 0, 0, 10), 161); in nx_snmp_query_packet_send()
Dnetx_snmp_abnormal_packet_test.c42 static NX_UDP_SOCKET snmp_manager_socket; variable
62 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT request_id, UINT …
307 …status = nx_udp_socket_create(&manager_ip, &snmp_manager_socket, "Manager Socket", NX_IP_NORMAL, N… in thread_1_entry()
310 status |= nx_udp_socket_bind(&snmp_manager_socket, 0, 100); in thread_1_entry()
351 status = nx_snmp_query_packet_send(&snmp_manager_socket, request_id, i); in thread_1_entry()
371 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT snmp_request_id, U… in nx_snmp_query_packet_send() argument
398 status = nx_udp_socket_send(snmp_manager_socket, query_packet, SNMP_AGENT_ADDRESS, 161); in nx_snmp_query_packet_send()
Dnetx_snmp_v3_md5_security_extended_test.c45 static NX_UDP_SOCKET snmp_manager_socket; variable
65 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT request_id, UINT …
267 …status = nx_udp_socket_create(&manager_ip, &snmp_manager_socket, "Manager Socket", NX_IP_NORMAL, N… in thread_1_entry()
270 status |= nx_udp_socket_bind(&snmp_manager_socket, 0, 100); in thread_1_entry()
292 status = nx_snmp_query_packet_send(&snmp_manager_socket, request_id, i); in thread_1_entry()
302 status = nx_udp_socket_receive(&snmp_manager_socket, &agent_packet, 100); in thread_1_entry()
362 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT snmp_request_id, U… in nx_snmp_query_packet_send() argument
389 status = nx_udp_socket_send(snmp_manager_socket, query_packet, SNMP_AGENT_ADDRESS, 161); in nx_snmp_query_packet_send()
Dnetx_snmp_v3_nosec_traplist_test.c42 static NX_UDP_SOCKET snmp_manager_socket; variable
64 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT request_id, UINT …
313 …status = nx_udp_socket_create(&manager_ip, &snmp_manager_socket, "Manager Socket", NX_IP_NORMAL, N… in thread_1_entry()
324 status = nx_udp_socket_bind(&snmp_manager_socket, 161, 200); in thread_1_entry()
365 status = nx_snmp_query_packet_send(&snmp_manager_socket, request_id, i); in thread_1_entry()
377 status = nx_udp_socket_receive(&snmp_manager_socket, &agent_packet, 400); in thread_1_entry()
598 status = nx_udp_socket_unbind(&snmp_manager_socket); in thread_1_entry()
601 status |= nx_udp_socket_delete(&snmp_manager_socket); in thread_1_entry()
612 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT snmp_request_id, U… in nx_snmp_query_packet_send() argument
641 … status = nx_udp_socket_send(snmp_manager_socket, response_packet, IP_ADDRESS(10, 0, 0, 10), 161); in nx_snmp_query_packet_send()
Dnetx_snmp_no_security_function_test.c85 static NX_UDP_SOCKET snmp_manager_socket; variable
117 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT request_id, UINT …
344 …status = nx_udp_socket_create(&manager_ip, &snmp_manager_socket, "Manager Socket", NX_IP_NORMAL, N… in thread_1_entry()
347 status |= nx_udp_socket_bind(&snmp_manager_socket, 0, TX_WAIT_FOREVER); in thread_1_entry()
372 status = nx_snmp_query_packet_send(&snmp_manager_socket, request_id, i); in thread_1_entry()
385 status = nx_udp_socket_receive(&snmp_manager_socket, &agent_packet, NX_WAIT_FOREVER); in thread_1_entry()
531 static UINT nx_snmp_query_packet_send(NX_UDP_SOCKET *snmp_manager_socket, UINT snmp_request_id, U… in nx_snmp_query_packet_send() argument
559 status = nx_udp_socket_send(snmp_manager_socket, query_packet, IP_ADDRESS(10, 0, 0, 10), 161); in nx_snmp_query_packet_send()