Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for sendmmsg/recvmmsg #494

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Feb 6, 2024

  1. Configuration menu
    Copy the full SHA
    3c6a36a View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. unix: fix send/recvmmsg on freebsd

    FreeBSD use a `size_t` for the `len` argument, while other UNIX-likes
    use an `unigned int`.
    Tuetuopay committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    75eaa14 View commit details
    Browse the repository at this point in the history
  2. socket: enable send/recvmmsg variants on unix only

    From a quick glance, Windows does not have the equivalent syscall in the
    WinSock API.
    Tuetuopay committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    338edb2 View commit details
    Browse the repository at this point in the history
  3. unix: fix send/recvmmsg when using musl

    This one is great. The whole unix world uses an int for the flags, and
    documents it as such. But musl uses an unsigned int there [1], while
    still documenting a signed int.
    
    This API is cursed.
    
    [1]: https://git.musl-libc.org/cgit/musl/tree/include/sys/socket.h?id=39838619bb8b65a8897abcfda8c17ad6de0115d8#n70
    Tuetuopay committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    1947781 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d297957 View commit details
    Browse the repository at this point in the history
  5. unix: fix recv_multiple_from on 32-bit android

    For some braindead reason, old versions of android on 32 bit  defined
    socklen_t to be an int, instead of the unsigned int it was everywhere
    else.
    Tuetuopay committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    15dd43d View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. Configuration menu
    Copy the full SHA
    3570d60 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8edaeb7 View commit details
    Browse the repository at this point in the history