whitequark
|
275eb90785
Unswitch the IP checksum loop for 30% improvement in performance.
|
před 7 roky |
Dan Robertson
|
deccd469fe
Use hop limit instead of ttl
|
před 7 roky |
Dan Robertson
|
737b387f61
Add Ipv6Repr and Ipv6Packet to wire
|
před 7 roky |
whitequark
|
b1680368fe
Rework the pretty printer to avoid superfluous trailing newlines.
|
před 7 roky |
Dan Robertson
|
7727687330
Add IPv6 address and cidr to wire
|
před 7 roky |
whitequark
|
19790720a3
Remove impl Ord/PartialOrd for Cidr.
|
před 7 roky |
whitequark
|
2602a151e4
Fix a naming mishap. NFCI.
|
před 7 roky |
Dan Robertson
|
fea462837d
Implement set_ttl for Tcp and Udp sockets
|
před 7 roky |
Egor Karavaev
|
331dc10780
Add support for IPv4 default gateway.
|
před 7 roky |
Egor Karavaev
|
fbfe9859db
Implement wire::{IpCidr/Ipv4Cidr}.
|
před 7 roky |
whitequark
|
02658d0e2f
Make sure IpAddress prohibits exhaustive matches.
|
před 7 roky |
whitequark
|
bd52f9b83c
Only verify checksum in pretty printers, do not bail out if invalid.
|
před 7 roky |
Steffen Butzer
|
d5147efb82
support hardware based checksum settings in during packet send/recv
|
před 7 roky |
whitequark
|
2d31ef9665
Add some docs.
|
před 8 roky |
Egor Karavaev
|
0454c3f8f6
Uncomment associated constants.
|
před 8 roky |
whitequark
|
7684d50d6e
Fix an issue where TCP packets would have zero IP payload length.
|
před 8 roky |
whitequark
|
8ae9b21b64
Break up the EthernetInterface::dispatch macro atrocity into functions.
|
před 8 roky |
whitequark
|
bc2a894c00
Rework responses to TCP packets and factor in RST replies to TcpSocket.
|
před 8 roky |
whitequark
|
5e448db950
Remove IpEndpoint::accepts.
|
před 8 roky |
whitequark
|
ee0b8b3f7a
Rework and test raw sockets.
|
před 8 roky |
whitequark
|
492fe3e4b1
Rework and test UDP sockets.
|
před 8 roky |
whitequark
|
5bf64586cd
Get rid of Result<_, ()>.
|
před 8 roky |
whitequark
|
53a3875452
Rework error handling in TcpSocket::connect.
|
před 8 roky |
whitequark
|
d422f45ac2
as_unspecified → to_unspecified
|
před 8 roky |
whitequark
|
0904645c1b
Fix determination of local address from incoming packets.
|
před 8 roky |
whitequark
|
b3e355437f
Add missing #[derive]s on wire::IpVersion.
|
před 8 roky |
whitequark
|
1c1489e5fb
try! → ?
|
před 8 roky |
whitequark
|
735def7e1b
Do not attempt to validate length of packets being emitted.
|
před 8 roky |
Egor Karavaev
|
ed08b74427
Add `RawSocket`.
|
před 8 roky |
Egor Karavaev
|
42ca732ce3
`IpRepr::lower` replaces unspecified src_addr in Ipv4Repr as well.
|
před 8 roky |