class Pcap
- Pcap
- Reference
- Object
Defined in:
pcap.crConstructors
Instance Method Summary
- #applyfilter(handle, bpfprogram, str, optimize, netmask)
- #check_permission?
- #close(handle)
- #compile(handle, bpfprogram, str, optimize, netmask)
- #create(pointer, iface)
- #file(file : LibPcap::PcapT)
- #freecode(bpfprogram)
- #geterr(handle)
- #lookupdev(dev : String)
- #lookupnet(dev : String, netp, maskp, errbuf)
- #loop(handle, count, callback, user)
- #next(handle, header)
- #open_live(dev : String, snaplen : Int32, promisc : Int32, timeout_ms : Int32)
- #open_offline(file : LibPcap::File, numchars)
- #set_promisc(handle, flag)
- #setfilter(handle, bpfprogram)
- #snaplen(handle, length)