Skip to main content

Crate netgauze_pcap_decoder

Crate netgauze_pcap_decoder 

Source
Expand description

NetGauze PCAP Decoder Library

This library provides functionality to decode various network protocols (BGP, BMP, Flow, UDP-Notif) from PCAP files and serialize them to JSON.

Re-exports§

pub use handlers::bgp::BgpProtocolHandler;
pub use handlers::bmp::BmpProtocolHandler;
pub use handlers::flow::FlowProtocolHandler;
pub use handlers::udp_notif::UdpNotifProtocolHandler;

Modules§

handlers
protocol_handler

Structs§

Config
Configuration for PCAP processing

Constants§

PCAP_BUFFER_SIZE

Functions§

load_pcap_and_process
Load and process a PCAP file with the given configuration and handler.