This is the C foreign function interface, so that you can call netinfo from C. Netinfo allows you to group the TCP/UDP network usage by process without a special kernel module.
Please leave feedback, bug reports and feature request that are not strictly related to the FFI at the main netinfo library.
How to build
Install the latest Cargo/Rust:
$ git clone https://github.com/ChangSpivey/netinfo-ffi $ cd netinfo-ffi $ cargo build --release
There is now a static library
./target/release/libnetinfo.a and a dynamic