![]() |
Flowgrind
Advanced TCP traffic generator
|
Debugging routines for Flowgrind controller and daemon. More...
#include "debug.h"#include "config.h"#include <stdio.h>#include <time.h>#include <string.h>#include "fg_time.h"#include "fg_string.h"Go to the source code of this file.
Functions | |
| int | debug_timestamp (char **strp) |
| Helper function for DEBUG_MSG macro. More... | |
| void | decrease_debuglevel () |
| Decrease debug level. More... | |
| void | increase_debuglevel () |
| Decrease debug level. More... | |
Debugging routines for Flowgrind controller and daemon.
Definition in file debug.c.
| int debug_timestamp | ( | char ** | resultp | ) |
Helper function for DEBUG_MSG macro.
Write string with the current time in seconds and nanoseconds since the Epoch together with the delta in time since the last and first call the function.
| [in,out] | resultp | destination string to write to |
Definition at line 56 of file debug.c.
|
inline |
Decrease debug level.
|
inline |
Decrease debug level.