netmap_sys 0.0.8

Bindings to netmap - the fast packet I/O framework

Homepage: http://info.iet.unipi.it/~luigi/netmap/

Platform: Cargo

Language: Rust

License: BSD-2-Clause

Repository: https://github.com/libpnet/rust-netmap

View on registry: https://crates.io/crates/netmap_sys/


netmap_sys

Rust bindings to netmap, currently at version 3.17 (Linux).

Usage

To use within your own project, add:

[dependencies.netmap_sys]
git = "https://github.com/libpnet/netmap_sys.git"
# Uncomment this line where you wish to use features guarded by the
# NETMAP_WITH_LIBS macro in C.
#features = "netmap_with_libs"

To your Cargo.toml.

Troubleshooting

missing rust_netmap_user

If you get an error containing the message:

error: could not find native static library `rust_netmap_user`, perhaps an -L flag is missing?

You should check the following things:

  1. You have clang installed
    • If you do not have clang installed, and do not wish to, you can modify build.rs to use gcc instead (untested, but it should work).
  2. Make sure that /usr/include/net/netmap.h and /usr/include/net/netmap_user.h both exist. If they do not, you should check your netmap installation. You can either manually add these files or symlinks to the, or change the paths searched in build.rs.
  3. If you still have issues, please file an issue in the bug tracker, along with the output of cargo build -v, your operating system and distribution, how you installed netmap, and the output of clang -DNETMAP_WITH_LIBS -Dstatic= -Dinline= -x c -fPIC -O2 -c /usr/include/net/netmap_user.h -o $(mktemp).
веселые картинки развлекательные гифки интресные факты смешные видео смешные истории из соцсетей

GitHub Repository

libpnet/netmap_sys libpnet/netmap_sys

Rust bindings to netmap.

Language: Rust

Created: January 21, 2015 13:33

Last updated: March 28, 2015 04:09

Last pushed: March 27, 2015 18:34

Size: 195 KB

Stars: 1

Forks: 0

Watchers: 1

Open issues: 0

Top Contributors

Robert Clipsham

Releases

  • 0.0.8 - March 27, 2015 18:34

Related Projects

iobuf 5.4.6
A contiguous region of bytes, useful for I/O operations.
Cargo - Rust - MIT - Updated 1 day ago - 10 stars
pnet 0.0.1
Cross-platform, low level networking using the Rust programming language.
Cargo - Rust - Other - Published 4 months ago - 86 stars
tar 0.2.8
A Rust implementation of a TAR file reader and writer. This library does not currently handle com...
Cargo - Rust - Other - Updated 1 day ago - 9 stars
rust-netmap 0.0.7
Bindings to netmap - the fast packet I/O framework
Cargo - Rust - BSD-2-Clause - Updated 5 days ago - 1 stars
rust-dpdk 0.0.1
Bindings to Intel DPDK: Data Plane Development Kit
Cargo - Rust - BSD-3-Clause - Published 2 months ago - 1 stars
веселые картинки развлекательные гифки интресные факты смешные видео смешные истории из соцсетей