Home
last modified time | relevance | path

Searched refs:code (Results 1 – 24 of 24) sorted by relevance

/NetX-Duo-v6.3.0/addons/azure_iot/azure_iot_security_module/iot-security-module-core/src/utils/
Diconv.c22 char *code2string(code2string_t *list, int code) in code2string() argument
24 for (; list->code != -1 && list->code!=code; list++); in code2string()
31 for (; list->code != -1 && str_ncmp(list->string, str_len(list->string), string, len); list++); in string2code()
33 return list->code; in string2code()
/NetX-Duo-v6.3.0/common/inc/
Dnx_icmpv4.h212 #define NX_ICMPV4_SEND_DEST_UNREACHABLE(ip_ptr, packet, code) \ argument
213 …ror_message((ip_ptr), (packet), (ULONG)((NX_ICMP_DEST_UNREACHABLE_TYPE << 24) | ((code) << 16)), 0)
215 #define NX_ICMPV4_SEND_TIME_EXCEED(ip_ptr, packet, code) \ argument
216 …_error_message((ip_ptr), (packet), (ULONG)((NX_ICMP_TIME_EXCEEDED_TYPE << 24) | ((code) << 16)), 0)
218 #define NX_ICMPV4_SEND_PARAMETER_PROBLEM(ip_ptr, packet, code, offset) \ argument
219 …essage((ip_ptr), (packet), (ULONG)((NX_ICMP_PARAMETER_PROB_TYPE << 24) | ((code) << 16)), (offset))
Dnx_icmpv6.h325 #define NX_ICMPV6_SEND_DEST_UNREACHABLE(ip_ptr, packet, code) \ argument
326 …r_message((ip_ptr), (packet), (ULONG)((NX_ICMPV6_DEST_UNREACHABLE_TYPE << 24) | ((code) << 16)), 0)
329 #define NX_ICMPV6_SEND_PACKET_TOO_BIG(ip_ptr, packet, code) \
330 …send_error_message((ip_ptr), (packet), ((NX_ICMPV6_PACKET_TOO_BIG_TYPE << 24) | ((code) << 16)), 0)
333 #define NX_ICMPV6_SEND_TIME_EXCEED(ip_ptr, packet, code) \ argument
334 …_error_message((ip_ptr), (packet), (ULONG)((NX_ICMPV6_TIME_EXCEED_TYPE << 24) | ((code) << 16)), 0)
336 #define NX_ICMPV6_SEND_PARAMETER_PROBLEM(ip_ptr, packet, code, offset) \ argument
337 …e((ip_ptr), (packet), (ULONG)((NX_ICMPV6_PARAMETER_PROBLEM_TYPE << 24) | ((code) << 16)), (offset))
/NetX-Duo-v6.3.0/addons/azure_iot/azure_iot_security_module/iot-security-module-core/inc/asc_security_core/utils/
Diconv.h20 int code; member
32 char *code2string(code2string_t *list, int code);
/NetX-Duo-v6.3.0/addons/ppp/
Dnx_ppp.c1504 UINT code; in _nx_ppp_receive_packet_process() local
1598 code = packet_ptr -> nx_packet_prepend_ptr[2]; in _nx_ppp_receive_packet_process()
1648 if ((code != NX_PPP_LCP_ECHO_REQUEST) && (code != NX_PPP_LCP_ECHO_REPLY)) in _nx_ppp_receive_packet_process()
1669 if (code == NX_PPP_LCP_ECHO_REQUEST) in _nx_ppp_receive_packet_process()
2363 UCHAR code; in _nx_ppp_lcp_state_machine_update() local
2380 code = packet_ptr -> nx_packet_prepend_ptr[2]; in _nx_ppp_lcp_state_machine_update()
2385 switch (code) in _nx_ppp_lcp_state_machine_update()
2465 if ((code < NX_PPP_LCP_CONFIGURE_REQUEST) || in _nx_ppp_lcp_state_machine_update()
2466 (code > NX_PPP_LCP_DISCARD_REQUEST)) in _nx_ppp_lcp_state_machine_update()
2483 code = NX_PPP_LCP_TIMEOUT; in _nx_ppp_lcp_state_machine_update()
[all …]
/NetX-Duo-v6.3.0/addons/websocket/
Dnx_websocket_client.h276 UINT nx_websocket_client_send(NX_WEBSOCKET_CLIENT *client_ptr, NX_PACKET *packet_ptr, UINT code, U…
277 …ent_receive(NX_WEBSOCKET_CLIENT *client_ptr, NX_PACKET **packet_ptr, UINT *code, UINT wait_option);
311 UINT _nxe_websocket_client_send(NX_WEBSOCKET_CLIENT *client_ptr, NX_PACKET *packet_ptr, UINT code,…
312 UINT _nx_websocket_client_send(NX_WEBSOCKET_CLIENT *client_ptr, NX_PACKET *packet_ptr, UINT code, …
313 …ent_receive(NX_WEBSOCKET_CLIENT *client_ptr, NX_PACKET **packet_ptr, UINT *code, UINT wait_option);
314 …ent_receive(NX_WEBSOCKET_CLIENT *client_ptr, NX_PACKET **packet_ptr, UINT *code, UINT wait_option);
332 …websocket_client_data_process(NX_WEBSOCKET_CLIENT *client_ptr, NX_PACKET **packet_ptr, UINT *code);
Dnx_websocket_client.c1370 UINT _nxe_websocket_client_send(NX_WEBSOCKET_CLIENT *client_ptr, NX_PACKET *packet_ptr, UINT code,… in _nxe_websocket_client_send() argument
1384 status = _nx_websocket_client_send(client_ptr, packet_ptr, code, is_final, wait_option); in _nxe_websocket_client_send()
1431 UINT _nx_websocket_client_send(NX_WEBSOCKET_CLIENT *client_ptr, NX_PACKET *packet_ptr, UINT code, … in _nx_websocket_client_send() argument
1491 *data_ptr = (UCHAR)(NX_WEBSOCKET_FIN | code); in _nx_websocket_client_send()
1495 *data_ptr = (UCHAR)code; in _nx_websocket_client_send()
1600 …ient_receive(NX_WEBSOCKET_CLIENT *client_ptr, NX_PACKET **packet_ptr, UINT *code, UINT wait_option) in _nxe_websocket_client_receive() argument
1608 (packet_ptr == NX_NULL) || (code == NX_NULL)) in _nxe_websocket_client_receive()
1614 status = _nx_websocket_client_receive(client_ptr, packet_ptr, code, wait_option); in _nxe_websocket_client_receive()
1663 …ient_receive(NX_WEBSOCKET_CLIENT *client_ptr, NX_PACKET **packet_ptr, UINT *code, UINT wait_option) in _nx_websocket_client_receive() argument
1727 status = _nx_websocket_client_data_process(client_ptr, packet_ptr, code); in _nx_websocket_client_receive()
[all …]
/NetX-Duo-v6.3.0/addons/pppoe/
Dnx_pppoe_server.c58 …send(NX_PPPOE_SERVER *pppoe_server_ptr, NX_PPPOE_CLIENT_SESSION *client_session_ptr, UINT code);
60 …RVER *pppoe_server_ptr, NX_PPPOE_CLIENT_SESSION *client_session_ptr, UINT code, UCHAR *tag_ptr, UL…
2400 ULONG code; in _nx_pppoe_server_discovery_packet_process() local
2425 code = _nx_pppoe_server_data_get(pppoe_header_ptr + NX_PPPOE_SERVER_OFFSET_CODE, 1); in _nx_pppoe_server_discovery_packet_process()
2428 if ((code != NX_PPPOE_SERVER_CODE_PADI) && in _nx_pppoe_server_discovery_packet_process()
2429 (code != NX_PPPOE_SERVER_CODE_PADR) && in _nx_pppoe_server_discovery_packet_process()
2430 (code != NX_PPPOE_SERVER_CODE_PADT)) in _nx_pppoe_server_discovery_packet_process()
2440 if (((code == NX_PPPOE_SERVER_CODE_PADI) && (is_broadcast != NX_TRUE)) || in _nx_pppoe_server_discovery_packet_process()
2441 ((code != NX_PPPOE_SERVER_CODE_PADI) && (is_broadcast == NX_TRUE))) in _nx_pppoe_server_discovery_packet_process()
2455 if (((code != NX_PPPOE_SERVER_CODE_PADT) && (session_id != 0)) || in _nx_pppoe_server_discovery_packet_process()
[all …]
Dnx_pppoe_client.c61 static UINT _nx_pppoe_client_discovery_send(NX_PPPOE_CLIENT *pppoe_client_ptr, UINT code);
2233 ULONG code; in _nx_pppoe_client_discovery_packet_process() local
2263 code = _nx_pppoe_client_data_get(pppoe_header_ptr + NX_PPPOE_CLIENT_OFFSET_CODE, 1); in _nx_pppoe_client_discovery_packet_process()
2266 …if (((pppoe_client_ptr -> nx_pppoe_state == NX_PPPOE_CLIENT_STATE_PADI_SENT) && (code == NX_PPPOE_… in _nx_pppoe_client_discovery_packet_process()
2267 …((pppoe_client_ptr -> nx_pppoe_state == NX_PPPOE_CLIENT_STATE_PADR_SENT) && (code == NX_PPPOE_CLIE… in _nx_pppoe_client_discovery_packet_process()
2268 …((pppoe_client_ptr -> nx_pppoe_state == NX_PPPOE_CLIENT_STATE_ESTABLISHED) && (code == NX_PPPOE_CL… in _nx_pppoe_client_discovery_packet_process()
2291 if (((code == NX_PPPOE_CLIENT_CODE_PADO) && (session_id != 0)) || in _nx_pppoe_client_discovery_packet_process()
2292 ((code != NX_PPPOE_CLIENT_CODE_PADO) && (session_id == 0)) || in _nx_pppoe_client_discovery_packet_process()
2293 …((code == NX_PPPOE_CLIENT_CODE_PADT) && (session_id != pppoe_client_ptr -> nx_pppoe_server_session… in _nx_pppoe_client_discovery_packet_process()
2302 if (code != NX_PPPOE_CLIENT_CODE_PADO) in _nx_pppoe_client_discovery_packet_process()
[all …]
/NetX-Duo-v6.3.0/addons/azure_iot/azure_iot_security_module/iot-security-module-core/src/
Dlogger.c85 int code; in _conf_validate_or_apply() local
100code = string2code(_log_levels, conf->value.value.string.string, conf->value.value.string.length); in _conf_validate_or_apply()
101 logger_set_system_log_level(code); in _conf_validate_or_apply()
148code = string2code(_log_levels, conf->value.value.string.string, conf->value.value.string.length); in _conf_validate_or_apply()
149 components_manager_set_log_level(id, code); in _conf_validate_or_apply()
/NetX-Duo-v6.3.0/addons/azure_iot/azure_iot_security_module/iot-security-module-core/cmake-modules/
Dasc_security_coreCodeCoverage.cmake7 # 1. Redistributions of source code must retain the above copyright notice, this
106 # runs your test executable and produces a code coverage report.
165 # Defines a target for running and collection code coverage information
167 # NOTE! The executable should always have a ZERO as exit code otherwise
250 …COMMENT "Resetting code coverage counters to zero.\nProcessing code coverage counters and generati…
256 COMMENT "Lcov code coverage info report saved in ${Coverage_NAME}.info."
267 # Defines a target for running and collection code coverage information
269 # NOTE! The executable should always have a ZERO as exit code otherwise
329 COMMENT "Running gcovr to produce Cobertura code coverage report."
335 COMMENT "Cobertura code coverage report saved in ${Coverage_NAME}.xml."
[all …]
/NetX-Duo-v6.3.0/addons/tftp/
Dnxd_tftp_client.c1422 UINT code; in _nx_tftp_client_file_open_internal() local
1429 code = *(buffer_ptr); in _nx_tftp_client_file_open_internal()
1432 if (code == NX_TFTP_CODE_ERROR) in _nx_tftp_client_file_open_internal()
1620 UCHAR code; in _nxd_tftp_client_file_read() local
1731 code = *buffer_ptr; in _nxd_tftp_client_file_read()
1734 if (code == NX_TFTP_CODE_DATA) in _nxd_tftp_client_file_read()
1889 else if (code == NX_TFTP_CODE_ERROR) in _nxd_tftp_client_file_read()
1922 else if (code == NX_TFTP_CODE_ACK) in _nxd_tftp_client_file_read()
2206 UINT code; in _nxd_tftp_client_file_write() local
2213 code = *(buffer_ptr); in _nxd_tftp_client_file_write()
[all …]
/NetX-Duo-v6.3.0/
DSECURITY.md3 …f our software products and services seriously, which includes all source code repositories manage…
21 * The location of the affected source code (tag/branch/commit or direct URL)
24 * Proof-of-concept or exploit code (if possible)
DREADME.md39 The master branch has the most recent code with all new features and bug fixes. It does not represe…
131 …dons you need in `nx_user.h` and build together with the component source code. You can refer to […
135 …nd host systems. Integrating any of these components into your device app code is as simple as add…
137 …e pattern is to include NetX Duo into your device code source tree to be built & linked with your
171 Azure RTOS provides OEMs with components to secure communication and to create code and data isolat…
D.gitattributes4 # Custom attribute to mark sources as using our C code style.
DLICENSE.txt58 third parties) the modified or unmodified binary image produced from this code.
65 redistribution in source code form must contain this license and any other
68 b) Requirements. For any code you distribute, you must:
72 ii. when distributed in source code form to distributors or developers of your
85 iv. transfer individual components, specific libraries, classes, functions or code
191 content (including code) on third party Internet sites, or third party
234 code) figurant sur des sites Internet tiers ou dans des programmes tiers; et
/NetX-Duo-v6.3.0/addons/sntp/
Dnxd_sntp_client.h597 … (*kiss_of_death_handler)(struct NX_SNTP_CLIENT_STRUCT *client_ptr, UINT code);
673 UINT (*kiss_of_death_handler)(NX_SNTP_CLIENT *client_ptr, UINT code),
701 UINT (*kiss_of_death_handler)(NX_SNTP_CLIENT *client_ptr, UINT code),
705 UINT (*kiss_of_death_handler)(NX_SNTP_CLIENT *client_ptr, UINT code),
Dnxd_sntp_client.c136 … UINT (*kiss_of_death_handler)(NX_SNTP_CLIENT *client_ptr, UINT code), in _nxe_sntp_client_create() argument
234 … UINT (*kiss_of_death_handler)(NX_SNTP_CLIENT *client_ptr, UINT code), in _nx_sntp_client_create() argument
/NetX-Duo-v6.3.0/addons/azure_iot/azure_iot_security_module/
DNOTICE.txt7 open source code available at https://3rdpartysource.microsoft.com, or you may
60 including but not limited to software source code, documentation
65 not limited to compiled object code, generated documentation,
89 communication on electronic mailing lists, source code control systems,
265 including but not limited to software source code, documentation
270 not limited to compiled object code, generated documentation,
294 communication on electronic mailing lists, source code control systems,
/NetX-Duo-v6.3.0/addons/azure_iot/docs/
Dazure_rtos_iot_hub_client_properties.md175 | status_code [in] | The HTTP-like status code to respond with. |
292 Below is a code snippet which you can use as a starting point:
Dazure_rtos_iot.md25 in your application code.
Dazure_rtos_iot_hub_client.md1022 | status_code [in] | Status code for direct method. |
1191 | status_code [in] | Status code for pnp command message. |
1450 * NX_AZURE_IOT_SERVER_RESPONSE_ERROR Response code from server is not 2xx.
1736 * NX_AZURE_IOT_SERVER_RESPONSE_ERROR Response code from server is not 2xx.
/NetX-Duo-v6.3.0/addons/azure_iot/
DREADME.md66 …for-iot/azure-rtos-security-module-api#disable-azure-iot-security-module) in your application code.
/NetX-Duo-v6.3.0/addons/azure_iot/samples/
DREADME.md151 …arly named property and a set of "ack" values: `ac` for the HTTP-like ack code, `av` for ack versi…