Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 44) sorted by relevance

12

/NetX-Duo-v6.2.1/test/regression/tsn_test/
Dnetx_shaper_cbs_test.c237 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_NORMAL; in thread_0_entry()
241 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_CBS; in thread_0_entry()
245 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_CBS; in thread_0_entry()
268 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_NORMAL; in thread_0_entry()
272 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_CBS; in thread_0_entry()
276 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_CBS; in thread_0_entry()
280 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_NORMAL; in thread_0_entry()
303 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_NORMAL; in thread_0_entry()
307 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_CBS; in thread_0_entry()
311 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_CBS; in thread_0_entry()
[all …]
Dnetx_shaper_tas_test.c252 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_NORMAL; in thread_0_entry()
256 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_CBS; in thread_0_entry()
260 hw_queue[index++].type = NX_SHAPER_HW_QUEUE_CBS; in thread_0_entry()
/NetX-Duo-v6.2.1/test/regression/http_test/
Dnetx_http_server_type_retrieve_test.c104 UCHAR type[20]; in thread_server_entry() local
118 type_length = nx_http_server_type_get(&my_server, "test.htm", type); in thread_server_entry()
121 type_length = nx_http_server_type_get_extended(&my_server, "test.htm", 8, type, sizeof(type)); in thread_server_entry()
126 type_length = nx_http_server_type_get_extended(&my_server, "test.htm", 8, type, 9); in thread_server_entry()
131 type_length = nx_http_server_type_get(&my_server, "test.xml", type); in thread_server_entry()
134 type_length = nx_http_server_type_get_extended(&my_server, "test.xml", 8, type, sizeof(type)); in thread_server_entry()
139 type_length = nx_http_server_type_get_extended(&my_server, "test.xml", 8, type, 5); in thread_server_entry()
144 type_length = nx_http_server_type_get(&my_server, "test", type); in thread_server_entry()
147 type_length = nx_http_server_type_get_extended(&my_server, "test", 4, type, sizeof(type)); in thread_server_entry()
152 type_length = nx_http_server_type_get_extended(&my_server, "test", 4, type, 5); in thread_server_entry()
/NetX-Duo-v6.2.1/test/regression/web_test/
Dnetx_web_server_type_get_extended_test.c101 UCHAR type[20]; in thread_server_entry() local
148 …status = nx_web_http_server_type_get_extended(&my_server, "test.htm", 8, type, sizeof(type), &type… in thread_server_entry()
153 status = nx_web_http_server_type_get_extended(&my_server, "test.htm", 8, type, 9, &type_length); in thread_server_entry()
158 …status = nx_web_http_server_type_get_extended(&my_server, "test.xml", 8, type, sizeof(type), &type… in thread_server_entry()
163 status = nx_web_http_server_type_get_extended(&my_server, "test.xml", 8, type, 5, &type_length); in thread_server_entry()
168 …status = nx_web_http_server_type_get_extended(&my_server, "test", 4, type, sizeof(type), &type_len… in thread_server_entry()
173 status = nx_web_http_server_type_get_extended(&my_server, "test", 4, type, 5, &type_length); in thread_server_entry()
/NetX-Duo-v6.2.1/test/regression/bsd_test/
Dnetx_bsd_raw_pppoe_test.c141 USHORT type; in ntest_0_entry() local
197 type = (rcvBuffer[12] << 8) | rcvBuffer[13]; in ntest_0_entry()
198 if(type != ETHERTYPE_PPPOE_SESS) in ntest_0_entry()
215 type = (rcvBuffer[12] << 8) | rcvBuffer[13]; in ntest_0_entry()
216 if(type != ETHERTYPE_PPPOE_SESS) in ntest_0_entry()
231 type = (rcvBuffer[12] << 8) | rcvBuffer[13]; in ntest_0_entry()
232 if(type != ETHERTYPE_PPPOE_DISC) in ntest_0_entry()
247 type = (rcvBuffer[12] << 8) | rcvBuffer[13]; in ntest_0_entry()
248 if(type != ETHERTYPE_PPPOE_DISC) in ntest_0_entry()
298 type = (rcvBuffer[12] << 8) | rcvBuffer[13]; in ntest_0_entry()
[all …]
/NetX-Duo-v6.2.1/samples/
Ddemo_netx_duo_mdns.c191 static void register_local_service(UCHAR *instance, UCHAR *type, UCHAR *subtype, UCHAR *txt, UINT t… in register_local_service() argument
196 …status = nx_mdns_service_add(&mdns, instance, type, subtype, txt, ttl, (USHORT)priority, (USHORT)w… in register_local_service()
199 printf("Local Service Added: %s %s ", instance, type); in register_local_service()
208 static void delete_local_service(UCHAR *instance, UCHAR *type, UCHAR *subtype) in delete_local_service() argument
214 if(type) in delete_local_service()
215 printf("type %s ", type); in delete_local_service()
219 status = nx_mdns_service_delete(&mdns, instance, type, subtype); in delete_local_service()
242 static void perform_oneshot_query(UCHAR *instance, UCHAR *type, UCHAR *subtype, UINT timeout) in perform_oneshot_query() argument
249 if(type) in perform_oneshot_query()
250 printf("type %s ", type); in perform_oneshot_query()
[all …]
/NetX-Duo-v6.2.1/addons/mdns/
Dnxd_mdns.h1296 UINT _nx_mdns_service_add(NX_MDNS *mdns_ptr, UCHAR *name, UCHAR *type, UCHAR *sub_type, UCHA…
1298 UINT _nxe_mdns_service_add(NX_MDNS *mdns_ptr, UCHAR *name, UCHAR *type, UCHAR *sub_type, UCH…
1300 UINT _nx_mdns_service_delete(NX_MDNS *mdns_ptr, UCHAR *name, UCHAR *type, UCHAR *sub_type);
1301 UINT _nxe_mdns_service_delete(NX_MDNS *mdns_ptr, UCHAR *name, UCHAR *type, UCHAR *sub_type);
1307 UINT _nx_mdns_service_one_shot_query(NX_MDNS *mdns_ptr, UCHAR *name, UCHAR *type, UCHAR *sub…
1308 UINT _nxe_mdns_service_one_shot_query(NX_MDNS *mdns_ptr, UCHAR *name, UCHAR *type, UCHAR *su…
1309 UINT _nx_mdns_service_continuous_query(NX_MDNS *mdns_ptr, UCHAR *name, UCHAR *type, UCHAR *s…
1310 UINT _nxe_mdns_service_continuous_query(NX_MDNS *mdns_ptr, UCHAR *name, UCHAR *type, UCHAR *…
1311 UINT _nx_mdns_service_query_stop(NX_MDNS *mdns_ptr, UCHAR *name, UCHAR *type, UCHAR *sub_typ…
1312 UINT _nxe_mdns_service_query_stop(NX_MDNS *mdns_ptr, UCHAR *name, UCHAR *type, UCHAR *sub_ty…
[all …]
Dnxd_mdns.c72 static UINT _nx_mdns_packet_create(NX_MDNS *mdns_ptr, NX_PACKET **packet_ptr, UCHAR type);
80 static UINT _nx_mdns_service_name_assemble(UCHAR *name, UCHAR *type, UCHAR *sub_type, UCHAR…
81 static UINT _nx_mdns_service_name_resolve(UCHAR *srv_name, UCHAR **name, UCHAR **type, UCHA…
95 static UINT _nx_mdns_host_name_register(NX_MDNS *mdns_ptr, UCHAR type, UINT interface_index…
96 static UINT _nx_mdns_service_interface_delete(NX_MDNS *mdns_ptr, UCHAR *name, UCHAR *type, …
98 …d(NX_MDNS *mdns_ptr, UCHAR *name, ULONG *address, UINT addr_length, UCHAR type, UINT interface_ind…
105 …ec_add(NX_MDNS *mdns_ptr, UCHAR *name, UCHAR add_a, UCHAR add_aaaa, UCHAR type, UINT interface_ind…
108 static UINT _nx_mdns_rr_parameter_set(NX_MDNS *mdns_ptr, UCHAR *name, USHORT type, ULONG tt…
127 static UINT _nx_mdns_one_shot_query(NX_MDNS *mdns_ptr, UCHAR *name, USHORT type, NX_MDNS_RR…
128 static UINT _nx_mdns_continuous_query(NX_MDNS *mdns_ptr, UCHAR *name, USHORT type, UINT int…
[all …]
/NetX-Duo-v6.2.1/test/regression/mdns_test/
Dnetx_mdns_run_test_case.c186 USHORT type; in perform_check_mdns_data() local
239 type = *pkt_data; in perform_check_mdns_data()
240 type = (type << 8) + *(pkt_data + 1); in perform_check_mdns_data()
250 if((type == NX_MDNS_RR_TYPE_PTR) || in perform_check_mdns_data()
251 (type == NX_MDNS_RR_TYPE_SRV)) in perform_check_mdns_data()
255 if(type == NX_MDNS_RR_TYPE_SRV) in perform_check_mdns_data()
688 … nx_mdns_service_continuous_query(mdns_ptr, query -> name, query -> type, query -> sub_type); in netx_mdns_run_test_case()
694 nx_mdns_service_query_stop(mdns_ptr, query -> name, query -> type, query -> sub_type); in netx_mdns_run_test_case()
716 …nx_mdns_service_delete(mdns_ptr, mdns_service -> name, mdns_service -> type, mdns_service -> sub_t… in netx_mdns_run_test_case()
720 …nx_mdns_service_add(mdns_ptr, mdns_service -> name, mdns_service -> type, mdns_service -> sub_type… in netx_mdns_run_test_case()
Dnetx_mdns_test.h123 char *type; member
137 char *type; member
/NetX-Duo-v6.2.1/test/regression/netxduo_test/
Dnetx_rarp_multiple_interfaces_test.c36 static VOID fake_rarp_response_packet(NX_PACKET **my_packet, UINT type);
186 static VOID fake_rarp_response_packet(NX_PACKET **packet_ptr, UINT type) in fake_rarp_response_packet() argument
208 if (type == NX_RARP_OPTION_REQUEST) in fake_rarp_response_packet()
213 else if (type == NX_RARP_OPTION_RESPONSE) in fake_rarp_response_packet()
Dnetx_rarp_basic_processing_test.c38 static VOID fake_rarp_response_packet(NX_PACKET **my_packet, UINT type);
344 static VOID fake_rarp_response_packet(NX_PACKET **packet_ptr, UINT type) in fake_rarp_response_packet() argument
366 if (type == NX_RARP_OPTION_REQUEST) in fake_rarp_response_packet()
371 else if (type == NX_RARP_OPTION_RESPONSE) in fake_rarp_response_packet()
Dnetx_ipv6_address_get_test.c38 static void my_ipv6_addrress_change_notify(NX_IP *ip_tr, UINT type, UINT interface_index, UINT ad…
216 static void my_ipv6_addrress_change_notify(NX_IP *ip_tr, UINT type, UINT interface_index, UINT ad… in my_ipv6_addrress_change_notify() argument
/NetX-Duo-v6.2.1/tsn/src/
Dnx_shaper.c275 …haper_hw_queue_set(interface_ptr, hw_queue[i].hw_queue_id, hw_queue[i].priority, hw_queue[i].type); in nx_shaper_config()
325 … nx_shaper_hw_queue_set(NX_INTERFACE *interface_ptr, UCHAR hw_queue_id, UCHAR priority, UCHAR type) in nx_shaper_hw_queue_set() argument
339 (interface_ptr -> shaper_container -> hw_queue[i].type != NX_SHAPER_HW_QUEUE_NONE)) in nx_shaper_hw_queue_set()
347 interface_ptr -> shaper_container -> hw_queue[i].type |= type; in nx_shaper_hw_queue_set()
356 if (interface_ptr -> shaper_container -> hw_queue[i].type == NX_SHAPER_HW_QUEUE_NONE) in nx_shaper_hw_queue_set()
383 interface_ptr -> shaper_container -> hw_queue[insert_id].type = type; in nx_shaper_hw_queue_set()
793 if (interface_ptr -> shaper_container -> hw_queue[i].type & NX_SHAPER_HW_QUEUE_CBS) in nx_shaper_hw_cbs_queue_number_get()
1003 … if ((interface_ptr -> shaper_container -> hw_queue[i].type & NX_SHAPER_HW_QUEUE_CBS) == 0) in nx_shaper_cbs_parameter_set()
/NetX-Duo-v6.2.1/test/regression/ftp_test/
Dnetx_ftp_access_control_commands_03_test.c372 CHAR type; in thread_server_entry() local
392 type = ftp_server.nx_ftp_server_client_list[0].nx_ftp_client_request_transfer_type; in thread_server_entry()
401 if(type != ftp_server.nx_ftp_server_client_list[0].nx_ftp_client_request_transfer_type) in thread_server_entry()
407 if(type != ftp_server.nx_ftp_server_client_list[0].nx_ftp_client_request_transfer_type) in thread_server_entry()
/NetX-Duo-v6.2.1/test/regression/azure_iot/
Duser_agent_string_unit_test.c189 UCHAR type; in interface_type_check() local
200type = *(iot_client.iot_hub_client_core._internal.options.user_agent._internal.ptr + index + 3) - … in interface_type_check()
201 if (type == interface_type) in interface_type_check()
/NetX-Duo-v6.2.1/addons/nat/
Dnx_nat.c1913 UINT type; in _nx_nat_process_inbound_ICMP_packet() local
1938 type = icmp_header_ptr -> nx_icmp_header_word_0 >> 24; in _nx_nat_process_inbound_ICMP_packet()
1973 if ((type != NX_ICMP_ECHO_REPLY_TYPE) && in _nx_nat_process_inbound_ICMP_packet()
1974 (type != NX_ICMP_ECHO_REQUEST_TYPE)) in _nx_nat_process_inbound_ICMP_packet()
1989 …if ((type == NX_ICMP_ECHO_REPLY_TYPE) && (record_entry -> external_port != record_entry -> local_p… in _nx_nat_process_inbound_ICMP_packet()
2572 UINT type; in _nx_nat_process_outbound_ICMP_packet() local
2594 type = icmp_header_ptr -> nx_icmp_header_word_0 >> 24; in _nx_nat_process_outbound_ICMP_packet()
2637 …if ((type != NX_ICMP_ECHO_REPLY_TYPE) && (record_entry -> external_port != record_entry -> local_p… in _nx_nat_process_outbound_ICMP_packet()
4446 UINT type; in _nx_nat_packet_is_icmp_error_message() local
4469 type = icmp_header_ptr -> nx_icmp_header_word_0 >> 24; in _nx_nat_packet_is_icmp_error_message()
[all …]
/NetX-Duo-v6.2.1/tsn/inc/
Dnx_shaper.h117 UCHAR type; member
209 …nx_shaper_hw_queue_set(NX_INTERFACE *interface_ptr, UCHAR hw_queue_id, UCHAR priority, UCHAR type);
/NetX-Duo-v6.2.1/addons/azure_iot/
Dnx_azure_iot_adu_agent.h475 const UCHAR *type; member
591 UINT type; member
Dnx_azure_iot_adu_agent.c65 UINT type, UCHAR *buffer_ptr, UINT buffer_size,
756 … (!memcmp(step -> type, NX_AZURE_IOT_ADU_AGENT_STEP_TYPE_INLINE, step -> type_length))) || in nx_azure_iot_adu_agent_update_check_event_process()
794 … (!memcmp(step -> type, NX_AZURE_IOT_ADU_AGENT_STEP_TYPE_REFERENCE, step -> type_length))) in nx_azure_iot_adu_agent_update_check_event_process()
2066 … UINT type, UCHAR *manifest_buffer_ptr, UINT manifest_buffer_size, in nx_azure_iot_adu_agent_method_download() argument
2088 …if (((type == NX_AZURE_IOT_ADU_AGENT_DOWNLOADER_TYPE_FIRMWARE) && (adu_agent_driver == NX_NULL)) || in nx_azure_iot_adu_agent_method_download()
2089 …((type == NX_AZURE_IOT_ADU_AGENT_DOWNLOADER_TYPE_MANIFEST) && ((manifest_buffer_ptr == NX_NULL) ||… in nx_azure_iot_adu_agent_method_download()
2100 downloader_ptr -> type = type; in nx_azure_iot_adu_agent_method_download()
2108 if (type == NX_AZURE_IOT_ADU_AGENT_DOWNLOADER_TYPE_FIRMWARE) in nx_azure_iot_adu_agent_method_download()
2824 … NX_AZURE_IOT_ADU_AGENT_PTR_UPDATE(update_manifest_content -> steps[i].type, in nx_azure_iot_adu_agent_service_update_manifest_process()
4452 if (downloader_ptr -> type == NX_AZURE_IOT_ADU_AGENT_DOWNLOADER_TYPE_FIRMWARE) in nx_azure_iot_adu_agent_http_response_receive()
[all …]
/NetX-Duo-v6.2.1/test/cmake/web/
DCMakeLists.txt24 message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")
/NetX-Duo-v6.2.1/test/cmake/azure_iot/
DCMakeLists.txt38 message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")
/NetX-Duo-v6.2.1/test/cmake/ptp/
DCMakeLists.txt29 message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")
/NetX-Duo-v6.2.1/addons/rtp/
Dnx_rtp_sender.c3099 UCHAR type = 255; /* type field for main jpeg header. */ in _nx_rtp_sender_session_jpeg_send() local
3207 type = 0; /* YUV420. */ in _nx_rtp_sender_session_jpeg_send()
3211 type = 1; /* YUV422. */ in _nx_rtp_sender_session_jpeg_send()
3349 if (((type != 0) && (type != 1)) || (q_overall_table_num == 0)) in _nx_rtp_sender_session_jpeg_send()
3372 jpeg_header[4] = type; in _nx_rtp_sender_session_jpeg_send()
/NetX-Duo-v6.2.1/test/cmake/mqtt/
DCMakeLists.txt27 message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")

12