pub const SEND = packed struct(integer_t) MSG: bool = trueOther flags are only valid if this one is set.
_1: u3 = 0TIMEOUT: bool = falseOVERRIDE: bool = falseINTERRUPT: bool = falseNOTIFY: bool = false_8: u1 = 0STRICT_REPLY: bool = falseShared between RCV and SEND.
_10: u6 = 0FILTER_NONFATAL: bool = falseUser-only. If you're the kernel, this bit is MACH_SEND_ALWAYS.
TRAILER: bool = falseNOIMPORTANCE: bool = falseSynonymous to MACH_SEND_NODENAP.
IMPORTANCE: bool = falseKernel-only.
SYNC_OVERRIDE: bool = falsePROPAGATE_QOS: bool = falseSynonymous to MACH_SEND_SYNC_USE_THRPRI.
KERNEL: bool = falseKernel-only.
SYNC_BOOTSTRAP_CHECKIN: bool = false_24: u8 = 0197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223 pub const SEND = packed struct(integer_t) {
/// Other flags are only valid if this one is set.
MSG: bool = true,
_1: u3 = 0,
TIMEOUT: bool = false,
OVERRIDE: bool = false,
INTERRUPT: bool = false,
NOTIFY: bool = false,
_8: u1 = 0,
/// Shared between `RCV` and `SEND`.
STRICT_REPLY: bool = false,
_10: u6 = 0,
/// User-only. If you're the kernel, this bit is `MACH_SEND_ALWAYS`.
FILTER_NONFATAL: bool = false,
TRAILER: bool = false,
/// Synonymous to `MACH_SEND_NODENAP`.
NOIMPORTANCE: bool = false,
/// Kernel-only.
IMPORTANCE: bool = false,
SYNC_OVERRIDE: bool = false,
/// Synonymous to `MACH_SEND_SYNC_USE_THRPRI`.
PROPAGATE_QOS: bool = false,
/// Kernel-only.
KERNEL: bool = false,
SYNC_BOOTSTRAP_CHECKIN: bool = false,
_24: u8 = 0,
}