non-blocking ICMPv4 library for network diagnostic tools on POSIX systems.
- Add icmp_set_dont_fragment() using IP_MTU_DISCOVER/IP_PMTUDISC_DO - Add next_mtu field to icmp_offending_packet_t, populated from the outer ICMP header on type=3/code=4 (frag needed) replies - Fix extract_offending: read MTU from outer ICMP, not embedded packet - Update test to match corrected extraction semantics - Clean up checksum odd-byte handling with a static zero sentinel |
||
|---|---|---|
| examples | ||
| includes | ||
| src | ||
| tests | ||
| .gitignore | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| sources.mk | ||
libicmp
Non-blocking ICMPv4 library for ping, traceroute, and network diagnostics.
Dependencies
- libc
- GNU Make
- clang
- Criterion (optional, for tests)
Build
make # Build static and shared libraries
make BUILD_STATIC=yes BUILD_SHARED=no
make install PREFIX=/usr/local
make test
License
GPL v3