mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 05:06:44 +07:00
922cd657c9
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
31 lines
778 B
C
31 lines
778 B
C
/*
|
|
* 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.
|
|
*
|
|
*/
|
|
|
|
#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) */
|
|
CAN_RAW_FD_FRAMES, /* allow CAN FD frames (default:off) */
|
|
};
|
|
|
|
#endif
|