- struct bt_clock_value_set begin_cv_set;
- struct bt_clock_value_set end_cv_set;
- struct bt_packet_prop_uint64 discarded_event_counter;
- struct bt_packet_prop_uint64 seq_num;
- struct bt_packet_prop_uint64 discarded_event_count;
- struct bt_packet_prop_uint64 discarded_packet_count;
- bool props_are_set;
-
- struct {
- /*
- * We keep this here to avoid keeping a reference on the
- * previous packet object: those properties are
- * snapshots of the previous packet's properties when
- * calling bt_packet_create(). We know that the previous
- * packet's properties do not change afterwards because
- * we freeze the previous packet when bt_packet_create()
- * is successful.
- */
- enum bt_packet_previous_packet_availability avail;
- struct bt_packet_prop_uint64 discarded_event_counter;
- struct bt_packet_prop_uint64 seq_num;
- struct {
- enum bt_packet_property_availability avail;
-
- /* Owned by this (copy of previous packet's or NULL) */
- struct bt_clock_value *cv;
- } default_end_cv;
- } prev_packet_info;
-
- int frozen;
+ struct bt_clock_value *default_beginning_cv;
+ struct bt_clock_value *default_end_cv;
+ struct bt_property_uint discarded_event_counter_snapshot;
+ struct bt_property_uint packet_counter_snapshot;
+ bool frozen;