File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -2568,6 +2568,7 @@ fn test_linux(target: &str) {
25682568 cfg:
25692569 "asm/mman.h" ,
25702570 "linux/can.h" ,
2571+ "linux/can/raw.h" ,
25712572 "linux/dccp.h" ,
25722573 "linux/errqueue.h" ,
25732574 "linux/falloc.h" ,
Original file line number Diff line number Diff line change @@ -219,6 +219,12 @@ CAN_SFF_ID_BITS
219219CAN_SFF_MASK
220220CAN_TP16
221221CAN_TP20
222+ CAN_RAW_FILTER
223+ CAN_RAW_ERR_FILTER
224+ CAN_RAW_LOOPBACK
225+ CAN_RAW_RECV_OWN_MSGS
226+ CAN_RAW_FD_FRAMES
227+ CAN_RAW_JOIN_FILTERS
222228CBAUD
223229CBAUDEX
224230CLD_CONTINUED
@@ -2025,6 +2031,7 @@ SOL_ALG
20252031SOL_ATM
20262032SOL_BLUETOOTH
20272033SOL_CAN_BASE
2034+ SOL_CAN_RAW
20282035SOL_DCCP
20292036SOL_DECNET
20302037SOL_ICMPV6
Original file line number Diff line number Diff line change @@ -3074,6 +3074,15 @@ pub const SOL_CAN_BASE: ::c_int = 100;
30743074pub const CAN_INV_FILTER : canid_t = 0x20000000 ;
30753075pub const CAN_RAW_FILTER_MAX : :: c_int = 512 ;
30763076
3077+ // linux/can/raw.h
3078+ pub const SOL_CAN_RAW : :: c_int = SOL_CAN_BASE + CAN_RAW ;
3079+ pub const CAN_RAW_FILTER : :: c_int = 1 ;
3080+ pub const CAN_RAW_ERR_FILTER : :: c_int = 2 ;
3081+ pub const CAN_RAW_LOOPBACK : :: c_int = 3 ;
3082+ pub const CAN_RAW_RECV_OWN_MSGS : :: c_int = 4 ;
3083+ pub const CAN_RAW_FD_FRAMES : :: c_int = 5 ;
3084+ pub const CAN_RAW_JOIN_FILTERS : :: c_int = 6 ;
3085+
30773086#[ deprecated(
30783087 since = "0.2.102" ,
30793088 note = "Errnoeously uses c_int; should use c_short."
You can’t perform that action at this time.
0 commit comments