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 sendmmsg() / recvmmsg() #1017

Closed
wants to merge 27 commits into from
Closed

Add sendmmsg() / recvmmsg() #1017

wants to merge 27 commits into from

Commits on Apr 1, 2019

  1. Add sendmmsg() / recvmmsg()

    dholroyd committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    fc23427 View commit details
    Browse the repository at this point in the history
  2. Add missing cfg gate on the impl

    (Was already there on the struct)
    dholroyd committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    ba40139 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    83dc6c2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1e2dd8d View commit details
    Browse the repository at this point in the history
  5. Use mem::uninitialized for mmsghdr

    Avoid problems with some platforms having padding fields that would
    otherwise cause errors if not initialised.
    dholroyd committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    898baa2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    21f6644 View commit details
    Browse the repository at this point in the history
  7. Make imports conditional

    So that they are not unused on platforms that don's have mmsg
    dholroyd committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    0b571b7 View commit details
    Browse the repository at this point in the history
  8. Minimal docs

    dholroyd committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    ada4296 View commit details
    Browse the repository at this point in the history
  9. Add PR link

    dholroyd committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    65b2ae0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a4ade88 View commit details
    Browse the repository at this point in the history
  11. Don's assume int size

    dholroyd committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    defb24a View commit details
    Browse the repository at this point in the history
  12. Reformat long lines

    dholroyd committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    b2ffef3 View commit details
    Browse the repository at this point in the history
  13. mmsg on additional targets

    dholroyd committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    22c9a90 View commit details
    Browse the repository at this point in the history
  14. More cmsg

    dholroyd committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    8b5d16a View commit details
    Browse the repository at this point in the history
  15. Remove threading from test

    No particular need for it, if the recvmmsg() is changed to be blocking
    dholroyd committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    a61d2ef View commit details
    Browse the repository at this point in the history
  16. Deduplicate

    dholroyd committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    dadfe3f View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    de7df0e View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    1e79bf0 View commit details
    Browse the repository at this point in the history
  19. Add missing 'use'

    dholroyd committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    4a3b203 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    ca4611d View commit details
    Browse the repository at this point in the history
  21. Add freebsd/netbsd back, having added libc support

    This reverts commit ca4611d.
    dholroyd committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    c709020 View commit details
    Browse the repository at this point in the history
  22. mmsg bits for android

    dholroyd committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    8182cb3 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    481c286 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    2dc8647 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    5490901 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2019

  1. Fix soundness issue due to missing lifetime

    Before, the caller would have been allowed to move the storage of the
    slice to which the mmsghdr within RecvMMsgHdr holds a pointer.
    
    This took me ages to track down :(
    dholroyd committed Apr 7, 2019
    Configuration menu
    Copy the full SHA
    66b9292 View commit details
    Browse the repository at this point in the history
  2. Fix some clippy lints

    (clippy dislikes mem::transmute, so I'm just doing as it asks)
    dholroyd committed Apr 7, 2019
    Configuration menu
    Copy the full SHA
    52b081d View commit details
    Browse the repository at this point in the history