From d603afc9e4ab932977582f4be7f9ce2375411236 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 2 Nov 2019 21:44:59 +0100 Subject: sys/linux: add missing arm/386 CAN consts --- sys/linux/socket_can_386.const | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'sys/linux/socket_can_386.const') diff --git a/sys/linux/socket_can_386.const b/sys/linux/socket_can_386.const index 6a08df957..879df3f60 100644 --- a/sys/linux/socket_can_386.const +++ b/sys/linux/socket_can_386.const @@ -5,8 +5,15 @@ CANFD_ESI = 2 CANFD_MAX_DLEN = 64 CAN_BCM = 2 CAN_FD_FRAME = 2048 +CAN_J1939 = 7 CAN_MAX_DLEN = 8 CAN_RAW = 1 +CAN_RAW_ERR_FILTER = 2 +CAN_RAW_FD_FRAMES = 5 +CAN_RAW_FILTER = 1 +CAN_RAW_JOIN_FILTERS = 6 +CAN_RAW_LOOPBACK = 3 +CAN_RAW_RECV_OWN_MSGS = 4 RX_ANNOUNCE_RESUME = 256 RX_CHECK_DLC = 64 RX_DELETE = 6 @@ -19,6 +26,12 @@ SETTIMER = 1 SIOCGIFINDEX = 35123 SOCK_DGRAM = 2 SOCK_RAW = 3 +SOL_CAN_J1939 = 107 +SOL_CAN_RAW = 101 +SO_J1939_ERRQUEUE = 4 +SO_J1939_FILTER = 1 +SO_J1939_PROMISC = 2 +SO_J1939_SEND_PRIO = 3 STARTTIMER = 2 TX_ANNOUNCE = 8 TX_COUNTEVT = 4 @@ -30,6 +43,9 @@ TX_SEND = 4 TX_SETUP = 1 __NR_bind = 361 __NR_connect = 362 +__NR_getsockopt = 365 __NR_ioctl = 54 +__NR_recvmsg = 372 __NR_sendmsg = 370 +__NR_setsockopt = 366 __NR_socket = 359 -- cgit mrf-deployment