| /NetX-Duo-v6.2.1/test/regression/snmp_test/ |
| D | netx_snmp_abnormal_packet_test.c | 374 NX_PACKET *query_packet; in nx_snmp_query_packet_send() local 377 status = nx_packet_allocate(&pool_0, &query_packet, NX_UDP_PACKET, 100); in nx_snmp_query_packet_send() 386 …memset(query_packet -> nx_packet_prepend_ptr, 0, (query_packet -> nx_packet_data_end - query_packe… in nx_snmp_query_packet_send() 389 memcpy(query_packet -> nx_packet_prepend_ptr, in nx_snmp_query_packet_send() 394 query_packet -> nx_packet_length = snmp_query[packet_number].snmp_query_pkt_size; in nx_snmp_query_packet_send() 395 …query_packet -> nx_packet_append_ptr = query_packet -> nx_packet_prepend_ptr + query_packet -> nx… in nx_snmp_query_packet_send() 398 status = nx_udp_socket_send(snmp_manager_socket, query_packet, SNMP_AGENT_ADDRESS, 161); in nx_snmp_query_packet_send() 402 nx_packet_release(query_packet); in nx_snmp_query_packet_send()
|
| D | netx_snmp_v2_get_bulk_request_test.c | 336 NX_PACKET *query_packet; in nx_snmp_query_packet_send() local 339 status = nx_packet_allocate(&pool_0, &query_packet, NX_UDP_PACKET, 100); in nx_snmp_query_packet_send() 348 …memset(query_packet -> nx_packet_prepend_ptr, 0, (query_packet -> nx_packet_data_end - query_packe… in nx_snmp_query_packet_send() 351 memcpy(query_packet -> nx_packet_prepend_ptr, in nx_snmp_query_packet_send() 356 query_packet -> nx_packet_length = snmp_query[packet_number].snmp_query_pkt_size; in nx_snmp_query_packet_send() 357 …query_packet -> nx_packet_append_ptr = query_packet -> nx_packet_prepend_ptr + query_packet -> nx… in nx_snmp_query_packet_send() 360 status = nx_udp_socket_send(snmp_manager_socket, query_packet, IP_ADDRESS(10, 0, 0, 10), 161); in nx_snmp_query_packet_send() 364 nx_packet_release(query_packet); in nx_snmp_query_packet_send()
|
| D | netx_snmp_v3_md5_security_test.c | 365 NX_PACKET *query_packet; in nx_snmp_query_packet_send() local 368 status = nx_packet_allocate(&pool_0, &query_packet, NX_UDP_PACKET, 100); in nx_snmp_query_packet_send() 377 …memset(query_packet -> nx_packet_prepend_ptr, 0, (query_packet -> nx_packet_data_end - query_packe… in nx_snmp_query_packet_send() 380 memcpy(query_packet -> nx_packet_prepend_ptr, in nx_snmp_query_packet_send() 385 query_packet -> nx_packet_length = snmp_query[packet_number].snmp_query_pkt_size; in nx_snmp_query_packet_send() 386 …query_packet -> nx_packet_append_ptr = query_packet -> nx_packet_prepend_ptr + query_packet -> nx… in nx_snmp_query_packet_send() 389 status = nx_udp_socket_send(snmp_manager_socket, query_packet, SNMP_AGENT_ADDRESS, 161); in nx_snmp_query_packet_send() 393 nx_packet_release(query_packet); in nx_snmp_query_packet_send()
|
| D | netx_snmp_v3_md5_failed_security_test.c | 384 NX_PACKET *query_packet; in nx_snmp_query_packet_send() local 387 status = nx_packet_allocate(&pool_0, &query_packet, NX_UDP_PACKET, 100); in nx_snmp_query_packet_send() 396 …memset(query_packet -> nx_packet_prepend_ptr, 0, (query_packet -> nx_packet_data_end - query_packe… in nx_snmp_query_packet_send() 399 memcpy(query_packet -> nx_packet_prepend_ptr, in nx_snmp_query_packet_send() 404 query_packet -> nx_packet_length = snmp_query[packet_number].snmp_query_pkt_size; in nx_snmp_query_packet_send() 405 …query_packet -> nx_packet_append_ptr = query_packet -> nx_packet_prepend_ptr + query_packet -> nx… in nx_snmp_query_packet_send() 408 status = nx_udp_socket_send(snmp_manager_socket, query_packet, IP_ADDRESS(10, 0, 0, 10), 161); in nx_snmp_query_packet_send() 412 nx_packet_release(query_packet); in nx_snmp_query_packet_send()
|
| D | netx_snmp_v3_no_security_function_test.c | 387 NX_PACKET *query_packet; in nx_snmp_query_packet_send() local 390 status = nx_packet_allocate(&pool_0, &query_packet, NX_UDP_PACKET, 100); in nx_snmp_query_packet_send() 398 …memset(query_packet -> nx_packet_prepend_ptr, 0, (query_packet -> nx_packet_data_end - query_packe… in nx_snmp_query_packet_send() 401 memcpy(query_packet -> nx_packet_prepend_ptr, in nx_snmp_query_packet_send() 406 query_packet -> nx_packet_length = snmp_query[packet_number].snmp_query_pkt_size; in nx_snmp_query_packet_send() 407 …query_packet -> nx_packet_append_ptr = query_packet -> nx_packet_prepend_ptr + query_packet -> nx… in nx_snmp_query_packet_send() 410 status = nx_udp_socket_send(snmp_manager_socket, query_packet, IP_ADDRESS(10, 0, 0, 10), 161); in nx_snmp_query_packet_send() 414 nx_packet_release(query_packet); in nx_snmp_query_packet_send()
|
| D | netx_snmp_v3_md5_security_extended_test.c | 365 NX_PACKET *query_packet; in nx_snmp_query_packet_send() local 368 status = nx_packet_allocate(&pool_0, &query_packet, NX_UDP_PACKET, 100); in nx_snmp_query_packet_send() 377 …memset(query_packet -> nx_packet_prepend_ptr, 0, (query_packet -> nx_packet_data_end - query_packe… in nx_snmp_query_packet_send() 380 memcpy(query_packet -> nx_packet_prepend_ptr, in nx_snmp_query_packet_send() 385 query_packet -> nx_packet_length = snmp_query[packet_number].snmp_query_pkt_size; in nx_snmp_query_packet_send() 386 …query_packet -> nx_packet_append_ptr = query_packet -> nx_packet_prepend_ptr + query_packet -> nx… in nx_snmp_query_packet_send() 389 status = nx_udp_socket_send(snmp_manager_socket, query_packet, SNMP_AGENT_ADDRESS, 161); in nx_snmp_query_packet_send() 393 nx_packet_release(query_packet); in nx_snmp_query_packet_send()
|
| D | netx_snmp_no_security_function_test.c | 534 NX_PACKET *query_packet; in nx_snmp_query_packet_send() local 537 status = nx_packet_allocate(&nosec_pool, &query_packet, NX_UDP_PACKET, TX_WAIT_FOREVER); in nx_snmp_query_packet_send() 551 …memcpy(query_packet -> nx_packet_prepend_ptr, snmp_query[packet_number].snmp_query_pkt_data, snmp_… in nx_snmp_query_packet_send() 554 …query_packet -> nx_packet_length = snmp_query[packet_number].snmp_query_pkt_size - SNMP_START_OFF… in nx_snmp_query_packet_send() 555 …query_packet -> nx_packet_append_ptr = query_packet -> nx_packet_prepend_ptr + query_packet -> nx… in nx_snmp_query_packet_send() 559 status = nx_udp_socket_send(snmp_manager_socket, query_packet, IP_ADDRESS(10, 0, 0, 10), 161); in nx_snmp_query_packet_send() 568 nx_packet_release(query_packet); in nx_snmp_query_packet_send()
|