[][src]Crate rawsock

Modules

pcap

Code for managing the pcap library.

pfring

Code for managing the pfring library.

traits

Common traits for all libraries.

wpcap

Code for managing the wpcap library (Windows extension to pcap).

Structs

BorrowedPacket

Structure representing obtained raw packet - borrowed version.

InterfaceDescription

Describes a network interface.

OwnedPacket

Structure representing obtained raw packet - owned version.

Stats

Provides library statistics

Enums

DataLink

Kind of data link - protocol used below the surface.

Error

Error enumeration returned by this crate.

LibraryVersion

Kind of library and its version.

Traits

Packet

Trait for obtained packets - common part between borrowed and owned versions.

Functions

open_best_library

Opens optimal library available on the platform.

open_best_library_arc

Multi-thread version of open_best_library()