We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 493d79b + 9e94d5b commit d9f256eCopy full SHA for d9f256e
src/unix/notbsd/linux/mod.rs
@@ -126,13 +126,6 @@ s! {
126
__f_spare: [::c_int; 6],
127
}
128
129
- pub struct sockaddr_nl {
130
- pub nl_family: ::sa_family_t,
131
- nl_pad: ::c_ushort,
132
- pub nl_pid: u32,
133
- pub nl_groups: u32
134
- }
135
-
136
pub struct dqblk {
137
pub dqb_bhardlimit: ::uint64_t,
138
pub dqb_bsoftlimit: ::uint64_t,
src/unix/notbsd/mod.rs
@@ -61,6 +61,13 @@ s! {
61
pub ai_next: *mut addrinfo,
62
63
64
+ pub struct sockaddr_nl {
65
+ pub nl_family: ::sa_family_t,
66
+ nl_pad: ::c_ushort,
67
+ pub nl_pid: u32,
68
+ pub nl_groups: u32
69
+ }
70
+
71
pub struct sockaddr_ll {
72
pub sll_family: ::c_ushort,
73
pub sll_protocol: ::c_ushort,
0 commit comments