Skip to content

Commit e61ae4a

Browse files
bors[bot]Gleb Pomykalovasomers
authored
Merge #1208
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]>
2 parents 490e979 + 5decdd7 commit e61ae4a

File tree

4 files changed

+452
-55
lines changed

4 files changed

+452
-55
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
2323
([#1207](https://github.com/nix-rust/nix/pull/1207))
2424
- Added support for UDP generic segmentation offload (GSO) and generic
2525
receive offload (GRO) ([#1209](https://github.com/nix-rust/nix/pull/1209))
26+
- Added support for `sendmmsg` and `recvmmsg` calls
27+
(#[1208](https://github.com/nix-rust/nix/pull/1208))
2628

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

0 commit comments

Comments
 (0)