use super::super::c;
use bitflags::bitflags;
bitflags! {
pub struct SendFlags: u32 {
const CONFIRM = c::MSG_CONFIRM;
const DONTROUTE = c::MSG_DONTROUTE;
const DONTWAIT = c::MSG_DONTWAIT;
const EOT = c::MSG_EOR;
const MORE = c::MSG_MORE;
const NOSIGNAL = c::MSG_NOSIGNAL;
const OOB = c::MSG_OOB;
}
}
bitflags! {
pub struct RecvFlags: u32 {
const CMSG_CLOEXEC = c::MSG_CMSG_CLOEXEC;
const DONTWAIT = c::MSG_DONTWAIT;
const ERRQUEUE = c::MSG_ERRQUEUE;
const OOB = c::MSG_OOB;
const PEEK = c::MSG_PEEK;
const TRUNC = c::MSG_TRUNC;
const WAITALL = c::MSG_WAITALL;
}
}