Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


raw.h
01: /*
02:  * linux/can/raw.h
03:  *
04:  * Definitions for raw CAN sockets
05:  *
06:  * Authors: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
07:  *          Urs Thuermann   <urs.thuermann@volkswagen.de>
08:  * Copyright (c) 2002-2007 Volkswagen Group Electronic Research
09:  * All rights reserved.
10:  *
11:  */
12: 
13: #ifndef CAN_RAW_H
14: #define CAN_RAW_H
15: 
16: #include <linux/can.h>
17: 
18: #define SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW)
19: 
20: /* for socket options affecting the socket (not the global system) */
21: 
22: enum {
23:         CAN_RAW_FILTER = 1,     /* set 0 .. n can_filter(s)          */
24:         CAN_RAW_ERR_FILTER,     /* set filter for error frames       */
25:         CAN_RAW_LOOPBACK,       /* local loopback (default:on)       */
26:         CAN_RAW_RECV_OWN_MSGS   /* receive my own msgs (default:off) */
27: };
28: 
29: #endif
30: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/