aboutsummaryrefslogtreecommitdiff
path: root/sys/linux/socket_can_386.const
diff options
context:
space:
mode:
Diffstat (limited to 'sys/linux/socket_can_386.const')
-rw-r--r--sys/linux/socket_can_386.const19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/linux/socket_can_386.const b/sys/linux/socket_can_386.const
index 6a08df957..ef6e49768 100644
--- a/sys/linux/socket_can_386.const
+++ b/sys/linux/socket_can_386.const
@@ -5,8 +5,18 @@ 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
+J1939_IDLE_ADDR = 254
+J1939_MAX_UNICAST_ADDR = 253
+J1939_NO_ADDR = 255
RX_ANNOUNCE_RESUME = 256
RX_CHECK_DLC = 64
RX_DELETE = 6
@@ -19,6 +29,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 +46,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