Egor Karavaev
|
907f3659a4
Make `Error::Unaddressable` ignored for ICMP sockets as well.
|
7 years ago |
Egor Karavaev
|
752ae033db
ICMP sockets don't end ICMP packets processing.
|
7 years ago |
whitequark
|
ffcd3ab80d
Style. NFCI.
|
7 years ago |
Dan Robertson
|
ef4af850e0
Add ICMP sockets
|
7 years ago |
Philipp Oppermann
|
4ae84ab36a
Store plain DeviceT instead of Managed<_> in EthernetInterface
|
7 years ago |
whitequark
|
f58cc4bcbb
Rename proto-* features back to socket-*.
|
7 years ago |
whitequark
|
fd7109b2e4
Rename a few tests. NFC.
|
7 years ago |
Philipp Oppermann
|
198fe239f1
Redesign the phy::Device trait to avoid Drop impls.
|
7 years ago |
Dan Robertson
|
d1d80ca121
Do not send ICMPv4 responses to broadcasts
|
7 years ago |
Dan Robertson
|
7a2271dfd6
Tests: Add basic interface tests
|
7 years ago |
whitequark
|
7e4971df32
Rename Cargo features: socket-* → proto-*.
|
7 years ago |
whitequark
|
581e7b3f6f
Simplify. NFC.
|
7 years ago |
Dan Robertson
|
fea462837d
Implement set_ttl for Tcp and Udp sockets
|
7 years ago |
whitequark
|
7c6cd6b9a3
Dump malformed ingress packets at DEBUG log level.
|
7 years ago |
Egor Karavaev
|
096ce02ac4
Implement a SocketRef smart pointer to detect state changes.
|
7 years ago |
whitequark
|
067fb2ddc9
Fix a typo.
|
7 years ago |
whitequark
|
b0fc1d9542
Explain the return value of poll().
|
7 years ago |
whitequark
|
d88ef3c8d3
Drop the pretense that anyone cares about non-IP over Ethernet.
|
7 years ago |
Egor Karavaev
|
331dc10780
Add support for IPv4 default gateway.
|
7 years ago |
whitequark
|
d16e0bd212
Formatting. NFC.
|
7 years ago |
Steffen Butzer
|
d5147efb82
support hardware based checksum settings in during packet send/recv
|
7 years ago |
Steffen Butzer
|
9b1b0b4bde
phy: introduce hardware based checksum settings, rename DeviceLimits
|
7 years ago |
whitequark
|
cedf66a733
Enforce some lints.
|
7 years ago |
whitequark
|
a983c629b9
Allow disabling any of: raw, TCP or UDP sockets.
|
7 years ago |
Egor Karavaev
|
0454c3f8f6
Uncomment associated constants.
|
7 years ago |
whitequark
|
546b3670ef
Revert "Keep dispatching packets from a socket as long as there are any."
|
7 years ago |
whitequark
|
51b2f18d11
Keep dispatching packets from a socket as long as there are any.
|
7 years ago |
Egor Karavaev
|
a2c66fdd88
Factor out TcpSocket::accepts.
|
7 years ago |
Egor Karavaev
|
44cf21b91b
Factor out UdpSocket::accepts.
|
7 years ago |
Egor Karavaev
|
5303501173
Factor out RawSocket::accepts.
|
7 years ago |