Egor Karavaev
|
0454c3f8f6
Uncomment associated constants.
|
7 anni fa |
whitequark
|
7684d50d6e
Fix an issue where TCP packets would have zero IP payload length.
|
7 anni fa |
whitequark
|
8ae9b21b64
Break up the EthernetInterface::dispatch macro atrocity into functions.
|
7 anni fa |
whitequark
|
bc2a894c00
Rework responses to TCP packets and factor in RST replies to TcpSocket.
|
7 anni fa |
whitequark
|
5e448db950
Remove IpEndpoint::accepts.
|
7 anni fa |
whitequark
|
ee0b8b3f7a
Rework and test raw sockets.
|
7 anni fa |
whitequark
|
492fe3e4b1
Rework and test UDP sockets.
|
7 anni fa |
whitequark
|
5bf64586cd
Get rid of Result<_, ()>.
|
7 anni fa |
whitequark
|
53a3875452
Rework error handling in TcpSocket::connect.
|
7 anni fa |
whitequark
|
d422f45ac2
as_unspecified → to_unspecified
|
7 anni fa |
whitequark
|
0904645c1b
Fix determination of local address from incoming packets.
|
7 anni fa |
whitequark
|
b3e355437f
Add missing #[derive]s on wire::IpVersion.
|
7 anni fa |
whitequark
|
1c1489e5fb
try! → ?
|
7 anni fa |
whitequark
|
735def7e1b
Do not attempt to validate length of packets being emitted.
|
7 anni fa |
Egor Karavaev
|
ed08b74427
Add `RawSocket`.
|
7 anni fa |
Egor Karavaev
|
42ca732ce3
`IpRepr::lower` replaces unspecified src_addr in Ipv4Repr as well.
|
7 anni fa |
whitequark
|
1a32b98b48
Implement the TCP SYN-SENT state.
|
8 anni fa |
whitequark
|
41f9426380
Calculate IP payload length from the total length field.
|
8 anni fa |
whitequark
|
7f460aea27
Examples for the wire layer!
|
8 anni fa |
whitequark
|
553d640057
Implement the TCP TIME-WAIT state.
|
8 anni fa |
whitequark
|
40be830fef
Implement the TCP CLOSING state.
|
8 anni fa |
whitequark
|
03212f2843
Get rid of the #![feature(associated_consts)].
|
8 anni fa |
whitequark
|
1c54449bec
Get rid of the #![feature(const_fn)].
|
8 anni fa |
whitequark
|
6641793b29
Get rid of the #![feature(step_by)].
|
8 anni fa |
whitequark
|
52259d32da
Correctly propagate carries in the IP checksum.
|
8 anni fa |
whitequark
|
72abe80df8
Factor out IpRepr into the wire module.
|
8 anni fa |
whitequark
|
c2311a3cff
Add tests for TCP state machine.
|
8 anni fa |
whitequark
|
ab61890b09
Implement TCP server sockets.
|
8 anni fa |
whitequark
|
efc7bfbc38
Reply with ICMP dest. unreachable or TCP RST from unused ports.
|
8 anni fa |
whitequark
|
00c311a5b8
Add some sanity into enumeration names (avoid "*Type").
|
8 anni fa |