whitequark
|
1e18c03d34
Fix Cidr::contains_addr for zero length prefixes.
|
7 years ago |
whitequark
|
1e105253f9
Do not parse an empty string as an IpAddress.
|
7 years ago |
Dan Robertson
|
7a2271dfd6
Tests: Add basic interface tests
|
7 years ago |
whitequark
|
f64a99a4e6
Use a much more sensible method naming for SocketRef.
|
7 years ago |
whitequark
|
42e2c04dee
Expose wrapping and unwrapping of SocketRefs.
|
7 years ago |
whitequark
|
475486cc6f
Update README.
|
7 years ago |
whitequark
|
7e4971df32
Rename Cargo features: socket-* → proto-*.
|
7 years ago |
whitequark
|
2602a151e4
Fix a naming mishap. NFCI.
|
7 years ago |
whitequark
|
581e7b3f6f
Simplify. NFC.
|
7 years ago |
whitequark
|
284db0099f
Small adjustments to TTL code; style, docs, and tests. NFCI.
|
7 years ago |
Dan Robertson
|
fea462837d
Implement set_ttl for Tcp and Udp sockets
|
7 years ago |
whitequark
|
7c6cd6b9a3
Dump malformed ingress packets at DEBUG log level.
|
7 years ago |
whitequark
|
8ee2f7bff5
Style fixes.
|
7 years ago |
whitequark
|
bbb54fe2a2
Fix a (future) syntax error in the net_log macro.
|
7 years ago |
Egor Karavaev
|
096ce02ac4
Implement a SocketRef smart pointer to detect state changes.
|
7 years ago |
whitequark
|
100b57aa66
Replace "socket debug identifiers" with just socket handles.
|
7 years ago |
whitequark
|
067fb2ddc9
Fix a typo.
|
7 years ago |
whitequark
|
b0fc1d9542
Explain the return value of poll().
|
7 years ago |
whitequark
|
d88ef3c8d3
Drop the pretense that anyone cares about non-IP over Ethernet.
|
7 years ago |
Egor Karavaev
|
331dc10780
Add support for IPv4 default gateway.
|
7 years ago |
Egor Karavaev
|
fbfe9859db
Implement wire::{IpCidr/Ipv4Cidr}.
|
7 years ago |
whitequark
|
d16e0bd212
Formatting. NFC.
|
7 years ago |
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 |
whitequark
|
c8ae7bdc21
Fix insufficient length validation in IPv4 packets.
|
7 years ago |
whitequark
|
58c12b8f51
Reword checksum-related documentations.
|
7 years ago |
whitequark
|
70248c5109
Formatting. NFC.
|
7 years ago |
Steffen Butzer
|
d5147efb82
support hardware based checksum settings in during packet send/recv
|
7 years ago |
Steffen Butzer
|
9b1b0b4bde
phy: introduce hardware based checksum settings, rename DeviceLimits
|
7 years ago |
whitequark
|
a7cdcd49f4
Update CI config to not use poorly interacting feature sets.
|
7 years ago |