Daniel Borkmann 4b457bdf1d packet: move hw/sw timestamp extraction into a small helper
This patch introduces a small, internal helper function, that is used by
PF_PACKET. Based on the flags that are passed, it extracts the packet
timestamp in the receive path. This is merely a refactoring to remove
some duplicate code in tpacket_rcv(), to make it more readable, and to
enable others to use this function in PF_PACKET as well, e.g. for TX.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-04-19 16:39:13 -04:00
..
2013-04-07 17:04:17 -04:00
2013-04-19 14:46:06 -04:00
2013-03-17 14:35:13 -04:00
2013-03-28 01:20:42 -04:00
2013-03-08 00:35:44 -05:00
2013-02-21 12:05:51 -08:00
2013-03-26 14:23:45 -07:00
2013-04-17 14:18:33 -04:00
2013-04-07 18:58:55 -04:00
2012-09-26 21:10:25 -04:00
2013-04-19 14:57:57 -04:00
2013-02-10 19:41:08 -05:00