/**************************************************************************/
#include "fwp_utils.h"
+#include <unistd.h>
#include <sched.h>
/*#include <stdlib.h>*/
+#include "fwp_debug.h"
+#include <errno.h>
/*const int prio_to_ac[8] = {2,3,3,2,1,1,0,0};
const unsigned int ac_to_tos[4] = {224,160,96,64};
[AC_BE] = "AC_BE", [AC_BK] = "AC_BK", };
*/
-inline void fwp_timespec_add (struct timespec *sum, const struct timespec *left,
+void fwp_timespec_add (struct timespec *sum, const struct timespec *left,
const struct timespec *right)
{
sum->tv_sec = left->tv_sec + right->tv_sec;
}
}
-inline void fwp_timespec_sub (struct timespec *diff, const struct timespec *left,
+void fwp_timespec_sub (struct timespec *diff, const struct timespec *left,
const struct timespec *right)
{
diff->tv_sec = left->tv_sec - right->tv_sec;