Searched refs:message_length (Results 1 – 3 of 3) sorted by relevance
15 bool encode_message(uint8_t *buffer, size_t buffer_size, size_t *message_length) in encode_message() argument42 *message_length = stream.bytes_written; in encode_message()51 bool decode_message(uint8_t *buffer, size_t message_length) in decode_message() argument59 pb_istream_t stream = pb_istream_from_buffer(buffer, message_length); in decode_message()87 size_t message_length; in main() local90 if (!encode_message(buffer, sizeof(buffer), &message_length)) { in main()99 decode_message(buffer, message_length); in main()
220 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()
161 uint16_t message_length; member