Searched defs:cpkt (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap.c | 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() 155 static inline bool insert(struct coap_packet *cpkt, const uint8_t *data, uint16_t len, in insert() [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_be16(struct coap_packet *cpkt, uint16_t data) in append_be16() 55 static inline bool append(struct coap_packet *cpkt, const uint8_t *data, uint16_t len) in append() 400 int clear_more_flag(struct coap_packet *cpkt) in clear_more_flag()
|
D | coap_server.c | 522 int coap_service_send(const struct coap_service *service, const struct coap_packet *cpkt, in coap_service_send() 587 int coap_resource_send(const struct coap_resource *resource, const struct coap_packet *cpkt, in coap_resource_send()
|
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_rd_client/src/ |
D | stubs.c | 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() 35 int coap_packet_append_option_fake_err(struct coap_packet *cpkt, uint16_t code, in coap_packet_append_option_fake_err() 44 int coap_find_options_do_registration_reply_cb_ok(const struct coap_packet *cpkt, uint16_t code, in coap_find_options_do_registration_reply_cb_ok()
|
/Zephyr-latest/tests/net/lib/coap/src/ |
D | main.c | 82 struct coap_packet cpkt; in ZTEST() local 105 struct coap_packet cpkt; in ZTEST() local 149 struct coap_packet cpkt; in ZTEST() local 185 struct coap_packet cpkt; in ZTEST() local 222 struct coap_packet cpkt; in ZTEST() local 292 struct coap_packet cpkt; in ZTEST() local 311 struct coap_packet cpkt; in ZTEST() local 324 struct coap_packet cpkt; in ZTEST() local 338 struct coap_packet cpkt; in ZTEST() local 352 struct coap_packet cpkt; in ZTEST() local [all …]
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_object.h | 145 #define CPKT_BUF_WRITE(cpkt) (cpkt)->data, &(cpkt)->offset, (cpkt)->max_len argument 146 #define CPKT_BUF_READ(cpkt) (cpkt)->data, (cpkt)->max_len argument 147 #define CPKT_BUF_W_PTR(cpkt) ((cpkt)->data + (cpkt)->offset) argument 148 #define CPKT_BUF_W_SIZE(cpkt) ((cpkt)->max_len - (cpkt)->offset) argument 150 #define CPKT_BUF_W_REGION(cpkt) CPKT_BUF_W_PTR(cpkt), CPKT_BUF_W_SIZE(cpkt) argument 494 struct coap_packet cpkt; member
|
D | lwm2m_rw_cbor.c | 33 #define CPKT_CBOR_W_SZ(pos, cpkt) ((size_t)(pos) - (size_t)(cpkt)->data - (size_t)(cpkt)->offset) argument
|
D | lwm2m_message_handling.c | 2702 static void handle_ongoing_block2_tx(struct lwm2m_message *msg, struct coap_packet *cpkt) in handle_ongoing_block2_tx()
|