about summary refs log tree commit diff
path: root/library/std/src/sys/unix/ext/net.rs
AgeCommit message (Collapse)AuthorLines
2020-10-10Split net.rs into multiple filesLinkTed-2635/+0
2020-10-10unix: Extend UnixStream and UnixDatagram to send and receive file descriptorsLinkTed-0/+867
Add the functions `recv_vectored_fds` and `send_vectored_fds` to send and receive file descriptors, by using `recvmsg` and `sendmsg` system call.
2020-09-19Add tracking issue for feature(unix_socket_peek)rijenkii-3/+3
2020-09-15Auto merge of #75148 - joechrisellis:master, r=Amanieubors-0/+51
Implementation of peer credentials for Unix sockets The code in `ucred.rs` is based on the work done in [PR 13](https://github.com/tokio-rs/tokio-uds/pull/13) in the tokio-uds repository on GitHub. This commit is effectively a port to the stdlib, so credit to Martin Habovštiak (`@Kixunil)` and contributors for the meat of this work. 🥇 Happy to make changes as needed. 🙂
2020-09-14Conditionally compile peer credentials feature for supported platformsJoe Ellis-0/+9
2020-09-14Remove use of `MaybeUninit` in `ucred.rs`Joe Ellis-0/+1
We can simply init the struct directly. There is no real need to use uninit memory here.
2020-09-14Implementation of peer credentials for Unix socketsJoe Ellis-0/+41
The code in `ucred.rs` is based on the work done in PR 13 in the tokio-uds repository on GitHub. Link below for reference: https://github.com/tokio-rs/tokio-uds/pull/13 Credit to Martin Habovštiak (GitHub username Kixunil) and contributors for this work!
2020-09-12Rollup merge of #76583 - CDirkx:os-doc, r=jonas-schievinkRalf Jung-2/+2
Update `std::os` module documentation. Adds missing descriptions for the modules `std::os::linux::fs` and `std::os::windows::io`. Also adds punctuation for consistency with other descriptions.
2020-09-11Add `peek` and `peek_from` to `UnixStream` and `UnixDatagram`rijenkii-20/+112
2020-09-11Update `std::os` module documentation.Christiaan Dirkx-2/+2
Adds missing descriptions for the modules std::os::linux::fs and std::os::windows::io. Also adds punctuation for consistency with other descriptions.
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-379/+3
Also doing fmt inplace as requested.
2020-08-19resolve commentsPrabakaran Kumaresshan-11/+0
2020-08-19Switch to intra-doc links in /src/sys/unix/ext/*.rsPrabakaran Kumaresshan-32/+20
2020-07-27mv std libs to library/mark-0/+2024