blob: a3bddb76c7b48e54f9c62a4b4f6cfa54bc7e44de [file] [log] [blame]
Nick Kralevicha67e4de2013-01-14 11:28:26 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070019#ifndef _UAPI_CAN_RAW_H
20#define _UAPI_CAN_RAW_H
Ben Cheng655a7c02013-10-16 16:09:24 -070021#include <linux/can.h>
22#define SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW)
Ben Cheng655a7c02013-10-16 16:09:24 -070023enum {
Christopher Ferris32ff3f82020-12-14 13:10:04 -080024 SCM_CAN_RAW_ERRQUEUE = 1,
25};
26enum {
Tao Baod7db5942015-01-28 10:07:51 -080027 CAN_RAW_FILTER = 1,
28 CAN_RAW_ERR_FILTER,
29 CAN_RAW_LOOPBACK,
Tao Baod7db5942015-01-28 10:07:51 -080030 CAN_RAW_RECV_OWN_MSGS,
31 CAN_RAW_FD_FRAMES,
Christopher Ferris05d08e92016-02-04 13:16:38 -080032 CAN_RAW_JOIN_FILTERS,
Ben Cheng655a7c02013-10-16 16:09:24 -070033};
Christopher Ferris05d08e92016-02-04 13:16:38 -080034#endif