netmap_sys 0.0.13

Bindings to netmap - the fast packet I/O framework
Documentation
1
2
3
4
5
6
7
8
# netmap doesn't provide these functions as a library, so
# we cheat, to save porting them manually to Rust

CC=clang
AR=ar
$CC -DNETMAP_WITH_LIBS -Dstatic= -x c -c /usr/include/net/netmap_user.h -o $OUT_DIR/netmap_user.o
$AR crus $OUT_DIR/librust_netmap_user.a $OUT_DIR/netmap_user.o
echo cargo:rustc-flags=-L native=$OUT_DIR -l static=rust_netmap_user