| 274 | } |
| 275 | |
| 276 | static uint64_t |
| 277 | current_timestamp(void) |
| 278 | { |
| 279 | struct timespec ts; |
| 280 | |
| 281 | clock_gettime(CLOCK_REALTIME, &ts); |
| 282 | return rte_timespec_to_ns(&ts); |
| 283 | } |
| 284 | |
| 285 | /* |
| 286 | * Open the resulting pcapng file with libpcap |
no test coverage detected