pub const Flags = packed struct(u8) eor: boolindicates end-of-record; the data returned completed a record (generally used with sockets of type SOCK_SEQPACKET).
trunc: boolindicates that the trailing portion of a datagram was discarded because the datagram was larger than the buffer supplied.
ctrunc: boolindicates that some control data was discarded due to lack of space in the buffer for ancil‐ lary data.
oob: boolindicates expedited or out-of-band data was received.
errqueue: boolindicates that no data was received but an extended error from the socket error queue.
_: u3 = 0946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962 pub const Flags = packed struct(u8) {
/// indicates end-of-record; the data returned completed a record
/// (generally used with sockets of type SOCK_SEQPACKET).
eor: bool,
/// indicates that the trailing portion of a datagram was discarded
/// because the datagram was larger than the buffer supplied.
trunc: bool,
/// indicates that some control data was discarded due to lack of
/// space in the buffer for ancil‐ lary data.
ctrunc: bool,
/// indicates expedited or out-of-band data was received.
oob: bool,
/// indicates that no data was received but an extended error from the
/// socket error queue.
errqueue: bool,
_: u3 = 0,
}