Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 14 of 14) sorted by relevance

/NetX-Duo-v6.2.1/common/src/
Dnx_icmpv6_process_echo_request.c92 ULONG tmp; in _nx_icmpv6_process_echo_request() local
284 tmp = ((USHORT)(~checksum) & 0xFFFF); in _nx_icmpv6_process_echo_request()
287 tmp -= (NX_ICMPV6_ECHO_REQUEST_TYPE << 8); in _nx_icmpv6_process_echo_request()
288 if (tmp > (ULONG)0x80000000) in _nx_icmpv6_process_echo_request()
290 tmp = (tmp & 0xFFFF) - 1; in _nx_icmpv6_process_echo_request()
294 tmp += (ULONG)(header_ptr -> nx_icmpv6_header_type << 8); in _nx_icmpv6_process_echo_request()
305 tmp = _nx_ip_checksum_compute(packet_ptr, in _nx_icmpv6_process_echo_request()
311 tmp = ~tmp; in _nx_icmpv6_process_echo_request()
313 header_ptr -> nx_icmpv6_header_checksum = (USHORT)(tmp); in _nx_icmpv6_process_echo_request()
324 tmp = (tmp >> 16) + (tmp & 0xFFFF); in _nx_icmpv6_process_echo_request()
[all …]
Dnxd_ipv6_prefix_router_timer_tick.c84 NX_IPV6_PREFIX_ENTRY *tmp, *prefix_entry; in _nxd_ipv6_prefix_router_timer_tick() local
152 tmp = prefix_entry; in _nxd_ipv6_prefix_router_timer_tick()
158 if (tmp -> nx_ipv6_prefix_entry_valid_lifetime != (UINT)0xFFFFFFFF) in _nxd_ipv6_prefix_router_timer_tick()
162 if (tmp -> nx_ipv6_prefix_entry_valid_lifetime == 0) in _nxd_ipv6_prefix_router_timer_tick()
166 _nx_ipv6_prefix_list_delete_entry(ip_ptr, tmp); in _nxd_ipv6_prefix_router_timer_tick()
172 tmp -> nx_ipv6_prefix_entry_valid_lifetime--; in _nxd_ipv6_prefix_router_timer_tick()
Dnx_ip_checksum_compute.c85 USHORT tmp; in _nx_ip_checksum_compute() local
151 tmp = (USHORT)checksum; in _nx_ip_checksum_compute()
152 NX_CHANGE_USHORT_ENDIAN(tmp); in _nx_ip_checksum_compute()
153 checksum = tmp; in _nx_ip_checksum_compute()
274 tmp = (USHORT)checksum; in _nx_ip_checksum_compute()
275 NX_CHANGE_USHORT_ENDIAN(tmp); in _nx_ip_checksum_compute()
278 return(tmp); in _nx_ip_checksum_compute()
Dnx_ipv6_util.c802 ULONG tmp; in IPv6_Address_Type() local
850 tmp = ip_address[0] & (0xFFC00000); in IPv6_Address_Type()
852 if (tmp == (ULONG)0xFE800000) in IPv6_Address_Type()
858 if (tmp == (ULONG)0xFEC00000) in IPv6_Address_Type()
863 tmp = ip_address[0] | ip_address[1] | ip_address[2]; in IPv6_Address_Type()
865 if (tmp == 0) in IPv6_Address_Type()
/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_huge_number_test.c33 HN_UBASE a_buf[10240], b_buf[10240], c_buf[10240], tmp[10240]; in thread_0_entry() local
113 status = _nx_crypto_huge_number_inverse_modulus( &b, &b, &c, tmp); in thread_0_entry()
118 status = _nx_crypto_huge_number_inverse_modulus( &b, &a, &c, tmp); in thread_0_entry()
152 _nx_crypto_huge_number_inverse_modulus_prime( &a, &b, &c, tmp); in thread_0_entry()
156 _nx_crypto_huge_number_inverse_modulus( &a, &b, &c, tmp); in thread_0_entry()
170 _nx_crypto_huge_number_rbg(63, (UCHAR *)tmp); in thread_0_entry()
171 _nx_crypto_huge_number_rbg(56, (UCHAR *)tmp); in thread_0_entry()
172 _nx_crypto_huge_number_rbg(32, (UCHAR *)tmp); in thread_0_entry()
173 _nx_crypto_huge_number_rbg(33, (UCHAR *)tmp); in thread_0_entry()
174 _nx_crypto_huge_number_rbg(41, (UCHAR *)tmp); in thread_0_entry()
[all …]
/NetX-Duo-v6.2.1/cmake/
Dutilities.cmake4 set(tmp ${azrtos_targets}) variable
12 list(APPEND tmp "azrtos::${dirname}")
14 set(azrtos_targets ${tmp} PARENT_SCOPE)
/NetX-Duo-v6.2.1/tsn/src/
Dnx_msrp.c140 NX_MRP_ATTRIBUTE *tmp; in nx_msrp_attribute_find() local
269 tmp = msrp_attribute; in nx_msrp_attribute_find()
275 tmp -> next = *attribute_ptr; in nx_msrp_attribute_find()
328 tmp -> next = *attribute_ptr; in nx_msrp_attribute_find()
334 tmp = msrp_attribute; in nx_msrp_attribute_find()
338 tmp -> next = *attribute_ptr; in nx_msrp_attribute_find()
358 tmp -> next = *attribute_ptr; in nx_msrp_attribute_find()
1702 USHORT tmp; in nx_msrp_mrpdu_pack_attribute() local
1735 tmp = (USHORT)(lva_event << 13 | num_of_value); in nx_msrp_mrpdu_pack_attribute()
1736 *data_ptr++ = (UCHAR)(tmp >> 8); in nx_msrp_mrpdu_pack_attribute()
[all …]
Dnx_mrp.c807 NX_MRP_ATTRIBUTE *tmp; in nx_mrp_attribute_new() local
821 tmp = (NX_MRP_ATTRIBUTE *)buf; in nx_mrp_attribute_new()
822 if (tmp -> in_use == NX_FALSE) in nx_mrp_attribute_new()
834 tmp -> in_use = NX_TRUE; in nx_mrp_attribute_new()
835 tmp -> pre = NX_NULL; in nx_mrp_attribute_new()
836 tmp -> next = NX_NULL; in nx_mrp_attribute_new()
838 nx_mrp_applicant_event_process(mrp, participant, tmp, NX_MRP_EVENT_BEGIN); in nx_mrp_attribute_new()
839 nx_mrp_registrar_event_process(mrp, participant, tmp, NX_MRP_EVENT_BEGIN); in nx_mrp_attribute_new()
841 return(tmp); in nx_mrp_attribute_new()
Dnx_shaper.c1443 UINT tmp; in nx_shaper_sdu_tx_time_get() local
1445 tmp = sdu_size * 8; in nx_shaper_sdu_tx_time_get()
1446 tmp = tmp * 1000; in nx_shaper_sdu_tx_time_get()
1449 tmp = tmp / interface_ptr -> shaper_container -> port_rate; in nx_shaper_sdu_tx_time_get()
1456 *tx_time = tmp; in nx_shaper_sdu_tx_time_get()
/NetX-Duo-v6.2.1/test/regression/mdns_test/
Dnetx_mdns_run_test_case.c185 USHORT tmp; in perform_check_mdns_data() local
213 tmp = *((USHORT*)(assemble_pkt_data + 8)); in perform_check_mdns_data()
214 NX_CHANGE_USHORT_ENDIAN(tmp); in perform_check_mdns_data()
215 answer_cnt += tmp; in perform_check_mdns_data()
216 tmp = *((USHORT*)(assemble_pkt_data + 10)); in perform_check_mdns_data()
217 NX_CHANGE_USHORT_ENDIAN(tmp); in perform_check_mdns_data()
218 answer_cnt += tmp; in perform_check_mdns_data()
/NetX-Duo-v6.2.1/addons/web/
Dnx_web_http_client.c1967 UCHAR tmp; in _nx_web_http_client_response_byte_expect() local
1970 …status = _nx_web_http_client_response_read(client_ptr, &tmp, wait_option, current_packet_pptr, cur… in _nx_web_http_client_response_byte_expect()
1978 if (tmp != data) in _nx_web_http_client_response_byte_expect()
2041 UCHAR tmp; in _nx_web_http_client_chunked_size_get() local
2058 …status = _nx_web_http_client_response_read(client_ptr, &tmp, wait_option, current_packet_pptr, cur… in _nx_web_http_client_chunked_size_get()
2065 if (chunk_extension && (tmp != '\r')) in _nx_web_http_client_chunked_size_get()
2071 if ((tmp >= 'a') && (tmp <= 'f')) in _nx_web_http_client_chunked_size_get()
2073 size = (size << 4) + 10 + (UINT)(tmp - 'a'); in _nx_web_http_client_chunked_size_get()
2075 else if ((tmp >= 'A') && (tmp <= 'F')) in _nx_web_http_client_chunked_size_get()
2077 size = (size << 4) + 10 + (UINT)(tmp - 'A'); in _nx_web_http_client_chunked_size_get()
[all …]
Dnx_web_http_server.c8973 UCHAR tmp; in _nx_web_http_server_request_byte_expect() local
8976 …status = _nx_web_http_server_request_read(server_ptr, &tmp, wait_option, current_packet_pptr, curr… in _nx_web_http_server_request_byte_expect()
8984 if (tmp != data) in _nx_web_http_server_request_byte_expect()
9047 UCHAR tmp; in _nx_web_http_server_chunked_size_get() local
9064 …status = _nx_web_http_server_request_read(server_ptr, &tmp, wait_option, current_packet_pptr, curr… in _nx_web_http_server_chunked_size_get()
9071 if (chunk_extension && (tmp != '\r')) in _nx_web_http_server_chunked_size_get()
9077 if ((tmp >= 'a') && (tmp <= 'f')) in _nx_web_http_server_chunked_size_get()
9079 size = (size << 4) + 10 + (UINT)(tmp - 'a'); in _nx_web_http_server_chunked_size_get()
9081 else if ((tmp >= 'A') && (tmp <= 'F')) in _nx_web_http_server_chunked_size_get()
9083 size = (size << 4) + 10 + (UINT)(tmp - 'A'); in _nx_web_http_server_chunked_size_get()
[all …]
/NetX-Duo-v6.2.1/addons/websocket/
Dnx_websocket_client.c1437 ULONG tmp; in _nx_websocket_client_send() local
1518 tmp = (ULONG)NX_RAND(); in _nx_websocket_client_send()
1519 masking_key[0] = (UCHAR)(tmp >> 24); in _nx_websocket_client_send()
1520 masking_key[1] = (UCHAR)(tmp >> 16); in _nx_websocket_client_send()
1521 masking_key[2] = (UCHAR)(tmp >> 8); in _nx_websocket_client_send()
1522 masking_key[3] = (UCHAR)(tmp); in _nx_websocket_client_send()
/NetX-Duo-v6.2.1/utility/iperf/
Dnx_iperf.c4037 ULONG tmp; in nx_iperf_thread_udp_rx_entry() local
4136 tmp = (ULONG)packetID; in nx_iperf_thread_udp_rx_entry()
4137 NX_CHANGE_ULONG_ENDIAN(tmp); in nx_iperf_thread_udp_rx_entry()
4138 packetID = (int)tmp; in nx_iperf_thread_udp_rx_entry()
4266 ULONG tmp; in nx_iperf_send_udp_packet() local
4297 tmp = (ULONG)payload_ptr -> udp_id; in nx_iperf_send_udp_packet()
4298 NX_CHANGE_ULONG_ENDIAN(tmp); in nx_iperf_send_udp_packet()
4299 payload_ptr -> udp_id = (int)tmp; in nx_iperf_send_udp_packet()