blob: 940a8523d6d343e9b77cb8e375860f4d39d8dfb7 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -07007#ifndef _UAPI_CAN_RAW_H
8#define _UAPI_CAN_RAW_H
Ben Cheng655a7c02013-10-16 16:09:24 -07009#include <linux/can.h>
10#define SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW)
Christopher Ferris8666d042023-09-06 14:55:31 -070011#define CAN_RAW_FILTER_MAX 512
Ben Cheng655a7c02013-10-16 16:09:24 -070012enum {
Christopher Ferris32ff3f82020-12-14 13:10:04 -080013 SCM_CAN_RAW_ERRQUEUE = 1,
14};
15enum {
Tao Baod7db5942015-01-28 10:07:51 -080016 CAN_RAW_FILTER = 1,
17 CAN_RAW_ERR_FILTER,
18 CAN_RAW_LOOPBACK,
Tao Baod7db5942015-01-28 10:07:51 -080019 CAN_RAW_RECV_OWN_MSGS,
20 CAN_RAW_FD_FRAMES,
Christopher Ferris05d08e92016-02-04 13:16:38 -080021 CAN_RAW_JOIN_FILTERS,
Christopher Ferris6cd53a52022-12-12 23:39:16 +000022 CAN_RAW_XL_FRAMES,
Ben Cheng655a7c02013-10-16 16:09:24 -070023};
Christopher Ferris05d08e92016-02-04 13:16:38 -080024#endif