Commit Graph

272 Commits

Author SHA1 Message Date
whitequark 0e006383f2 Use Managed/ManagedSlice for EthernetInterface. 2017-01-10 11:37:12 +00:00
whitequark 67430aa589 Use the managed crate. 2017-01-10 11:04:00 +00:00
whitequark 08ac98e4bc Reorder type parameters of Interface. 2017-01-01 08:18:25 +00:00
whitequark 716a1cf7fe Fix silliness in docs. 2017-01-01 08:15:38 +00:00
whitequark c29d3c2804 Allow Managed to accept a Box<[T]>. 2016-12-31 18:12:45 +00:00
whitequark cd23653f12 Don't pull in std through the log crate. 2016-12-31 13:50:20 +00:00
whitequark bf3b62bb25 Examples for the phy layer! 2016-12-31 12:28:59 +00:00
whitequark 5bee008464 Examples for the wire layer! 2016-12-31 11:44:51 +00:00
whitequark 345670f618 Documentation! 2016-12-31 10:26:59 +00:00
whitequark 27ccfc1bb0 Implement TCP retransmission. 2016-12-31 08:35:46 +00:00
whitequark 818e98f47a TCP: retransmit ACK when receiving duplicate SEQ. 2016-12-31 01:33:46 +00:00
whitequark 64a8c36118 Fix length of tx buffers returned by fault injector. 2016-12-31 01:10:46 +00:00
whitequark e1e0c2e838 Impement fault injection. 2016-12-31 01:05:29 +00:00
whitequark 3ea9606827 Remove an unnecessary PhantomData. 2016-12-30 23:48:37 +00:00
whitequark f233d713e8 byteorder: 0.5 → 1.0 2016-12-30 22:28:11 +00:00
whitequark be68066152 #[inline(always)] → #[inline] 2016-12-30 16:55:31 +00:00
whitequark 287affb447 Implement the TCP TIME-WAIT state. 2016-12-28 05:33:12 +00:00
whitequark 94963faf12 Implement the TCP CLOSING state. 2016-12-28 04:56:49 +00:00
whitequark 3e7a1ee575 Implement the TCP FIN-WAIT-2 state. 2016-12-28 04:10:17 +00:00
whitequark 9dc931dbe2 Implement the TCP FIN-WAIT-1 state. 2016-12-28 04:02:43 +00:00
whitequark 1fdf545800 Fix outdated info in README. 2016-12-28 00:27:49 +00:00
whitequark 1fe5c5f4a4 We don't build on stable... yet. 2016-12-28 00:23:28 +00:00
whitequark 2404647163 Update Cargo metadata. 2016-12-28 00:21:01 +00:00
whitequark 22b0406c59 More sensible naming for examples. 2016-12-28 00:18:10 +00:00
whitequark 19e6ab5619 Add Travis CI configuration. 2016-12-28 00:14:45 +00:00
whitequark 151b3ba07b Get rid of the #![feature(associated_consts)]. 2016-12-28 00:12:15 +00:00
whitequark 71268ace88 Get rid of the #![feature(const_fn)]. 2016-12-28 00:08:51 +00:00
whitequark e043e7c496 Get rid of the #![feature(step_by)]. 2016-12-28 00:08:51 +00:00
whitequark b409eec11b Suppress unused variable warnings in net_trace!. 2016-12-27 23:52:43 +00:00
whitequark bba505bc90 Add a use_alloc feature. 2016-12-27 23:49:37 +00:00
whitequark de24d635fa Rename features: std→use_std, logging→use_log. 2016-12-27 23:45:24 +00:00
whitequark df69303624 Fix state names in documentation. 2016-12-27 23:28:57 +00:00
whitequark 979cd4c1bf Implement the TCP LAST-ACK state. 2016-12-27 23:27:33 +00:00
whitequark 874264503d Implement the TCP close operation. 2016-12-27 22:43:16 +00:00
whitequark feaef0d7c4 Fix TCP sequence number in multiple consecutive non-ACKed data packets. 2016-12-27 20:39:46 +00:00
whitequark 17f96ba929 Fix TcpSocket::can_recv(). 2016-12-27 20:17:46 +00:00
whitequark 71d1b4061f Fix ACK validation of TCP RST packets. 2016-12-27 20:17:35 +00:00
whitequark 867dda659d Fix several TCP out-of-bounds reads from the transmit buffer. 2016-12-27 20:17:03 +00:00
whitequark 69427c9e2f Add TcpSocket::is_connected(). 2016-12-27 18:54:45 +00:00
whitequark e6357ee79c Correctly propagate carries in the IP checksum. 2016-12-27 18:43:49 +00:00
whitequark 6b592742fd Use the correct wrapping operations on TCP sequence numbers. 2016-12-27 18:34:13 +00:00
whitequark bbff907e87 Fix examples. 2016-12-27 18:04:39 +00:00
whitequark a8fc4fd832 Improve the user-facing TCP socket API. 2016-12-27 17:49:40 +00:00
whitequark 09040f3e91 Accept TCP ACK packets in CLOSE_WAIT state. 2016-12-27 14:13:42 +00:00
whitequark d11016b138 Simplify TCP ACK handling. 2016-12-27 14:04:30 +00:00
whitequark 751a2269c3 Add support for TCP FIN in ESTABLISHED state. 2016-12-27 13:34:48 +00:00
whitequark 79553e81d4 Fix TCP incoming sequence number check. 2016-12-26 17:24:37 +00:00
whitequark 2d562c10fa Add support for multiple outgoing in-flight TCP packets. 2016-12-26 16:59:39 +00:00
whitequark 3917ba5836 Shrink the buffers in examples for ease of testing. 2016-12-26 16:29:33 +00:00
whitequark d7e73a36f0 Add some colors for readability. 2016-12-26 15:46:36 +00:00