Alex Crawford
|
ccf6915186
Remove explicit calls to as_ref/as_mut
|
il y a 4 ans |
Scott Mabin
|
a67ee07922
Add capacity methods to all sockets.
|
il y a 5 ans |
Andreas Molzer
|
3173b2fdad
Remove an unused mut qualifier on a variable
|
il y a 6 ans |
Astro
|
58a54730db
Implement IGMPv1/v2 processing.
|
il y a 7 ans |
whitequark
|
4a253fecdf
Rename `new` method on Packet types to `new_checked`.
|
il y a 6 ans |
Ole Martin Ruud
|
839dd9c6b1
Implement new type for `poll_at`
|
il y a 6 ans |
whitequark
|
cd893e6ab6
fn PacketMetadata::empty() → const PacketMetadata::EMPTY.
|
il y a 7 ans |
whitequark
|
bbc5cb34b7
Use storage::PacketBuffer for implementing socket::RawSocket.
|
il y a 7 ans |
Dan Robertson
|
c418b60b5d
Use time types in socket
|
il y a 7 ans |
Philipp Oppermann
|
c2d18ec071
Return specific sockets from `new` functions instead of `Socket`.
|
il y a 7 ans |
whitequark
|
b0995c13e2
Fix some overly long comments. NFC.
|
il y a 7 ans |
Dan Robertson
|
8d908127d3
Support IPv6 raw sockets
|
il y a 7 ans |
whitequark
|
8928851665
Simplify. NFC.
|
il y a 7 ans |
Dan Robertson
|
507d2fe0ea
Add the proto-ipv4 feature.
|
il y a 7 ans |
Dan Robertson
|
deccd469fe
Use hop limit instead of ttl
|
il y a 7 ans |
Dan Robertson
|
7727687330
Add IPv6 address and cidr to wire
|
il y a 7 ans |
whitequark
|
7937011424
Extract socket handle into a new SocketMeta structure.
|
il y a 7 ans |
Dan Robertson
|
ef4af850e0
Add ICMP sockets
|
il y a 7 ans |
Dan Robertson
|
fea462837d
Implement set_ttl for Tcp and Udp sockets
|
il y a 7 ans |
whitequark
|
100b57aa66
Replace "socket debug identifiers" with just socket handles.
|
il y a 7 ans |
Steffen Butzer
|
d5147efb82
support hardware based checksum settings in during packet send/recv
|
il y a 7 ans |
whitequark
|
14355e15d0
RingBuffer::{empty,full}→is_{empty,full}.
|
il y a 7 ans |
Egor Karavaev
|
5303501173
Factor out RawSocket::accepts.
|
il y a 7 ans |
whitequark
|
fb05226a62
Refactor the "continuous" ring buffer interface.
|
il y a 7 ans |
whitequark
|
39464a53fc
Compute soft deadline in poll() and use nonblocking sockets.
|
il y a 7 ans |
whitequark
|
3974dc780f
Get rid of unused arguments in Socket::{process,dispatch}.
|
il y a 7 ans |
whitequark
|
ab0eccd213
Get rid of IpPayload and indirection in Socket::dispatch.
|
il y a 7 ans |
whitequark
|
917f89e14b
Use FnOnce, not FnMut, in Socket::dispatch() functions.
|
il y a 7 ans |
whitequark
|
7533542ba8
Fix warnings.
|
il y a 7 ans |
whitequark
|
ee0b8b3f7a
Rework and test raw sockets.
|
il y a 7 ans |