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) {
2568
2568
cfg:
2569
2569
"asm/mman.h" ,
2570
2570
"linux/can.h" ,
2571
+ "linux/can/raw.h" ,
2571
2572
"linux/dccp.h" ,
2572
2573
"linux/errqueue.h" ,
2573
2574
"linux/falloc.h" ,
Original file line number Diff line number Diff line change @@ -219,6 +219,12 @@ CAN_SFF_ID_BITS
219
219
CAN_SFF_MASK
220
220
CAN_TP16
221
221
CAN_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
222
228
CBAUD
223
229
CBAUDEX
224
230
CLD_CONTINUED
@@ -2025,6 +2031,7 @@ SOL_ALG
2025
2031
SOL_ATM
2026
2032
SOL_BLUETOOTH
2027
2033
SOL_CAN_BASE
2034
+ SOL_CAN_RAW
2028
2035
SOL_DCCP
2029
2036
SOL_DECNET
2030
2037
SOL_ICMPV6
Original file line number Diff line number Diff line change @@ -3074,6 +3074,15 @@ pub const SOL_CAN_BASE: ::c_int = 100;
3074
3074
pub const CAN_INV_FILTER : canid_t = 0x20000000 ;
3075
3075
pub const CAN_RAW_FILTER_MAX : :: c_int = 512 ;
3076
3076
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
+
3077
3086
#[ deprecated(
3078
3087
since = "0.2.102" ,
3079
3088
note = "Errnoeously uses c_int; should use c_short."
You can’t perform that action at this time.
0 commit comments