-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 78135 b: refs/heads/master c: c18ce10 h: refs/heads/master i: 78133: 9b5377f 78131: bc3949f 78127: 8ea7a42 v: v3
- Loading branch information
Oliver Hartkopp
authored and
David S. Miller
committed
Jan 28, 2008
1 parent
fda119b
commit b040454
Showing
5 changed files
with
809 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 0d66548a10cbbe0ef256852d63d30603f0f73f9b | ||
refs/heads/master: c18ce101f2e47d97ace125033e2896895a6db3dd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* linux/can/raw.h | ||
* | ||
* Definitions for raw CAN sockets | ||
* | ||
* Authors: Oliver Hartkopp <oliver.hartkopp@volkswagen.de> | ||
* Urs Thuermann <urs.thuermann@volkswagen.de> | ||
* Copyright (c) 2002-2007 Volkswagen Group Electronic Research | ||
* All rights reserved. | ||
* | ||
* Send feedback to <socketcan-users@lists.berlios.de> | ||
* | ||
*/ | ||
|
||
#ifndef CAN_RAW_H | ||
#define CAN_RAW_H | ||
|
||
#include <linux/can.h> | ||
|
||
#define SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW) | ||
|
||
/* for socket options affecting the socket (not the global system) */ | ||
|
||
enum { | ||
CAN_RAW_FILTER = 1, /* set 0 .. n can_filter(s) */ | ||
CAN_RAW_ERR_FILTER, /* set filter for error frames */ | ||
CAN_RAW_LOOPBACK, /* local loopback (default:on) */ | ||
CAN_RAW_RECV_OWN_MSGS /* receive my own msgs (default:off) */ | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,6 @@ | |
|
||
obj-$(CONFIG_CAN) += can.o | ||
can-objs := af_can.o proc.o | ||
|
||
obj-$(CONFIG_CAN_RAW) += can-raw.o | ||
can-raw-objs := raw.o |
Oops, something went wrong.