ROFL-pipeline
v0.6.0dev
|
System time API is in charge of providing the pipeline with the time, used for statistics and flow expirations. More...
Functions | |
ROFL_BEGIN_DECLS int | platform_gettimeofday (struct timeval *tval) |
Gets the system time. More... | |
System time API is in charge of providing the pipeline with the time, used for statistics and flow expirations.
Must be implemented by the library users
ROFL_BEGIN_DECLS int platform_gettimeofday | ( | struct timeval * | tval | ) |
Gets the system time.
platform_gettimeofday() has the same semantic as POSIXs gettimeofday. Gets the time and stores it in the structure timeval