Home
last modified time | relevance | path

Searched refs:opt_num (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/include/zephyr/net/
Dcoap.h486 uint8_t opt_num);
505 struct coap_option *options, uint8_t opt_num);
708 uint8_t opt_num,
730 uint8_t opt_num,
/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c920 uint8_t opt_num = ARRAY_SIZE(options) - 1; in ZTEST() local
926 options, opt_num); in ZTEST()
929 r = coap_handle_request(&req, server_resources, options, opt_num, in ZTEST()
941 options, opt_num); in ZTEST()
944 r = coap_handle_request(&req, server_resources, options, opt_num, in ZTEST()
970 uint8_t opt_num = ARRAY_SIZE(options) - 1; in ZTEST() local
997 r = coap_packet_parse(&req, data, req.offset, options, opt_num); in ZTEST()
1000 r = coap_handle_request(&req, server_resources, options, opt_num, in ZTEST()
1010 r = coap_packet_parse(&rsp, rsp_data, req.offset, options, opt_num); in ZTEST()
1024 uint8_t opt_num = 4; in ZTEST() local
[all …]
/Zephyr-latest/subsys/testsuite/ztest/src/
Dztest.c1290 int opt_num = 0; in cmd_shuffle() local
1305 opt_num++; in cmd_shuffle()
1314 opt_num++; in cmd_shuffle()
1337 int opt_num = 0; in cmd_run_suite() local
1352 opt_num++; in cmd_run_suite()
1356 opt_num++; in cmd_run_suite()
1373 if (opt_num == 1) { in cmd_run_suite()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap.c746 struct coap_option *options, uint8_t opt_num) in coap_packet_parse() argument
764 memset(options, 0, opt_num * sizeof(struct coap_option)); in coap_packet_parse()
797 option = num < opt_num ? &options[num++] : NULL; in coap_packet_parse()
1090 uint8_t opt_num) in coap_uri_path_match() argument
1095 for (i = 0U; i < opt_num && path[j]; i++) { in coap_uri_path_match()
1126 for (; i < opt_num; i++) { in coap_uri_path_match()
1182 uint8_t opt_num, in coap_handle_request_len() argument
1194 if (!coap_uri_path_match(resources[i].path, options, opt_num)) { in coap_handle_request_len()
1216 uint8_t opt_num, in coap_handle_request() argument
1226 return coap_handle_request_len(cpkt, resources, resources_len, options, opt_num, addr, in coap_handle_request()
Dcoap_server.c134 uint8_t opt_num = MAX_OPTIONS; in coap_server_process() local
152 ret = coap_packet_parse(&request, buf, received, options, opt_num); in coap_server_process()
202 coap_uri_path_match(COAP_WELL_KNOWN_CORE_PATH, options, opt_num)) { in coap_server_process()
219 options, opt_num, &client_addr, client_addr_len); in coap_server_process()
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_shell.c985 int opt_num = 0; in wifi_scan_args_to_params() local
1003 opt_num++; in wifi_scan_args_to_params()
1011 opt_num++; in wifi_scan_args_to_params()
1022 opt_num++; in wifi_scan_args_to_params()
1033 opt_num++; in wifi_scan_args_to_params()
1043 opt_num++; in wifi_scan_args_to_params()
1054 opt_num++; in wifi_scan_args_to_params()
1064 opt_num++; in wifi_scan_args_to_params()
1069 opt_num++; in wifi_scan_args_to_params()
1079 return opt_num; in wifi_scan_args_to_params()
[all …]
/Zephyr-latest/doc/connectivity/networking/api/
Dcoap.rst78 coap_packet_parse(&request, data, data_len, options, opt_num);
80 coap_handle_request(&request, resources, options, opt_num,