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.expand_path(File.dirname(__FILE__)),'..','VERSION'))