| /Zephyr-latest/include/zephyr/net/ | 
| D | coap.h | 252 struct coap_packet; 263 			     struct coap_packet *request, 312 struct coap_packet {  struct 350 typedef int (*coap_reply_t)(const struct coap_packet *response, 413 uint8_t coap_header_get_version(const struct coap_packet *cpkt); 422 uint8_t coap_header_get_type(const struct coap_packet *cpkt); 433 uint8_t coap_header_get_token(const struct coap_packet *cpkt, uint8_t *token); 442 uint8_t coap_header_get_code(const struct coap_packet *cpkt); 451 int coap_header_set_code(const struct coap_packet *cpkt, uint8_t code); 460 uint16_t coap_header_get_id(const struct coap_packet *cpkt); [all …] 
 | 
| D | coap_link_format.h | 45 			     const struct coap_packet *request, 46 			     struct coap_packet *response, 63 				 const struct coap_packet *request, 64 				 struct coap_packet *response,
  | 
| D | coap_service.h | 243 int coap_service_send(const struct coap_service *service, const struct coap_packet *cpkt, 259 int coap_resource_send(const struct coap_resource *resource, const struct coap_packet *cpkt, 276 int coap_resource_parse_observe(struct coap_resource *resource, const struct coap_packet *request,
  | 
| D | coap_client.h | 103 	struct coap_packet request;
  | 
| /Zephyr-latest/tests/net/lib/lwm2m/lwm2m_rd_client/src/ | 
| D | stubs.h | 25 DECLARE_FAKE_VALUE_FUNC(uint8_t, coap_header_get_code, const struct coap_packet *); 26 uint8_t coap_header_get_code_fake_created(const struct coap_packet *cpkt); 27 uint8_t coap_header_get_code_fake_deleted(const struct coap_packet *cpkt); 28 uint8_t coap_header_get_code_fake_changed(const struct coap_packet *cpkt); 29 uint8_t coap_header_get_code_fake_bad_request(const struct coap_packet *cpkt); 30 DECLARE_FAKE_VALUE_FUNC(int, coap_append_option_int, struct coap_packet *, uint16_t, unsigned int); 31 DECLARE_FAKE_VALUE_FUNC(int, coap_packet_append_option, struct coap_packet *, uint16_t, 33 int coap_packet_append_option_fake_err(struct coap_packet *cpkt, uint16_t code, 35 DECLARE_FAKE_VALUE_FUNC(int, coap_packet_append_payload_marker, struct coap_packet *); 36 DECLARE_FAKE_VALUE_FUNC(int, coap_find_options, const struct coap_packet *, uint16_t, [all …] 
 | 
| D | stubs.c | 14 DEFINE_FAKE_VALUE_FUNC(uint8_t, coap_header_get_code, const struct coap_packet *); 15 uint8_t coap_header_get_code_fake_created(const struct coap_packet *cpkt)  in coap_header_get_code_fake_created() 19 uint8_t coap_header_get_code_fake_deleted(const struct coap_packet *cpkt)  in coap_header_get_code_fake_deleted() 23 uint8_t coap_header_get_code_fake_changed(const struct coap_packet *cpkt)  in coap_header_get_code_fake_changed() 27 uint8_t coap_header_get_code_fake_bad_request(const struct coap_packet *cpkt)  in coap_header_get_code_fake_bad_request() 32 DEFINE_FAKE_VALUE_FUNC(int, coap_append_option_int, struct coap_packet *, uint16_t, unsigned int); 33 DEFINE_FAKE_VALUE_FUNC(int, coap_packet_append_option, struct coap_packet *, uint16_t, 35 int coap_packet_append_option_fake_err(struct coap_packet *cpkt, uint16_t code,  in coap_packet_append_option_fake_err() 41 DEFINE_FAKE_VALUE_FUNC(int, coap_packet_append_payload_marker, struct coap_packet *); 42 DEFINE_FAKE_VALUE_FUNC(int, coap_find_options, const struct coap_packet *, uint16_t, [all …] 
 | 
| /Zephyr-latest/subsys/net/lib/coap/ | 
| D | coap.c | 68 static int insert_option(struct coap_packet *cpkt, uint16_t code, const uint8_t *value, 71 static inline void encode_u8(struct coap_packet *cpkt, uint16_t offset, uint8_t data)  in encode_u8() 77 static inline void encode_be16(struct coap_packet *cpkt, uint16_t offset, uint16_t data)  in encode_be16() 84 static inline void encode_buffer(struct coap_packet *cpkt, uint16_t offset, const uint8_t *data,  in encode_buffer() 91 static bool enough_space(struct coap_packet *cpkt, const uint16_t bytes_to_add)  in enough_space() 96 static inline bool append_u8(struct coap_packet *cpkt, uint8_t data)  in append_u8() 107 static inline bool insert_u8(struct coap_packet *cpkt, uint8_t data, uint16_t offset)  in insert_u8() 120 static inline bool append_be16(struct coap_packet *cpkt, uint16_t data)  in append_be16() 131 static inline bool insert_be16(struct coap_packet *cpkt, uint16_t data, size_t offset)  in insert_be16() 144 static inline bool append(struct coap_packet *cpkt, const uint8_t *data, uint16_t len)  in append() [all …] 
 | 
| D | coap_link_format.c | 24 static inline bool append_u8(struct coap_packet *cpkt, uint8_t data)  in append_u8() 39 static inline bool append(struct coap_packet *cpkt, const uint8_t *data, uint16_t len)  in append() 200 static bool append_to_coap_pkt(struct coap_packet *response,  in append_to_coap_pkt() 237 		      struct coap_packet *response,  in format_uri() 308 			     struct coap_packet *response,  in format_attributes() 353 			   struct coap_packet *response,  in format_resource() 384 int clear_more_flag(struct coap_packet *cpkt)  in clear_more_flag() 421 				 struct coap_packet *request,  in coap_well_known_core_get_len() 422 				 struct coap_packet *response,  in coap_well_known_core_get_len() 539 static int format_uri(const char * const *path, struct coap_packet *response)  in format_uri() [all …] 
 | 
| D | coap_client.c | 30 static int recv_response(struct coap_client *client, struct coap_packet *response, bool *truncated); 31 static int handle_response(struct coap_client *client, const struct coap_packet *response, 607 			struct coap_packet response;  in handle_poll() 645 static int recv_response(struct coap_client *client, struct coap_packet *response, bool *truncated)  in recv_response() 681 static int send_ack(struct coap_client *client, const struct coap_packet *req,  in send_ack() 685 	struct coap_packet ack;  in send_ack() 702 static int send_rst(struct coap_client *client, const struct coap_packet *req)  in send_rst() 705 	struct coap_packet rst;  in send_rst() 723 	struct coap_client *client, const struct coap_packet *resp)  in get_request_with_token() 764 static bool find_echo_option(const struct coap_packet *response, struct coap_option *option)  in find_echo_option() [all …] 
 | 
| D | coap_server.c | 131 	struct coap_packet request;  in coap_server_process() 178 		struct coap_packet response;  in coap_server_process() 243 		struct coap_packet response;  in coap_server_process() 277 			struct coap_packet ack;  in coap_server_process() 561 int coap_service_send(const struct coap_service *service, const struct coap_packet *cpkt,  in coap_service_send() 626 int coap_resource_send(const struct coap_resource *resource, const struct coap_packet *cpkt,  in coap_resource_send() 640 int coap_resource_parse_observe(struct coap_resource *resource, const struct coap_packet *request,  in coap_resource_parse_observe()
  | 
| /Zephyr-latest/samples/net/sockets/coap_server/src/ | 
| D | test.c | 17 			 struct coap_packet *request,  in piggyback_get() 21 	struct coap_packet response;  in piggyback_get() 82 		    struct coap_packet *request,  in test_del() 86 	struct coap_packet response;  in test_del() 122 		    struct coap_packet *request,  in test_put() 126 	struct coap_packet response;  in test_put() 169 		     struct coap_packet *request,  in test_post() 178 	struct coap_packet response;  in test_post()
  | 
| D | large.c | 17 		     struct coap_packet *request,  in large_get() 23 	struct coap_packet response;  in large_get() 96 			    struct coap_packet *request,  in large_update_put() 101 	struct coap_packet response;  in large_update_put() 176 			     struct coap_packet *request,  in large_create_post() 181 	struct coap_packet response;  in large_create_post()
  | 
| D | location_query.c | 15 			       struct coap_packet *request,  in location_query_post() 23 	struct coap_packet response;  in location_query_post()
  | 
| D | core.c | 16 		    struct coap_packet *request,  in core_get() 21 	struct coap_packet response;  in core_get()
  | 
| D | separate.c | 15 			struct coap_packet *request,  in separate_get() 19 	struct coap_packet response;  in separate_get()
  | 
| D | query.c | 15 		     struct coap_packet *request,  in query_get() 20 	struct coap_packet response;  in query_get()
  | 
| D | observer.c | 28 	struct coap_packet response;  in send_notification_packet() 89 		   struct coap_packet *request,  in obs_get()
  | 
| /Zephyr-latest/tests/net/lib/coap/src/ | 
| D | main.c | 49 				 struct coap_packet *request, 82 	struct coap_packet cpkt;  in ZTEST() 105 	struct coap_packet cpkt;  in ZTEST() 149 	struct coap_packet cpkt;  in ZTEST() 185 	struct coap_packet cpkt;  in ZTEST() 222 	struct coap_packet cpkt;  in ZTEST() 292 	struct coap_packet cpkt;  in ZTEST() 311 	struct coap_packet cpkt;  in ZTEST() 324 	struct coap_packet cpkt;  in ZTEST() 338 	struct coap_packet cpkt;  in ZTEST() [all …] 
 | 
| /Zephyr-latest/samples/net/sockets/coap_client/src/ | 
| D | coap-client.c | 88 	struct coap_packet reply;  in process_simple_coap_reply() 132 	struct coap_packet request;  in send_simple_coap_request() 256 	struct coap_packet reply;  in process_large_coap_reply() 314 	struct coap_packet request;  in send_large_coap_request() 393 	struct coap_packet request;  in send_obs_reply_ack() 420 static int obs_notification_cb(const struct coap_packet *response,  in obs_notification_cb() 443 	struct coap_packet reply_msg;  in process_obs_coap_reply() 491 	struct coap_packet request;  in send_obs_coap_request() 541 	struct coap_packet request;  in send_obs_reset_coap_request()
  | 
| /Zephyr-latest/tests/net/lib/lwm2m/lwm2m_engine/src/ | 
| D | stubs.h | 41 DECLARE_FAKE_VALUE_FUNC(int, handle_request, struct coap_packet *, struct lwm2m_message *); 61 DECLARE_FAKE_VALUE_FUNC(bool, coap_block_has_more, struct coap_packet *);
  | 
| D | stubs.c | 27 DEFINE_FAKE_VALUE_FUNC(int, handle_request, struct coap_packet *, struct lwm2m_message *); 46 DEFINE_FAKE_VALUE_FUNC(bool, coap_block_has_more, struct coap_packet *);
  | 
| /Zephyr-latest/doc/connectivity/networking/api/ | 
| D | coap_server.rst | 77     static int my_get(struct coap_resource *resource, struct coap_packet *request, 82         struct coap_packet response; 109     static int my_put(struct coap_resource *resource, struct coap_packet *request, 152         struct coap_packet response; 190     static int temp_get(struct coap_resource *resource, struct coap_packet *request,
  | 
| /Zephyr-latest/subsys/net/lib/lwm2m/ | 
| D | lwm2m_pull_context.c | 219 static int do_firmware_transfer_reply_cb(const struct coap_packet *response,  in do_firmware_transfer_reply_cb() 227 	struct coap_packet *check_response = (struct coap_packet *)response;  in do_firmware_transfer_reply_cb()
  | 
| /Zephyr-latest/tests/net/lib/coap_server/common/src/ | 
| D | main.c | 12 static int coap_method1(struct coap_resource *resource, struct coap_packet *request,  in coap_method1() 23 static int coap_method2(struct coap_resource *resource, struct coap_packet *request,  in coap_method2()
  | 
| /Zephyr-latest/subsys/mgmt/updatehub/ | 
| D | updatehub.c | 251 	struct coap_packet request_packet;  in send_request() 387 static int install_update_cb_check_blk_num(const struct coap_packet *resp)  in install_update_cb_check_blk_num() 414 	struct coap_packet response_packet;  in install_update_cb() 687 	struct coap_packet reply;  in probe_cb()
  |