base_scheduler/socket_send_flags.rs
1// Released under the MIT License.
2// Copyright, 2026, by Samuel Williams.
3
4/// Portable input flags for socket send operations. Additional platform-specific flags belong in extension capabilities.
5#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
6pub struct SocketSendFlags {
7 /// Ask the OS to send directly to a local network without routing (`MSG_DONTROUTE`). Protocols may reject this or ignore it.
8 pub dont_route: bool,
9}