whitequark
|
614323b9a9
README: add some notable omissions.
|
7 years ago |
whitequark
|
39464a53fc
Compute soft deadline in poll() and use nonblocking sockets.
|
7 years ago |
whitequark
|
46630603df
Reset the timer transitioning from TCP FIN-WAIT-1 to FIN-WAIT-2.
|
7 years ago |
whitequark
|
2354e0b29d
Clarify a function name.
|
7 years ago |
whitequark
|
66e3684189
Add a test for TCP sockets returning ACKs even with zero window.
|
7 years ago |
whitequark
|
8ae9b21b64
Break up the EthernetInterface::dispatch macro atrocity into functions.
|
7 years ago |
whitequark
|
43a547fb0c
Factor out packet parsing from Socket::process.
|
7 years ago |
whitequark
|
3974dc780f
Get rid of unused arguments in Socket::{process,dispatch}.
|
7 years ago |
whitequark
|
ab0eccd213
Get rid of IpPayload and indirection in Socket::dispatch.
|
7 years ago |
whitequark
|
ad9fa282e6
Unify EthernetInterface::{send_response,emit} transmit paths.
|
7 years ago |
whitequark
|
917f89e14b
Use FnOnce, not FnMut, in Socket::dispatch() functions.
|
7 years ago |
whitequark
|
5cb2dcd1aa
Fix a TCP retransmit loop after transition from SYN-SENT to ESTABLISHED.
|
7 years ago |
whitequark
|
b5df50643e
Fix a bug that caused TCP packets with PSH bit to be dropped.
|
7 years ago |
whitequark
|
81d79c5455
README: fix typo.
|
7 years ago |
whitequark
|
639dfd94c0
TcpRepr::push → TcpControl::Psh.
|
7 years ago |
whitequark
|
f3dc84539e
Immediately ACK payload in response to TCP packets that have any.
|
7 years ago |
whitequark
|
72359cdd37
Radically simplify and optimize TCP packet dispatch.
|
7 years ago |
whitequark
|
bf916e6832
Make TCP packets not matching socket state return Error::Dropped.
|
7 years ago |
whitequark
|
d9458c060b
Add a missing \0 in a C string.
|
7 years ago |
whitequark
|
bc2a894c00
Rework responses to TCP packets and factor in RST replies to TcpSocket.
|
7 years ago |
whitequark
|
7e6e379e09
Fix a typo that broke ARP replies.
|
7 years ago |
whitequark
|
56ee8e5df8
Listening TCP sockets should reject, not drop, ACKs.
|
7 years ago |
whitequark
|
3864b490f7
Add TcpSocket::{peek,peek_slice}.
|
7 years ago |
whitequark
|
77ffe7c065
Simplify ARP handling code in EthernetInterface.
|
7 years ago |
whitequark
|
974bad1adf
Fix a file descriptor leak in TapInterfaceDesc::interface_mtu.
|
7 years ago |
whitequark
|
2773fa72ec
utils::Dispose → io::Sink.
|
7 years ago |
whitequark
|
53df3088e8
README.md: cleanup.
|
7 years ago |
whitequark
|
ca6fa2d423
Assert that the transmit frame returned by driver has right length.
|
7 years ago |
David Coffill
|
d03ea6426b
Fix build on i686 by using libc::suseseconds_t instead of i64
|
7 years ago |
whitequark
|
bc0e3c352d
Emit exceptional events with the DEBUG log level, not TRACE.
|
7 years ago |