whitequark
|
02658d0e2f
Make sure IpAddress prohibits exhaustive matches.
|
7 years ago |
whitequark
|
bd52f9b83c
Only verify checksum in pretty printers, do not bail out if invalid.
|
7 years ago |
Steffen Butzer
|
d5147efb82
support hardware based checksum settings in during packet send/recv
|
7 years ago |
whitequark
|
2d31ef9665
Add some docs.
|
7 years ago |
Egor Karavaev
|
0454c3f8f6
Uncomment associated constants.
|
7 years ago |
whitequark
|
7684d50d6e
Fix an issue where TCP packets would have zero IP payload length.
|
7 years ago |
whitequark
|
8ae9b21b64
Break up the EthernetInterface::dispatch macro atrocity into functions.
|
7 years ago |
whitequark
|
bc2a894c00
Rework responses to TCP packets and factor in RST replies to TcpSocket.
|
7 years ago |
whitequark
|
5e448db950
Remove IpEndpoint::accepts.
|
7 years ago |
whitequark
|
ee0b8b3f7a
Rework and test raw sockets.
|
7 years ago |
whitequark
|
492fe3e4b1
Rework and test UDP sockets.
|
7 years ago |
whitequark
|
5bf64586cd
Get rid of Result<_, ()>.
|
7 years ago |
whitequark
|
53a3875452
Rework error handling in TcpSocket::connect.
|
7 years ago |
whitequark
|
d422f45ac2
as_unspecified → to_unspecified
|
7 years ago |
whitequark
|
0904645c1b
Fix determination of local address from incoming packets.
|
7 years ago |
whitequark
|
b3e355437f
Add missing #[derive]s on wire::IpVersion.
|
7 years ago |
whitequark
|
1c1489e5fb
try! → ?
|
7 years ago |
whitequark
|
735def7e1b
Do not attempt to validate length of packets being emitted.
|
7 years ago |
Egor Karavaev
|
ed08b74427
Add `RawSocket`.
|
7 years ago |
Egor Karavaev
|
42ca732ce3
`IpRepr::lower` replaces unspecified src_addr in Ipv4Repr as well.
|
7 years ago |
whitequark
|
1a32b98b48
Implement the TCP SYN-SENT state.
|
8 years ago |
whitequark
|
41f9426380
Calculate IP payload length from the total length field.
|
8 years ago |
whitequark
|
7f460aea27
Examples for the wire layer!
|
8 years ago |
whitequark
|
553d640057
Implement the TCP TIME-WAIT state.
|
8 years ago |
whitequark
|
40be830fef
Implement the TCP CLOSING state.
|
8 years ago |
whitequark
|
03212f2843
Get rid of the #![feature(associated_consts)].
|
8 years ago |
whitequark
|
1c54449bec
Get rid of the #![feature(const_fn)].
|
8 years ago |
whitequark
|
6641793b29
Get rid of the #![feature(step_by)].
|
8 years ago |
whitequark
|
52259d32da
Correctly propagate carries in the IP checksum.
|
8 years ago |
whitequark
|
72abe80df8
Factor out IpRepr into the wire module.
|
8 years ago |