+#define BT_ASSERT_PRE_DEV_MSG_STREAM_CLASS_PACKETS_HAVE_BEGINNING_DEF_CS(_msg) \
+ BT_ASSERT_PRE_DEV("msg-stream-class-packets-have-beginning-default-clock-snapshot", ({ \
+ const struct bt_packet *_packet = bt_message_packet_beginning_borrow_packet_const(_msg); \
+ const struct bt_stream *_stream = bt_packet_borrow_stream_const(_packet); \
+ const struct bt_stream_class *_stream_class = bt_stream_borrow_class_const(_stream); \
+ bt_stream_class_packets_have_beginning_default_clock_snapshot(_stream_class); \
+ }), "Packets of the message's stream don't have a beginning default clock snapshot.")
+
+#define BT_ASSERT_PRE_DEV_MSG_STREAM_CLASS_PACKETS_HAVE_END_DEF_CS(_msg) \
+ BT_ASSERT_PRE_DEV("msg-stream-class-packets-have-end-default-clock-snapshot", ({ \
+ const struct bt_packet *_packet = bt_message_packet_end_borrow_packet_const(_msg); \
+ const struct bt_stream *_stream = bt_packet_borrow_stream_const(_packet); \
+ const struct bt_stream_class *_stream_class = bt_stream_borrow_class_const(_stream); \
+ bt_stream_class_packets_have_end_default_clock_snapshot(_stream_class); \
+ }), "Packets of the message's stream don't have an end default clock snapshot.")
+