File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -3526,6 +3526,18 @@ pub const AT_RSEQ_ALIGN: c_ulong = 28;
3526
3526
pub const AT_EXECFN : c_ulong = 31 ;
3527
3527
pub const AT_MINSIGSTKSZ : c_ulong = 51 ;
3528
3528
3529
+ pub const KLOG_CLOSE : :: c_int = 0 ;
3530
+ pub const KLOG_OPEN : :: c_int = 1 ;
3531
+ pub const KLOG_READ : :: c_int = 2 ;
3532
+ pub const KLOG_READ_ALL : :: c_int = 3 ;
3533
+ pub const KLOG_READ_CLEAR : :: c_int = 4 ;
3534
+ pub const KLOG_CLEAR : :: c_int = 5 ;
3535
+ pub const KLOG_CONSOLE_OFF : :: c_int = 6 ;
3536
+ pub const KLOG_CONSOLE_ON : :: c_int = 7 ;
3537
+ pub const KLOG_CONSOLE_LEVEL : :: c_int = 8 ;
3538
+ pub const KLOG_SIZE_UNREAD : :: c_int = 9 ;
3539
+ pub const KLOG_SIZE_BUFFER : :: c_int = 10 ;
3540
+
3529
3541
// Most `*_SUPER_MAGIC` constants are defined at the `linux_like` level; the
3530
3542
// following are only available on newer Linux versions than the versions
3531
3543
// currently used in CI in some configurations, so we define them here.
Original file line number Diff line number Diff line change @@ -132,6 +132,17 @@ s! {
132
132
pub ipi6_ifindex: c_uint,
133
133
}
134
134
135
+ pub struct in_pktinfo {
136
+ pub ipi_ifindex: :: c_uint,
137
+ pub ipi_spec_dst: :: in_addr,
138
+ pub ipi_addr: :: in_addr,
139
+ }
140
+
141
+ pub struct in6_pktinfo {
142
+ pub ipi6_addr: :: in6_addr,
143
+ pub ipi6_ifindex: :: c_uint,
144
+ }
145
+
135
146
pub struct passwd {
136
147
pub pw_name: * mut c_char,
137
148
pub pw_passwd: * mut c_char,
You can’t perform that action at this time.
0 commit comments