Lachlan Sneff
|
4af0b4b932
Fix after rebasing
|
2 سال پیش |
Lachlan Sneff
|
d7e8278a06
Add send_with to udp, raw, and icmp sockets
|
2 سال پیش |
Dario Nieuwenhuis
|
629f0bce79
socket: make dispatch infallible, except for emit errors.
|
2 سال پیش |
Dario Nieuwenhuis
|
37a276bcf2
socket: Make process() infallible.
|
2 سال پیش |
Dario Nieuwenhuis
|
b7871e4e57
udp, icmp, raw: return own error enums for public API.
|
2 سال پیش |
Dario Nieuwenhuis
|
72a9ee46ce
socket: reorganize module structure, with one module per protocol.
|
2 سال پیش |
Dario Nieuwenhuis
|
eb41d077e0
Remove IpAddress::Unspecified, assign src addr in sockets.
|
2 سال پیش |
Anuvrat
|
8ba8830378
Corrects minor spelling errors
|
2 سال پیش |
Dario Nieuwenhuis
|
028b4466ff
wire: Rename ipv4 `protocol` to `next_header`.
|
3 سال پیش |
Dario Nieuwenhuis
|
0ebf896fff
socket: refactor Context to be just InterfaceInner.
|
3 سال پیش |
Dario Nieuwenhuis
|
ff47259603
socket: move meta from XxxSocket to SocketSetItem.
|
3 سال پیش |
Thibaut Vandervelden
|
51b2adddad
Fix clippy lints
|
3 سال پیش |
Dario Nieuwenhuis
|
2cb407d62a
rustfmt
|
3 سال پیش |
Dario Nieuwenhuis
|
8a225837e2
Add Context struct.
|
3 سال پیش |
Niclas Hoyer
|
633e7c2591
Use #[non_exhaustive] instead of manual variant
|
4 سال پیش |
Dario Nieuwenhuis
|
11255a89a1
Simplify Socket lifetimes
|
4 سال پیش |
Alex Crawford
|
b290069cc1
Various cleanups
|
4 سال پیش |
Dario Nieuwenhuis
|
1e40b934bf
Update to Rust 2018. Fixes #271
|
4 سال پیش |
Dario Nieuwenhuis
|
23bb12a856
Async/await waker support.
|
4 سال پیش |
Alex Crawford
|
ccf6915186
Remove explicit calls to as_ref/as_mut
|
4 سال پیش |
Scott Mabin
|
a67ee07922
Add capacity methods to all sockets.
|
5 سال پیش |
Andreas Molzer
|
3173b2fdad
Remove an unused mut qualifier on a variable
|
6 سال پیش |
Astro
|
58a54730db
Implement IGMPv1/v2 processing.
|
7 سال پیش |
whitequark
|
4a253fecdf
Rename `new` method on Packet types to `new_checked`.
|
6 سال پیش |
Ole Martin Ruud
|
839dd9c6b1
Implement new type for `poll_at`
|
6 سال پیش |
whitequark
|
cd893e6ab6
fn PacketMetadata::empty() → const PacketMetadata::EMPTY.
|
7 سال پیش |
whitequark
|
bbc5cb34b7
Use storage::PacketBuffer for implementing socket::RawSocket.
|
7 سال پیش |
Dan Robertson
|
c418b60b5d
Use time types in socket
|
7 سال پیش |
Philipp Oppermann
|
c2d18ec071
Return specific sockets from `new` functions instead of `Socket`.
|
7 سال پیش |
whitequark
|
b0995c13e2
Fix some overly long comments. NFC.
|
7 سال پیش |