]> rtime.felk.cvut.cz Git - sojka/can-utils.git/commit
Added new socketoptions to force the isotp protocol to intentionally
authorOliver Hartkopp <socketcan@hartkopp.net>
Sun, 14 Nov 2010 08:55:06 +0000 (08:55 +0000)
committerOliver Hartkopp <socketcan@hartkopp.net>
Sun, 14 Nov 2010 08:55:06 +0000 (08:55 +0000)
commit6aeb7d1faaf801e5f4720f22191e5c31c36e672c
tree84452085516135bd6f28ed8162a6c040295b18c2
parentd3468d907f94c01f8b41c8142007529bae9a6ccc
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.
isotprecv.c
isotpsend.c