Dario Nieuwenhuis
|
26dcb55559
udp: do not include payload in UdpRepr
|
hace 4 años |
Dario Nieuwenhuis
|
11255a89a1
Simplify Socket lifetimes
|
hace 4 años |
Dario Nieuwenhuis
|
1e40b934bf
Update to Rust 2018. Fixes #271
|
hace 4 años |
Dario Nieuwenhuis
|
23bb12a856
Async/await waker support.
|
hace 4 años |
Scott Mabin
|
a67ee07922
Add capacity methods to all sockets.
|
hace 5 años |
Kai Lüke
|
0588101384
Implement peek functions for UDP sockets
|
hace 6 años |
Ole Martin Ruud
|
839dd9c6b1
Implement new type for `poll_at`
|
hace 7 años |
whitequark
|
cd893e6ab6
fn PacketMetadata::empty() → const PacketMetadata::EMPTY.
|
hace 7 años |
Astro
|
2d2b90fd04
Allow broadcast/multicast traffic to UDP sockets
|
hace 7 años |
whitequark
|
35209c984d
Distinguish PacketBuffer running out of payload space and capacity.
|
hace 7 años |
whitequark
|
86c59fe344
Factor out storage::PacketBuffer from socket::UdpSocket.
|
hace 7 años |
Philipp Oppermann
|
58e534a2fb
Use separate metadata and payload buffers for UDP sockets.
|
hace 7 años |
Dan Robertson
|
c418b60b5d
Use time types in socket
|
hace 7 años |
Philipp Oppermann
|
c2d18ec071
Return specific sockets from `new` functions instead of `Socket`.
|
hace 7 años |
Dan Robertson
|
507d2fe0ea
Add the proto-ipv4 feature.
|
hace 7 años |
Dan Robertson
|
deccd469fe
Use hop limit instead of ttl
|
hace 7 años |
whitequark
|
7937011424
Extract socket handle into a new SocketMeta structure.
|
hace 7 años |
Dan Robertson
|
ef4af850e0
Add ICMP sockets
|
hace 7 años |
whitequark
|
0091191cce
Rework TcpSocket::{send,recv} to remove need for precomputing size.
|
hace 7 años |
whitequark
|
284db0099f
Small adjustments to TTL code; style, docs, and tests. NFCI.
|
hace 7 años |
Dan Robertson
|
fea462837d
Implement set_ttl for Tcp and Udp sockets
|
hace 7 años |
whitequark
|
8ee2f7bff5
Style fixes.
|
hace 7 años |
whitequark
|
100b57aa66
Replace "socket debug identifiers" with just socket handles.
|
hace 7 años |
whitequark
|
14355e15d0
RingBuffer::{empty,full}→is_{empty,full}.
|
hace 7 años |
Egor Karavaev
|
44cf21b91b
Factor out UdpSocket::accepts.
|
hace 7 años |
whitequark
|
fb05226a62
Refactor the "continuous" ring buffer interface.
|
hace 7 años |
whitequark
|
39464a53fc
Compute soft deadline in poll() and use nonblocking sockets.
|
hace 7 años |
whitequark
|
43a547fb0c
Factor out packet parsing from Socket::process.
|
hace 7 años |
whitequark
|
3974dc780f
Get rid of unused arguments in Socket::{process,dispatch}.
|
hace 7 años |
whitequark
|
ab0eccd213
Get rid of IpPayload and indirection in Socket::dispatch.
|
hace 7 años |