Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
uapi
linux
can
raw.h
Go to the documentation of this file.
1
/*
2
* linux/can/raw.h
3
*
4
* Definitions for raw CAN sockets
5
*
6
* Authors: Oliver Hartkopp <
[email protected]
>
7
* Urs Thuermann <
[email protected]
>
8
* Copyright (c) 2002-2007 Volkswagen Group Electronic Research
9
* 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
CAN_RAW_FD_FRAMES
,
/* allow CAN FD frames (default:off) */
28
};
29
30
#endif
Generated on Thu Jan 10 2013 14:53:15 for Linux Kernel by
1.8.2