Skip to content

Commit

Permalink
docs: remove reference to sendmmsg
Browse files Browse the repository at this point in the history
`sendmmsg` has been dropped in ee08826.

This commit removes left-over references to sendmmsg.
  • Loading branch information
mxinden authored and Ralith committed Jul 3, 2024
1 parent 02ed621 commit 7c4cce1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quinn-udp/src/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub struct UdpSocketState {
gro_segments: usize,
may_fragment: bool,

/// True if we have received EINVAL error from `sendmsg` or `sendmmsg` system call at least once.
/// True if we have received EINVAL error from `sendmsg` system call at least once.
///
/// If enabled, we assume that old kernel is used and switch to fallback mode.
/// In particular, we do not use IP_TOS cmsg_type in this case,
Expand Down Expand Up @@ -209,12 +209,12 @@ impl UdpSocketState {
self.may_fragment
}

/// Returns true if we previously got an EINVAL error from `sendmsg` or `sendmmsg` syscall.
/// Returns true if we previously got an EINVAL error from `sendmsg` syscall.
fn sendmsg_einval(&self) -> bool {
self.sendmsg_einval.load(Ordering::Relaxed)
}

/// Sets the flag indicating we got EINVAL error from `sendmsg` or `sendmmsg` syscall.
/// Sets the flag indicating we got EINVAL error from `sendmsg` syscall.
#[cfg(not(any(
target_os = "macos",
target_os = "ios",
Expand Down

0 comments on commit 7c4cce1

Please sign in to comment.