Home
last modified time | relevance | path

Searched refs:options_cnt (Results 1 – 10 of 10) sorted by relevance

/uoscore-uedhoc-3.6.0/src/oscore/
Doption.c50 bool is_observe(struct o_coap_option *options, uint8_t options_cnt) in is_observe() argument
52 for (uint8_t i = 0; i < options_cnt; i++) { in is_observe()
60 bool get_observe_value(struct o_coap_option *options, uint8_t options_cnt, in get_observe_value() argument
67 for (uint8_t i = 0; i < options_cnt; i++) { in get_observe_value()
81 uint8_t options_cnt) in cache_echo_val() argument
83 for (uint8_t i = 0; i < options_cnt; i++) { in cache_echo_val()
Doscore_coap.c42 enum err options_serialize(struct o_coap_option *options, uint8_t options_cnt, in options_serialize() argument
54 for (uint8_t i = 0; i < options_cnt; i++) { in options_serialize()
234 out->options_cnt = 0; in coap_deserialize()
268 &out->options_cnt, &out->payload)); in coap_deserialize()
301 for (uint8_t i = 0; i < in->options_cnt; i++) { in coap_serialize()
308 TRY(options_serialize(in->options, in->options_cnt, in coap_serialize()
359 coap_packet->options, coap_packet->options_cnt, &observe); in coap_get_message_type()
Doscore2coap.c232 TRY(options_reorder(oscore_pkt->options, oscore_pkt->options_cnt, in o_coap_pkg_generate()
234 &out->options_cnt)); in o_coap_pkg_generate()
318 TRY(uri_path_create(output_coap->options, output_coap->options_cnt, in decrypt_wrapper()
349 oscore_packet.options_cnt, &oscore_option)); in oscore2coap()
426 oscore_packet.options_cnt)) { in oscore2coap()
Dcoap2oscore.c60 if (MAX_OPTION_COUNT < in_o_coap->options_cnt) { in inner_outer_option_split()
64 for (uint8_t i = 0; i < in_o_coap->options_cnt; i++) { in inner_outer_option_split()
404 out_oscore->options_cnt = (uint8_t)(1 + u_options_cnt); in oscore_pkg_generate()
560 TRY(uri_path_create(input_coap->options, input_coap->options_cnt, in encrypt_wrapper()
/uoscore-uedhoc-3.6.0/inc/oscore/
Doption.h113 bool is_observe(struct o_coap_option *options, uint8_t options_cnt);
123 bool get_observe_value(struct o_coap_option *options, uint8_t options_cnt,
136 uint8_t options_cnt);
Doscore_coap.h102 uint8_t options_cnt; member
142 enum err options_serialize(struct o_coap_option *options, uint8_t options_cnt,
/uoscore-uedhoc-3.6.0/test/oscore_unit_tests/
Dunit_test_coap2oscore.c70 .options_cnt = 4, in t100_inner_outer_option_split__no_special_options()
176 .options_cnt = 5, in t101_inner_outer_option_split__with_observe_notification()
299 .options_cnt = 5, in t102_inner_outer_option_split__with_observe_registration()
425 .options_cnt = 5, in t103_oscore_pkg_generate__request_with_observe_registration()
488 .options_cnt = 3, in t103_oscore_pkg_generate__request_with_observe_registration()
550 .options_cnt = 1, in t104_oscore_pkg_generate__request_with_observe_notification()
590 .options_cnt = 2, in t104_oscore_pkg_generate__request_with_observe_notification()
641 .options_cnt = 21, in t105_inner_outer_option_split__too_many_options()
Dunit_test_oscore_coap.c39 result.options_cnt = options_count; in generate_test_packet()
71 &coap_pkt.options_cnt, &coap_pkt.payload); in deserialization_test()
75 for (uint8_t i = 0; i < coap_pkt.options_cnt; i++) { in deserialization_test()
474 &coap_pkt.options_cnt, &coap_pkt.payload); in t202_options_deserialize_corner_cases()
484 &coap_pkt.options_cnt, &coap_pkt.payload); in t202_options_deserialize_corner_cases()
494 &coap_pkt.options_cnt, &coap_pkt.payload); in t202_options_deserialize_corner_cases()
508 &coap_pkt.options_cnt, &coap_pkt.payload); in t202_options_deserialize_corner_cases()
Dunit_test_option.c36 static void get_observe_value_and_compare(struct o_coap_option *options, uint8_t options_cnt, struc… in get_observe_value_and_compare() argument
39 bool result = get_observe_value(options, options_cnt, output); in get_observe_value_and_compare()
/uoscore-uedhoc-3.6.0/test/oscore_integration_tests/
Doscore_integration_tests.c445 .options_cnt = 2, in t9_oscore_client_server_observe()
529 .options_cnt = 1, in t9_oscore_client_server_observe()
694 .options_cnt = 1, in t10_oscore_client_server_after_reboot()
753 .options_cnt = 1, in t10_oscore_client_server_after_reboot()
825 .options_cnt = 1, in t10_oscore_client_server_after_reboot()
877 .options_cnt = 2, in t10_oscore_client_server_after_reboot()
930 .options_cnt = 1, in t10_oscore_client_server_after_reboot()
981 .options_cnt = 2, in t10_oscore_client_server_after_reboot()
1034 .options_cnt = 0, in t10_oscore_client_server_after_reboot()
1085 .options_cnt = 1, in t10_oscore_client_server_after_reboot()