Home
last modified time | relevance | path

Searched refs:message_length (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/samples/modules/nanopb/src/
Dmain.c15 bool encode_message(uint8_t *buffer, size_t buffer_size, size_t *message_length) in encode_message() argument
42 *message_length = stream.bytes_written; in encode_message()
51 bool decode_message(uint8_t *buffer, size_t message_length) in decode_message() argument
59 pb_istream_t stream = pb_istream_from_buffer(buffer, message_length); in decode_message()
87 size_t message_length; in main() local
90 if (!encode_message(buffer, sizeof(buffer), &message_length)) { in main()
99 decode_message(buffer, message_length); in main()
/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_messages.c220 hdr->message_length = htons(sizeof(struct gptp_hdr) + in gptp_prepare_sync()
274 hdr->message_length = htons(sizeof(struct gptp_hdr) + in gptp_prepare_follow_up()
322 hdr->message_length = htons(sizeof(struct gptp_hdr) + in gptp_prepare_pdelay_req()
380 hdr->message_length = htons(sizeof(struct gptp_hdr) + in gptp_prepare_pdelay_resp()
439 hdr->message_length = htons(sizeof(struct gptp_hdr) + in gptp_prepare_pdelay_follow_up()
549 hdr->message_length = htons(sizeof(struct gptp_hdr) + in gptp_prepare_announce()
/Zephyr-latest/include/zephyr/net/
Dgptp.h161 uint16_t message_length; member