Skip to content

Commit

Permalink
Merge #1208
Browse files Browse the repository at this point in the history
1208: Support sendmmsg/recvmmsg r=asomers a=glebpom

This pull request adds `sendmmsg` and `recvmmsg` functions. They are used to send and receive multiple messages per one call. Additionally, `AsMut` implemented for both `TimeSpec` and `TimeVal`. 

This is still WIP, because we need to find the best way on how to pass multiple values to *mmsg functions. Current approach with iterators doesn't seem ergonomic.

Co-authored-by: Gleb Pomykalov <[email protected]>
Co-authored-by: Alan Somers <[email protected]>
  • Loading branch information
3 people authored Apr 26, 2020
2 parents 490e979 + 5decdd7 commit e61ae4a
Show file tree
Hide file tree
Showing 4 changed files with 452 additions and 55 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
([#1207](https://github.com/nix-rust/nix/pull/1207))
- Added support for UDP generic segmentation offload (GSO) and generic
receive offload (GRO) ([#1209](https://github.com/nix-rust/nix/pull/1209))
- Added support for `sendmmsg` and `recvmmsg` calls
(#[1208](https://github.com/nix-rust/nix/pull/1208))

### Changed
- Changed `fallocate` return type from `c_int` to `()` (#[1201](https://github.com/nix-rust/nix/pull/1201))
Expand Down
Loading

0 comments on commit e61ae4a

Please sign in to comment.