* converts a float to a timeval structure */
| 81 | * converts a float to a timeval structure |
| 82 | */ |
| 83 | inline void |
| 84 | float2timer(float time, struct timeval *tvp) |
| 85 | { |
| 86 | float n; |
| 87 | |
| 88 | n = time; |
| 89 | |
| 90 | tvp->tv_sec = n; |
| 91 | |
| 92 | n -= tvp->tv_sec; |
| 93 | tvp->tv_usec = n * 100000; |
| 94 | } |
| 95 | |
| 96 | int parse_play_args(const char* filename, const char *basepath, pcap_pkts* pkts) |
| 97 | { |
nothing calls this directly
no outgoing calls
no test coverage detected