netinfo-ffi 0.5.0

C FFI for netinfo, which groups network usage by process
Documentation

Netinfo-FFI

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.

Documentation of Rust library

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 library ./target/release/libnetinfo.so.