Skip to content

SubconsciousCompute/npcap-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npcap-rs

Rust binding for npcap library.

Prerequisite

  • Install Npcap from here
  • Download Npcap SDK and extract the SDK in the source tree under third-party folder
  • Set the NPCAP_RS_LIB_DIR to the directory where library is installed.

Usage

You can enable these optional features for additional functionality.

  • http-parse - Parses HTTP headers
  • dns-parse - Parses DNS packets

To use the safe Rust bindings, Add the following to your Cargo.toml

[dependencies]
npcap-rs = { version = "0.1", features = [] }

Examples

cargo run --example list

Releases

No releases published

Packages

No packages published