4 * Definitions for raw CAN sockets
8 * Copyright (c) 2002-2007 Volkswagen Group Electronic Research
18 #include <linux/can.h>
20 #define SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW)
22 /* for socket options affecting the socket (not the global system) */
25 CAN_RAW_FILTER = 1, /* set 0 .. n can_filter(s) */
26 CAN_RAW_ERR_FILTER, /* set filter for error frames */
27 CAN_RAW_LOOPBACK, /* local loopback (default:on) */
28 CAN_RAW_RECV_OWN_MSGS /* receive my own msgs (default:off) */