Skip to content

Commit

Permalink
isotp: add define for SF_BROADCAST support
Browse files Browse the repository at this point in the history
When CAN_ISOTP_SF_BROADCAST is set in the CAN_ISOTP_OPTS flags the
CAN_ISOTP socket is switched into functional addressing mode, where
only single frame (SF) protocol data units can be send on the specified
CAN interface and the given tp.tx_id after bind().

Add the CAN_ISOTP_SF_BROADCAST define from Linux UAPI includes.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
  • Loading branch information
hartkopp committed Dec 6, 2020
1 parent 33de126 commit 280ea43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/can/isotp.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ struct can_isotp_ll_options {
#define CAN_ISOTP_FORCE_RXSTMIN 0x100 /* ignore CFs depending on rx stmin */
#define CAN_ISOTP_RX_EXT_ADDR 0x200 /* different rx extended addressing */
#define CAN_ISOTP_WAIT_TX_DONE 0x400 /* wait for tx completion */

#define CAN_ISOTP_SF_BROADCAST 0x800 /* 1-to-N functional addressing */

/* default values */

Expand Down

0 comments on commit 280ea43

Please sign in to comment.