whitequark
|
5dfc861e38
Remove *Socket::{process,dispatch} from public interface.
|
7 vuotta sitten |
whitequark
|
a15bc8105e
In {Tcp,Udp}Socket::process, make protocol check an assertion.
|
7 vuotta sitten |
whitequark
|
1c1489e5fb
try! → ?
|
7 vuotta sitten |
whitequark
|
735def7e1b
Do not attempt to validate length of packets being emitted.
|
7 vuotta sitten |
Egor Karavaev
|
441881609c
Factor out the `RingBuffer` container.
|
7 vuotta sitten |
whitequark
|
7381e7f98b
fn Device::mtu() -> usize → Device::limits() -> DeviceLimits
|
8 vuotta sitten |
whitequark
|
7af6ddfa0c
Send the TCP MSS option.
|
8 vuotta sitten |
whitequark
|
16826628fe
Distinguish sockets by debug identifiers (socket set indexes).
|
8 vuotta sitten |
whitequark
|
41f9426380
Calculate IP payload length from the total length field.
|
8 vuotta sitten |
whitequark
|
830f9d9ad5
Update TcpSocket::{can,may}_{send,recv} APIs.
|
8 vuotta sitten |
whitequark
|
0dedbaf597
impl Debug for SocketSet.
|
8 vuotta sitten |
whitequark
|
8bff18cfdd
Rework the user-facing error handling in UDP sockets.
|
8 vuotta sitten |
whitequark
|
d5638f469f
Return the amount of bytes sent from UdpSocket::send_slice.
|
8 vuotta sitten |
whitequark
|
e2b4753173
Add functions to check if the UDP socket buffers are empty or not.
|
8 vuotta sitten |
whitequark
|
0ccd6205f7
Swap the data and endpoint in UdpSocket methods.
|
8 vuotta sitten |
whitequark
|
8f28e99a0c
Make interfaces not own the sockets.
|
8 vuotta sitten |
whitequark
|
70a09735c9
Make binding the UDP socket an explicit operation.
|
8 vuotta sitten |
whitequark
|
b4b97ec88f
Use the managed crate.
|
8 vuotta sitten |
whitequark
|
286c130dc5
Implement TCP retransmission.
|
8 vuotta sitten |
whitequark
|
03212f2843
Get rid of the #![feature(associated_consts)].
|
8 vuotta sitten |
whitequark
|
004cfd439b
Improve the user-facing TCP socket API.
|
8 vuotta sitten |
whitequark
|
a8d19a1da4
Implement the userspace side of TCP sockets.
|
8 vuotta sitten |
whitequark
|
0ad1ac0ef2
Generalize the TCP tests to accept multiple packets.
|
8 vuotta sitten |
whitequark
|
72abe80df8
Factor out IpRepr into the wire module.
|
8 vuotta sitten |
whitequark
|
a713342120
Group IP header parts in the socket layer as struct IpRepr.
|
8 vuotta sitten |
whitequark
|
086308d716
Add logging capability.
|
8 vuotta sitten |
whitequark
|
f89690c278
Get rid of explicit backlog.
|
8 vuotta sitten |
whitequark
|
a454a89b9e
Implement conversion of incoming TCP connections into TCP streams.
|
8 vuotta sitten |
whitequark
|
ab61890b09
Implement TCP server sockets.
|
8 vuotta sitten |
whitequark
|
b0f7ac11ae
Add some sanity into buffer names (avoid clases with wire::*).
|
8 vuotta sitten |