Module: PcapSimple
- Defined in:
- lib/pcap_simple.rb
Defined Under Namespace
Classes: Ethernet, IP, Packet, PcapFile, PcapHeader, PcapRecord, UDP
Constant Summary collapse
- PCAP_HEADER_LEN =
((5*32 + 2*16)/8)
- PACKET_HEADER_LEN =
((4*32)/8)
- VERSION =
File.read(File.join(File.(File.dirname(__FILE__)),'..','VERSION'))