Daniel Borkmann 398f382c0a pktgen: clean up ktime_t helpers
Some years ago, the ktime_t helper functions ktime_now() and ktime_lt()
have been introduced. Instead of defining them inside pktgen.c, they
should either use ktime_t library functions or, if not available, they
should be defined in ktime.h, so that also others can benefit from them.
ktime_compare() is introduced with a similar notion as in timespec_compare().

Signed-off-by: Daniel Borkmann <daniel.borkmann@tik.ee.ethz.ch>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-03 14:50:15 -04:00
..
2012-10-02 17:26:42 -07:00
2012-10-09 15:04:25 +01:00
2012-09-19 19:08:53 -06:00
2012-10-09 07:07:14 +09:00
2012-10-09 15:04:25 +01:00
2012-10-03 13:45:43 -07:00
2012-10-07 17:29:24 +09:00
2012-08-10 15:27:02 -04:00
2012-10-08 13:50:20 +10:30
2012-09-19 19:08:46 -06:00
2012-09-20 14:31:45 +02:00
2012-09-17 15:00:38 -07:00
2012-10-02 18:32:35 -07:00
2012-10-16 18:49:15 -07:00
2012-09-05 12:18:11 -07:00
2012-09-26 21:10:00 -04:00
2012-10-16 13:37:17 -04:00
2012-08-09 16:18:06 -07:00
2012-10-06 03:04:56 +09:00
2012-09-07 14:57:45 -04:00
2012-09-11 10:15:02 +02:00
2012-09-26 13:52:36 -07:00
2012-08-22 10:24:41 -04:00
2012-11-03 14:50:15 -04:00
2012-10-10 01:15:44 -04:00
2012-10-02 19:01:32 -07:00
2012-09-17 15:00:37 -07:00
2012-10-09 16:22:54 +09:00
2012-10-09 16:23:00 +09:00
2012-10-10 20:00:55 +10:30
2012-10-31 13:18:28 -04:00
2012-10-10 22:41:05 -04:00
2012-10-05 12:01:30 +09:00
2012-10-05 22:23:53 +02:00
2012-10-02 18:32:35 -07:00
2012-10-11 08:50:16 +09:00
2012-10-06 03:05:01 +09:00
2012-09-27 12:45:28 +02:00
2012-10-11 20:02:04 -04:00
2012-10-09 16:22:55 +09:00
2012-08-21 16:28:31 +02:00
2012-10-09 16:22:32 +09:00
2012-09-05 17:21:36 -07:00
2012-08-04 12:15:37 +04:00