whitequark
|
c6d4823489
Clean up socket error handling in EthernetInterface.
|
8 years ago |
whitequark
|
ffe2de73c1
Reorganize EthernetInterface impl. NFC.
|
8 years ago |
whitequark
|
3a656c1529
Inject the current timestamp into Device::{transmit,receive}.
|
8 years ago |
whitequark
|
5f16fc0032
Fix a typo in 5c3fc493.
|
8 years ago |
whitequark
|
5c3fc4935e
Discard packets with non-unicast source addresses at IP level.
|
8 years ago |
Egor Karavaev
|
921f2e36c8
Don't reply to a TCP RST packet with another TCP RST packet.
|
8 years ago |
Egor Karavaev
|
feccd963c3
Refactor EthernetInterface::poll.
|
8 years ago |
whitequark
|
a14c47655e
Expose PSH flag in TcpRepr.
|
8 years ago |
whitequark
|
1c1489e5fb
try! → ?
|
8 years ago |
whitequark
|
735def7e1b
Do not attempt to validate length of packets being emitted.
|
8 years ago |
whitequark
|
6cf248e752
Fix an unimplemented!() invocation that should be unreachable!().
|
8 years ago |
whitequark
|
818fa7dda4
Unbreak parsing of ICMP unreachable messages.
|
8 years ago |
Egor Karavaev
|
ed08b74427
Add `RawSocket`.
|
8 years ago |
whitequark
|
7381e7f98b
fn Device::mtu() -> usize → Device::limits() -> DeviceLimits
|
8 years ago |
whitequark
|
15cf0cc56e
Don't put non-unicast (IP or Ethernet) addresses into ARP cache.
|
8 years ago |
whitequark
|
3dfcb11d33
Follow-up to b9e79d19; always process broadcast frames.
|
8 years ago |
whitequark
|
b9e79d19a7
Ignore Ethernet frames for which we aren't a destination.
|
8 years ago |
whitequark
|
ee20c49a59
Send an ARP request when the destination is not in cache.
|
8 years ago |
whitequark
|
7af6ddfa0c
Send the TCP MSS option.
|
8 years ago |
whitequark
|
a43dfd34cd
Add support for TCP MSS option in TCP representation.
|
8 years ago |
whitequark
|
65a09329cc
Reject, not accept, TCP RST packets in LISTEN state.
|
8 years ago |
whitequark
|
41f9426380
Calculate IP payload length from the total length field.
|
8 years ago |
whitequark
|
8f28e99a0c
Make interfaces not own the sockets.
|
8 years ago |
whitequark
|
019d03d758
Implement socket sets.
|
8 years ago |
whitequark
|
839eae82a3
Use Managed/ManagedSlice for EthernetInterface.
|
8 years ago |
whitequark
|
657658de87
Reorder type parameters of Interface.
|
8 years ago |
whitequark
|
286c130dc5
Implement TCP retransmission.
|
8 years ago |
whitequark
|
004cfd439b
Improve the user-facing TCP socket API.
|
8 years ago |
whitequark
|
72abe80df8
Factor out IpRepr into the wire module.
|
8 years ago |
whitequark
|
a713342120
Group IP header parts in the socket layer as struct IpRepr.
|
8 years ago |