Files
utun2/tests/simple_uasync.h
T
jek d57ab133c5 Add async queue wait functionality and enhance packet normalizer tests
- Implement queue_wait_threshold() with automatic waiter checking in ll_queue
- Add pkt_normalizer_flush() to force buffer sending
- Enhance test suite with async wait tests, fragmentation verification, and buffer flush tests
- Fix test edge cases by flushing packer buffer between subtests
- Improve test reliability with increased iteration limits and while loop processing
- Add connection module for secure UDP communication with ECC/AES-CCM cryptography
2026-01-14 15:39:41 +04:00

20 lines
525 B
C

// simple_uasync.h - Test helpers for uasync mock
#ifndef SIMPLE_UASYNC_H
#define SIMPLE_UASYNC_H
#define ETCP_DEBUG 1
#include <stdint.h>
// These functions are only available when linking with simple_uasync.o
// instead of u_async.o
// Advance time by delta_tb timebase units and process expired timers
void simple_uasync_advance_time(uint32_t delta_tb);
// Get current time in timebase units
uint32_t simple_uasync_get_time(void);
// Clear all pending timers
void simple_uasync_clear(void);
#endif // SIMPLE_UASYNC_H