2 unstable releases
Uses old Rust 2015
0.5.0 | Sep 12, 2018 |
---|---|
0.3.0 | Dec 16, 2016 |
#14 in #usage
215KB
612 lines
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.
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
.
lib.rs
:
This is the C FFI for the netinfo library. See documentation of the main library for more information.
Dependencies
~4–5.5MB
~108K SLoC