Skip to content

Commit 0e8dd53

Browse files
authored
Merge pull request #1786 from JohnTitor/ip-mreqn
Add `ip_mreqn` on musl targets
2 parents 8a8edfe + 5c033e0 commit 0e8dd53

File tree

1 file changed

+6
-0
lines changed
  • src/unix/linux_like/linux/musl

1 file changed

+6
-0
lines changed

src/unix/linux_like/linux/musl/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,12 @@ s! {
138138
pub rt_window: ::c_ulong,
139139
pub rt_irtt: ::c_ushort,
140140
}
141+
142+
pub struct ip_mreqn {
143+
pub imr_multiaddr: ::in_addr,
144+
pub imr_address: ::in_addr,
145+
pub imr_ifindex: ::c_int,
146+
}
141147
}
142148

143149
s_no_extra_traits! {

0 commit comments

Comments
 (0)