| 1 | /* SPDX-License-Identifier: BSD-2-Clause */cxx . . $ `<file>/src/tx_time.h`/ |
| 2 | /* |
| 3 | * Copyright (C) 2022-2025 Linutronix GmbH |
| 4 | * Author Kurt Kanzenbach <[email protected]> |
| 5 | */ |
| 6 | |
| 7 | #ifndef _TX_TIME_H_ |
| 8 | #define _TX_TIME_H_cxx . . $ `src/tx_time.h:8:9`! |
| 9 | |
| 10 | #include <stddef.h> |
| 11 | #include <stdint.h> |
| 12 | |
| 13 | uint64_tcxx . . $ uint64_t# tx_time_get_frame_durationcxx . . $ tx_time_get_frame_duration(b831a5b42b98fcd).(uint32_tcxx . . $ uint32_t# link_speed, size_t frame_length); |
| 14 | |
| 15 | uint64_tcxx . . $ uint64_t# tx_time_get_frame_tx_timecxx . . $ tx_time_get_frame_tx_time(5922d6685f565d0d).(uint64_tcxx . . $ uint64_t# sequence_counter, uint64_tcxx . . $ uint64_t# duration, |
| 16 | size_t num_frames_per_cycle, uint64_tcxx . . $ uint64_t# tx_time_offset, |
| 17 | const char *traffic_class); |
| 18 | |
| 19 | #endif /* _TX_TIME_H_ */ |