spi-topcliff-pch: Fix issue for transmitting over 4KByte
[zen-stable.git] / include / linux / can / raw.h
blob781f3a3701be1ad77482efa1fbd9e870292dc784
1 /*
2 * linux/can/raw.h
4 * Definitions for raw CAN sockets
6 * Authors: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
7 * Urs Thuermann <urs.thuermann@volkswagen.de>
8 * Copyright (c) 2002-2007 Volkswagen Group Electronic Research
9 * All rights reserved.
13 #ifndef CAN_RAW_H
14 #define CAN_RAW_H
16 #include <linux/can.h>
18 #define SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW)
20 /* for socket options affecting the socket (not the global system) */
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) */
29 #endif