]> rtime.felk.cvut.cz Git - socketcan-devel.git/commit
Added new socketoptions to force the isotp protocol to intentionally
authorhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Sun, 14 Nov 2010 08:55:06 +0000 (08:55 +0000)
committerhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Sun, 14 Nov 2010 08:55:06 +0000 (08:55 +0000)
commitb401688614c3dd3dbc62414efd801f127a5390ca
treea00f9ad7ac93b770e6606efedcb35b56794ac01f
parent39cd6f47939aaf786a6517905df5f021fbdfe932
Added new socketoptions to force the isotp protocol to intentionally
misbehave for regression tests.

CAN_ISOTP_TX_STMIN:
Set a value in nano secs that's used as minimum CF gap by the sender.
This value is used instead of the value provided by the receiver inside the FC.

CAN_ISOTP_RX_STMIN:
Ignores received CF frames which timestamps differ less than this value in nano
secs. This is used to test the receivers misbehaviour when the receiver
provides a lower stmin value that he's able to cope with. Received CF frames
are silently dropped when they come faster than specified by this value.

git-svn-id: svn://svn.berlios.de//socketcan/trunk@1201 030b6a49-0b11-0410-94ab-b0dab22257f2
can-utils/isotprecv.c
can-utils/isotpsend.c
kernel/2.6/include/socketcan/can/isotp.h
kernel/2.6/net/can/isotp.c