]> rtime.felk.cvut.cz Git - socketcan-devel.git/commit
Added flag to preserve the timestamp from the source device when routing
authorhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Fri, 19 Feb 2010 07:06:17 +0000 (07:06 +0000)
committerhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Fri, 19 Feb 2010 07:06:17 +0000 (07:06 +0000)
commitf995b65d426f3ddef29200c31904df3547c9997d
tree8f5248fdc57d29ed4f31a1c6d2185269cf1e5c29
parentfbc2459bef44d10a1bd7481d53cf65d799bd37cf
Added flag to preserve the timestamp from the source device when routing
the CAN frame (which saves some time, if the timestamp is not needed).
Usually the skb->tstamp is cleared which makes the destination interface
create a new timestamp (e.g. when the frame hit's the bus) on loopback.

git-svn-id: svn://svn.berlios.de//socketcan/trunk@1130 030b6a49-0b11-0410-94ab-b0dab22257f2
kernel/2.6/include/socketcan/can/gw.h
kernel/2.6/net/can/gw.c