diff --git a/libc-test/semver/linux-musl.txt b/libc-test/semver/linux-musl.txt index 5f25852157c9..75d41fa549bc 100644 --- a/libc-test/semver/linux-musl.txt +++ b/libc-test/semver/linux-musl.txt @@ -10,6 +10,11 @@ EMPTY Elf32_Chdr Elf64_Chdr INIT_PROCESS +IFA_FLAGS +IFA_F_MANAGETEMPADDR +IFA_F_MCAUTOJOIN +IFA_F_NOPREFIXROUTE +IFA_F_STABLE_PRIVACY LIO_NOP LIO_NOWAIT LIO_READ diff --git a/src/unix/linux_like/linux/musl/mod.rs b/src/unix/linux_like/linux/musl/mod.rs index 8666218f14a9..f9ccf46fb0ed 100644 --- a/src/unix/linux_like/linux/musl/mod.rs +++ b/src/unix/linux_like/linux/musl/mod.rs @@ -895,6 +895,14 @@ cfg_if! { } } +// linux/if_addr.h +pub const IFA_FLAGS: c_ushort = 8; + +pub const IFA_F_MANAGETEMPADDR: u32 = 0x100; +pub const IFA_F_NOPREFIXROUTE: u32 = 0x200; +pub const IFA_F_MCAUTOJOIN: u32 = 0x400; +pub const IFA_F_STABLE_PRIVACY: u32 = 0x800; + extern "C" { pub fn sendmmsg( sockfd: c_int,