use bitflags::bitflags;
bitflags! {
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct So9MsgFlags: i32
{
const MSG_OOB = libc::MSG_OOB;
const MSG_PEEK = libc::MSG_PEEK;
const MSG_DONTWAIT = libc::MSG_DONTWAIT;
const MSG_CTRUNC = libc::MSG_CTRUNC;
const MSG_TRUNC = libc::MSG_TRUNC;
const MSG_EOR = libc::MSG_EOR;
const MSG_ERRQUEUE = libc::MSG_ERRQUEUE;
#[cfg(any(
target_os = "dragonfly",
target_os = "freebsd",
target_os = "linux",
target_os = "netbsd",
target_os = "openbsd",
target_os = "android",))
]
const MSG_CMSG_CLOEXEC = libc::MSG_CMSG_CLOEXEC;
const MSG_NOSIGNAL = libc::MSG_NOSIGNAL;
}
}