Library for receiving and sending raw packets. While most crate wrap just one library, rawsock allows you to use pcap, wpcap, npcap and pf_ring (pfring) using a consistent API for all of them.
/// Default paths (os-specific) where the wpcap dynamically loaded library is stored.
#[cfg(windows)]pubconstDEFAULT_PATHS:[&'staticstr;4]=["NPcap\\Packet.dll","Packet.dll","Npcap\\wpcap.dll","wpcap.dll"];/// Default paths (os-specific) where the wpcap dynamically loaded library is stored.
#[cfg(not(windows))]pubconstDEFAULT_PATHS:[&'staticstr;0]=[];