Created
November 15, 2017 20:06
-
-
Save picatz/1e2c0ada48732fbfd214716887bb7962 to your computer and use it in GitHub Desktop.
pcap_lookupdev binding in crystal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@[Link("pcap")] | |
lib LibPcap | |
PCAP_ERRBUF_SIZE = UInt8.new(256) | |
fun pcap_lookupdev(errbuf : LibC::Char*) : LibC::Char* | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment