File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -1262,6 +1262,12 @@ s! {
1262
1262
pub iffmid_id: u32 ,
1263
1263
pub iffmid_str: [ :: c_char; 1 ] ,
1264
1264
}
1265
+
1266
+ // kern_control.h
1267
+ pub struct ctl_info {
1268
+ pub ctl_id: u32 ,
1269
+ pub ctl_name: [ :: c_char; MAX_KCTL_NAME ] ,
1270
+ }
1265
1271
}
1266
1272
1267
1273
s_no_extra_traits ! {
@@ -5565,6 +5571,9 @@ pub const NETLINK_GENERIC: ::c_int = 0;
5565
5571
pub const DOT3COMPLIANCE_STATS : :: c_int = 1 ;
5566
5572
pub const DOT3COMPLIANCE_COLLS : :: c_int = 2 ;
5567
5573
5574
+ // kern_control.h
5575
+ pub const MAX_KCTL_NAME : usize = 96 ;
5576
+
5568
5577
f ! {
5569
5578
pub fn CMSG_NXTHDR ( mhdr: * const :: msghdr,
5570
5579
cmsg: * const :: cmsghdr) -> * mut :: cmsghdr {
@@ -6584,6 +6593,3 @@ cfg_if! {
6584
6593
// Unknown target_arch
6585
6594
}
6586
6595
}
6587
-
6588
- mod long_array;
6589
- pub use self :: long_array:: * ;
You can’t perform that action at this time.
0 commit comments