epan-sys

Crates.ioepan-sys
lib.rsepan-sys
version0.1.0
sourcesrc
created_at2023-08-03 07:17:20.633294
updated_at2023-08-03 07:17:20.633294
descriptionFFI Bindings to Wireshark's epan module
homepagehttps://github.com/ghpr-asia/wsdf
repositoryhttps://github.com/ghpr-asia/wsdf
max_upload_size
id933465
size1,308,648
Michiel van Slobbe (mvanslobbe)

documentation

https://docs.rs/epan-sys

README

Rust FFI bindings to the epan module of libwireshark.

This module is used to write Wireshark dissectors. As such, the user is expected to have libwireshark.so and Wireshark's header files installed on their system. In the event that libwireshark.so cannot be found, this crate will build a dynamic library from source to link against, for the sake of compilation.

By default, pre-generated bindings are used. To produce the bindings at build time via bindgen, build this crate with the bindgen feature.

In case pkg-config cannot tell us where to find libwireshark.so, a path to the directory containing the dynamic library can be set via the WIRESHARK_LIB_DIR environment variable.

Commit count: 12

cargo fmt