Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 928 Bytes

README.md

File metadata and controls

40 lines (29 loc) · 928 Bytes

ARPT : ARP toolkit

A cross-platform ARP toolkit written with modern C++.

Supported Platforms

OS Minimum Required Version
Windows Vista (GetAdaptersAddresses)
Linux 2.2 (netlink)
FreeBSD 13.2 (netlink)
Android API level 24 (getifaddrs)

Compile Requisites

  • CMake 3.27 or later
  • Clang 19 or later
  • Android: NDK version 27 or later

How to build?

$ cmake -B build -G ninja
$ cd build
$ ninja

For Android, CMake toolchain files are provided. To use these toolchain files:

$ cmake -B build -DCMAKE_TOOLCHAIN_FILE=cmake/Android.<archtechture>.cmake
$ cd build
$ make -j

CMake Variables

  • USE_NETLINK:BOOL : Whether Netlink should be used as default gateway resolver (only *nix)
    • Default is OFF on Android, otherwise ON