Skip to content

Commit 280ea43

Browse files
committed
isotp: add define for SF_BROADCAST support
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 <[email protected]>
1 parent 33de126 commit 280ea43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: include/linux/can/isotp.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ struct can_isotp_ll_options {
135135
#define CAN_ISOTP_FORCE_RXSTMIN 0x100 /* ignore CFs depending on rx stmin */
136136
#define CAN_ISOTP_RX_EXT_ADDR 0x200 /* different rx extended addressing */
137137
#define CAN_ISOTP_WAIT_TX_DONE 0x400 /* wait for tx completion */
138-
138+
#define CAN_ISOTP_SF_BROADCAST 0x800 /* 1-to-N functional addressing */
139139

140140
/* default values */
141141

0 commit comments

Comments
 (0)