Home
last modified time | relevance | path

Searched defs:cpkt (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-2.7.6/subsys/net/lib/coap/
Dcoap.c52 static inline bool append_u8(struct coap_packet *cpkt, uint8_t data) in append_u8()
67 static inline bool append_be16(struct coap_packet *cpkt, uint16_t data) in append_be16()
83 static inline bool append(struct coap_packet *cpkt, const uint8_t *data, uint16_t len) in append()
99 int coap_packet_init(struct coap_packet *cpkt, uint8_t *data, uint16_t max_len, in coap_packet_init()
149 int coap_ack_init(struct coap_packet *cpkt, const struct coap_packet *req, in coap_ack_init()
195 static int encode_option(struct coap_packet *cpkt, uint16_t code, in encode_option()
255 int coap_packet_append_option(struct coap_packet *cpkt, uint16_t code, in coap_packet_append_option()
289 int coap_append_option_int(struct coap_packet *cpkt, uint16_t code, in coap_append_option_int()
337 int coap_packet_append_payload_marker(struct coap_packet *cpkt) in coap_packet_append_payload_marker()
342 int coap_packet_append_payload(struct coap_packet *cpkt, const uint8_t *payload, in coap_packet_append_payload()
[all …]
Dcoap_link_format.c24 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()
401 int clear_more_flag(struct coap_packet *cpkt) in clear_more_flag()
/Zephyr-Core-2.7.6/tests/net/lib/coap/src/
Dmain.c69 struct coap_packet cpkt; in test_build_empty_pdu() local
92 struct coap_packet cpkt; in test_build_simple_pdu() local
136 struct coap_packet cpkt; in test_parse_empty_pdu() local
172 struct coap_packet cpkt; in test_parse_empty_pdu_1() local
209 struct coap_packet cpkt; in test_parse_simple_pdu() local
279 struct coap_packet cpkt; in test_parse_malformed_opt() local
293 struct coap_packet cpkt; in test_parse_malformed_opt_len() local
307 struct coap_packet cpkt; in test_parse_malformed_opt_ext() local
321 struct coap_packet cpkt; in test_parse_malformed_opt_len_ext() local
335 struct coap_packet cpkt; in test_parse_malformed_marker() local
[all …]
/Zephyr-Core-2.7.6/subsys/net/lib/lwm2m/
Dlwm2m_object.h135 #define CPKT_BUF_WRITE(cpkt) (cpkt)->data, &(cpkt)->offset, (cpkt)->max_len argument
136 #define CPKT_BUF_READ(cpkt) (cpkt)->data, (cpkt)->max_len argument
457 struct coap_packet cpkt; member
/Zephyr-Core-2.7.6/samples/net/sockets/coap_server/src/
Dcoap-server.c164 static int send_coap_reply(struct coap_packet *cpkt, in send_coap_reply()