non-blocking ICMPv4 library for network diagnostic tools on POSIX systems.
Find a file
lohhiiccc 85543f3d19 fix(makefile)!: improve flags and type casts for stricter build and correctness
- Update Makefile:
  - Change test binary name to `libicmp.test`.
  - Add `-Wpedantic` and `-Wconversion` to global CFLAGS for stricter
    warnings.
  - Add dedicated `TEST_CFLAGS`.
  - Ensure test build uses `TEST_CFLAGS`.
- Refactor code for better correctness.

BREAKING CHANGE: Test binary is now named `libicmp.test` instead of
`test.out` and stricter compiler flags may trigger new warnings or
errors in code outside this patch.
2026-02-07 20:16:06 +01:00
examples Initial commit - libcimp 2026-01-24 16:04:09 +01:00
includes feat: extract_offending function 2026-02-07 11:15:42 +01:00
src fix(makefile)!: improve flags and type casts for stricter build and correctness 2026-02-07 20:16:06 +01:00
tests feat: extract_offending function 2026-02-07 11:15:42 +01:00
.gitignore fix(makefile)!: improve flags and type casts for stricter build and correctness 2026-02-07 20:16:06 +01:00
LICENSE Initial commit - libcimp 2026-01-24 16:04:09 +01:00
Makefile fix(makefile)!: improve flags and type casts for stricter build and correctness 2026-02-07 20:16:06 +01:00
README.md Initial commit - libcimp 2026-01-24 16:04:09 +01:00
sources.mk feat: extract_offending function 2026-02-07 11:15:42 +01:00

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