File tree 1 file changed +15
-17
lines changed
src/unix/linux_like/linux
1 file changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -1064,6 +1064,21 @@ s! {
1064
1064
pub get_args: __u16,
1065
1065
pub name: [ c_char; :: IFNAMSIZ ] ,
1066
1066
}
1067
+
1068
+ // linux/ptp_clock.h
1069
+ pub struct ptp_sys_offset {
1070
+ pub n_samples: :: c_uint,
1071
+ pub rsv: [ :: c_uint; 3 ] ,
1072
+ pub ts: [ ptp_clock_time; 2 * PTP_MAX_SAMPLES as usize + 1 ] ,
1073
+ }
1074
+
1075
+ pub struct ptp_pin_desc {
1076
+ pub name: [ :: c_char; 64 ] ,
1077
+ pub index: :: c_uint,
1078
+ pub func: :: c_uint,
1079
+ pub chan: :: c_uint,
1080
+ pub rsv: [ :: c_uint; 5 ] ,
1081
+ }
1067
1082
}
1068
1083
1069
1084
cfg_if ! {
@@ -1247,23 +1262,6 @@ s_no_extra_traits! {
1247
1262
}
1248
1263
}
1249
1264
1250
- s ! {
1251
- // linux/ptp_clock.h
1252
- pub struct ptp_sys_offset {
1253
- pub n_samples: :: c_uint,
1254
- pub rsv: [ :: c_uint; 3 ] ,
1255
- pub ts: [ ptp_clock_time; 2 * PTP_MAX_SAMPLES as usize + 1 ] ,
1256
- }
1257
-
1258
- pub struct ptp_pin_desc {
1259
- pub name: [ :: c_char; 64 ] ,
1260
- pub index: :: c_uint,
1261
- pub func: :: c_uint,
1262
- pub chan: :: c_uint,
1263
- pub rsv: [ :: c_uint; 5 ] ,
1264
- }
1265
- }
1266
-
1267
1265
s_no_extra_traits ! {
1268
1266
// linux/net_tstamp.h
1269
1267
#[ allow( missing_debug_implementations) ]
You can’t perform that action at this time.
0 commit comments