Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 65) sorted by relevance

123

/NetX-Duo-v6.2.1/addons/mdns/
Dnxd_mdns.c1458 UINT _nxe_mdns_service_announcement_timing_set(NX_MDNS *mdns_ptr, UINT t, UINT p, UINT k, UINT retr… in _nxe_mdns_service_announcement_timing_set() argument
1465 if ((!mdns_ptr) || (!t) || (!p) || (!k) || (!period_interval) || (!max_time)) in _nxe_mdns_service_announcement_timing_set()
1477 …status = _nx_mdns_service_announcement_timing_set(mdns_ptr, t, p, k, retrans_interval, period_int… in _nxe_mdns_service_announcement_timing_set()
1531 UINT _nx_mdns_service_announcement_timing_set(NX_MDNS *mdns_ptr, UINT t, UINT p, UINT k, UINT retra… in _nx_mdns_service_announcement_timing_set() argument
1542 mdns_ptr -> nx_mdns_announcing_count = (UCHAR)p; in _nx_mdns_service_announcement_timing_set()
1683 NX_MDNS_RR *p; in _nx_mdns_enable() local
1790 …for(p = (NX_MDNS_RR*)((UCHAR*)mdns_ptr -> nx_mdns_local_service_cache + sizeof(ULONG)); (ULONG*)p in _nx_mdns_enable()
1794 if (p -> nx_mdns_rr_interface_index != interface_index) in _nx_mdns_enable()
1798 if (p -> nx_mdns_rr_state == NX_MDNS_RR_STATE_INVALID) in _nx_mdns_enable()
1802 if ((p -> nx_mdns_rr_state == NX_MDNS_RR_STATE_GOODBYE) && in _nx_mdns_enable()
[all …]
/NetX-Duo-v6.2.1/test/regression/mdns_test/
Dnetx_mdns_announcement_repeat_test.c32 static UINT p; variable
158 p = 1; in ntest_0_entry()
163 retransmit_count = p; in ntest_0_entry()
166 …nx_mdns_service_announcement_timing_set(&mdns_0, t, p, k, retrans_interval, period_interval, max_t… in ntest_0_entry()
191 p = 1; in ntest_0_entry()
196 retransmit_count = p; in ntest_0_entry()
199 …nx_mdns_service_announcement_timing_set(&mdns_0, t, p, k, retrans_interval, period_interval, max_t… in ntest_0_entry()
224 p = 2; in ntest_0_entry()
229 retransmit_count = p; in ntest_0_entry()
232 …nx_mdns_service_announcement_timing_set(&mdns_0, t, p, k, retrans_interval, period_interval, max_t… in ntest_0_entry()
[all …]
Dnetx_mdns_ipv6_string_test.c165 NX_MDNS_RR *p; in ntest_0_entry() local
291 for (p = (NX_MDNS_RR*)(head + 1); (ULONG*)p < tail; p++) in ntest_0_entry()
295 if (p -> nx_mdns_rr_state == NX_MDNS_RR_STATE_INVALID) in ntest_0_entry()
299 if (p -> nx_mdns_rr_type == NX_MDNS_RR_TYPE_PTR) in ntest_0_entry()
301 …if (memcmp(p -> nx_mdns_rr_name, "_services._dns-sd._udp.local", strlen("_services._dns-sd._udp.lo… in ntest_0_entry()
302 ptr = p; in ntest_0_entry()
304 dns_sd_ptr = p; in ntest_0_entry()
306 else if (p -> nx_mdns_rr_type == NX_MDNS_RR_TYPE_AAAA) in ntest_0_entry()
307 aaaa = p; in ntest_0_entry()
308 else if (p -> nx_mdns_rr_type == NX_MDNS_RR_TYPE_SRV) in ntest_0_entry()
[all …]
/NetX-Duo-v6.2.1/test/regression/interoperability_test/test_frame/
Dtls_test_frame.h219 #define return_value_if_fail( p, val) if(!(p)){print_error_message("Error! %s:%d, "#p" failed.\n", … argument
221 #define exit_if_fail( p, val) if(!(p)){print_error_message("Error! %s:%d, "#p" failed.\n", __func__… argument
223 #define show_error_message_if_fail( p) if(!(p)){print_error_message("Error! %s:%d, "#p" failed.\n",… argument
225 #define add_error_counter_if_fail( p, counter) if(!(p)){print_error_message("Error! %s:%d, "#p" fai… argument
/NetX-Duo-v6.2.1/addons/azure_iot/docs/
Dazure_rtos_iot_json.md16 <p>Initializes an #NX_AZURE_IOT_JSON_READER to read the JSON payload contained within the provided
17 buffer. </p>
50 <p>Initializes an #NX_AZURE_IOT_JSON_READER to read the JSON payload contained within #NX_PACKET</p>
83 <p>De-initializes an #NX_AZURE_IOT_JSON_READER</p>
115 <p>Reads the next token in the JSON text and updates the reader state.</p>
147 <p>Reads and skips over any nested JSON elements.</p>
180 <p>Gets the JSON token's boolean value.</p>
214 <p>Gets the JSON token's number as a 32-bit unsigned integer.</p>
248 <p>Gets the JSON token's number as a 32-bit signed integer.</p>
282 <p>Gets the JSON token's number as a `double`.</p>
[all …]
Dazure_rtos_iot_hub_client.md89 <p>This routine initializes the IoT Hub client.</p>
136 <p>The routine deinitializes the IoT Hub client</p>
169 <p>This routine adds the trusted certificate. It can be called multiple times to set multiple trust…
204 <p>This routine sets the device certificate. It can be called multiple times to set certificate cha…
239 <p>This routine sets the symmetric key.</p>
274 <p>This routine sets the model id in the IoT Hub client to enable PnP.</p>
310 <p>This routine should be called for all the components in the IoT hub model.</p>
344 <p>This routine enables MQTT over WebSocket to connect to the Azure IoT Hub.</p>
378 <p>This routine connects to the Azure IoT Hub.</p>
427 <p>This routine disconnects the client.</p>
[all …]
Dazure_rtos_iot_provisioning_client.md21 <p>This routine initializes the device to the IoT provisioning service.</p>
69 <p>This routine de-initializes AZ IoT Provisioning Client. </p>
103 <p>This routine adds trusted certificate. It can be called multiple times to set certificate chain.…
137 <p>This routine sets device certificate. It can be called multiple times to set certificate chain.<…
171 <p>This routine sets symmetric key.</p>
206 <p>This routine registers device to Azure IoT Provisioning service.</p>
255 <p>This routine sets the callback for registration completion </p>
290 <p>This routine gets IoTHub device info into user supplied buffer </p>
329 <p>This routine sets registration payload, which is JSON object. </p>
Dazure_rtos_iot_hub_client_properties.md16 <p>This routine appends the necessary characters to a reported properties JSON payload belonging to…
67 <p>This routine appends the necessary characters to end a reported properties JSON payload</p>
115 <p>This API should be used in response to an incoming writable property. More details can be found
121 <p>
135 <p>To send a status for a property belonging to a component, first call the
138 payload being generated.<p>
206 <p>This routine ends the property response payload.</p>
247 <p>This routine gets the property version.</p>
286 <p>This routine gets the next writable or reported property in the properties document passed.</p>
288 **Note** that between calls, the UCHAR* pointed to by \p component_name_pptr shall not be modified…
Dazure_rtos_iot_adu_agent.md22p>This routine starts the ADU agent. Properties (manufacturer and model) of a device this update i…
69p>This routine adds the proxy update on device update agent. Properties (manufacturer and model) o…
109 <p>This routine stops the ADU agent.</p>
141 <p>The routine starts to download and install the new update.</p>
173 <p>The routine starts to apply the new update. The device may reboot after applying the update succ…
Dazure_rtos_iot.md16p>This routine creates the Azure IoT subsystem. An internal thread is created to manage activitie…
59 <p>This routine stops all Azure services managed by this instance, and cleans up internal resources…
93 <p>This routine initialized the logging with customer specific callback to output the logs for diff…
/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_ctr.c69 UINT *p = (UINT *)plaintext; in _nx_crypto_ctr_xor() local
73 c[0] = p[0] ^ k[0]; in _nx_crypto_ctr_xor()
74 c[1] = p[1] ^ k[1]; in _nx_crypto_ctr_xor()
75 c[2] = p[2] ^ k[2]; in _nx_crypto_ctr_xor()
76 c[3] = p[3] ^ k[3]; in _nx_crypto_ctr_xor()
Dnx_crypto_xcbc_mac.c69 UINT *p = (UINT *)plaintext; in _nx_crypto_xcbc_xor() local
73 c[0] = p[0] ^ k[0]; in _nx_crypto_xcbc_xor()
74 c[1] = p[1] ^ k[1]; in _nx_crypto_xcbc_xor()
75 c[2] = p[2] ^ k[2]; in _nx_crypto_xcbc_xor()
76 c[3] = p[3] ^ k[3]; in _nx_crypto_xcbc_xor()
Dnx_crypto_huge_number.c2160 NX_CRYPTO_HUGE_NUMBER *p, in _nx_crypto_huge_number_inverse_modulus_prime() argument
2167 if (p -> nx_crypto_huge_number_size > a -> nx_crypto_huge_number_size) in _nx_crypto_huge_number_inverse_modulus_prime()
2169 buffer_size = (p -> nx_crypto_huge_number_size + 1) << HN_SIZE_SHIFT; in _nx_crypto_huge_number_inverse_modulus_prime()
2183 NX_CRYPTO_HUGE_NUMBER_COPY(&v, p); in _nx_crypto_huge_number_inverse_modulus_prime()
2198 _nx_crypto_huge_number_add(&A, p); in _nx_crypto_huge_number_inverse_modulus_prime()
2212 _nx_crypto_huge_number_add(&C, p); in _nx_crypto_huge_number_inverse_modulus_prime()
2229 _nx_crypto_huge_number_modulus(&C, p); in _nx_crypto_huge_number_inverse_modulus_prime()
2797 NX_CRYPTO_HUGE_NUMBER *p, in _nx_crypto_huge_number_crt_power_modulus() argument
2826 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&pi, scratch, p -> nx_crypto_huge_buffer_size); in _nx_crypto_huge_number_crt_power_modulus()
2832 _nx_crypto_huge_number_inverse_modulus_prime(q, p, &qi, scratch); in _nx_crypto_huge_number_crt_power_modulus()
[all …]
Dnx_crypto_ccm.c70 UINT *p = (UINT *)plaintext; in _nx_crypto_ccm_xor() local
74 c[0] = p[0] ^ k[0]; in _nx_crypto_ccm_xor()
75 c[1] = p[1] ^ k[1]; in _nx_crypto_ccm_xor()
76 c[2] = p[2] ^ k[2]; in _nx_crypto_ccm_xor()
77 c[3] = p[3] ^ k[3]; in _nx_crypto_ccm_xor()
Dnx_crypto_rsa.c93 … const UCHAR *p, UINT p_length, UCHAR *q, UINT q_length, in _nx_crypto_rsa_operation() argument
128 if (p && q) in _nx_crypto_rsa_operation()
136 _nx_crypto_huge_number_setup(&p_hn, p, p_length); in _nx_crypto_rsa_operation()
/NetX-Duo-v6.2.1/test/regression/netxduo_test/
Dnetx_packet_debug_info_test.c199 CHAR *file_info, *p; in verify_packet() local
225 for(p = file_info + strlen(file_info); p != file_info && *p != '\\' && *p != '/'; p--); in verify_packet()
227 if(*p == '\\' || *p == '/') in verify_packet()
228 p++; in verify_packet()
231 if(strcmp(in_files, p) == 0) in verify_packet()
Dnetx_ip_malformed_packet_test.h3 #define TO_RAW_PACKET(p) {(UCHAR *)(&p[14]), sizeof(p) - 14} argument
/NetX-Duo-v6.2.1/test/regression/ptp_test/
Dnetx_ptp_utility.h15 #define ASSERT_TRUE(p) {if (!(p)) {ASSERT_DEBUG(#p);test_control_return(1);}} argument
/NetX-Duo-v6.2.1/addons/dns/
Dnxd_dns.c9766 NX_DNS_RR *p; in _nx_dns_cache_add_rr() local
9791 for(p = (NX_DNS_RR*)((ALIGN_TYPE*)cache_ptr + 1); p < (NX_DNS_RR*)head; p++) in _nx_dns_cache_add_rr()
9793 if(!p -> nx_dns_rr_type) in _nx_dns_cache_add_rr()
9795 rr = p; in _nx_dns_cache_add_rr()
9808 for(p = (NX_DNS_RR*)((ALIGN_TYPE*)cache_ptr + 1); p < (NX_DNS_RR*)head; p++) in _nx_dns_cache_add_rr()
9811 if (!p -> nx_dns_rr_name) in _nx_dns_cache_add_rr()
9815 elapsed_time = current_time - p -> nx_dns_rr_last_used_time; in _nx_dns_cache_add_rr()
9818 if ((elapsed_time / NX_IP_PERIODIC_RATE) >= p ->nx_dns_rr_ttl) in _nx_dns_cache_add_rr()
9822 rr = p; in _nx_dns_cache_add_rr()
9829 rr = p; in _nx_dns_cache_add_rr()
[all …]
/NetX-Duo-v6.2.1/common/inc/
Dnx_api.h131 #define NX_PARAMETER_NOT_USED(p) ((void)(p)) argument
491 #define NX_TRACE_OBJECT_REGISTER(t, p, n, a, b) _nx_trace_object_register(t, (VOID *)p,… argument
504 #define NX_TRACE_OBJECT_REGISTER(t, p, n, a, b)
1498 #define NX_PACKET_DEBUG(f,l,p) {\ argument
1499 (p) -> nx_packet_debug_file=f;\
1500 (p) -> nx_packet_debug_line=l;\
1502 …(p) -> nx_packet_debug_thread = tx_thread_identify() -> tx_thread_name; …
1504 (p) -> nx_packet_debug_thread = "ISR"; \
1507 #define NX_PACKET_DEBUG(f, l, p) argument
3189 #define nxd_ipv6_global_address_set(i, a, p) nxd_ipv6_address_set(i, 0, a, p, NX_NULL) argument
[all …]
/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_tls_1_3_provisioned_psk_test.c21 #define CIPHERSUITE_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument
94 #define do_something_if_fail( p) if(!(p)){ERROR_COUNTER();} argument
Dnx_secure_tls_empty_clienthello_extension_test.c27 #define CIPHERSUITE_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument
78 #define do_something_if_fail( p) if(!(p)){ERROR_COUNTER();} argument
Dnx_secure_tls_1_3_session_create_ext_test.c38 #define CIPHERSUITE_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument
314 #define do_something_if_fail( p) if(!(p)){printf("ERROR!\n%s:%d\nError: "#p" failed.\n", __FILE__, … argument
/NetX-Duo-v6.2.1/test/cmake/azure_iot/
Drun.sh102 for p in $pids; do
103 wait $p || exit_code=$?
/NetX-Duo-v6.2.1/crypto_libraries/inc/
Dnx_crypto_ec.h157 #define NX_CRYPTO_EC_POINT_INITIALIZE(p, type, buff, size) \ argument
158 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&((p) -> nx_crypto_ec_point_x), buff, size); \
159 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&((p) -> nx_crypto_ec_point_y), buff, size); \
161 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&((p) -> nx_crypto_ec_point_z), buff, size); } \
162 (p) -> nx_crypto_ec_point_type = (type);
164 #define NX_CRYPTO_EC_POINT_SETUP(p, x, x_size, y, y_size, z, z_size) \ argument
165 _nx_crypto_huge_number_setup(&((p) -> nx_crypto_ec_point_x), x, x_size); \
166 _nx_crypto_huge_number_setup(&((p) -> nx_crypto_ec_point_y), y, y_size); \
167 if ((p) -> nx_crypto_ec_point_type == NX_CRYPTO_EC_POINT_PROJECTIVE) { \
168 _nx_crypto_huge_number_setup(&((p) -> nx_crypto_ec_point_z), z, z_size); }
[all …]

123