Class: Pcap::Packet

Inherits:
Object
  • Object
show all
Defined in:
ext/packet.c,
lib/pcap_misc.rb

Direct Known Subclasses

IPPacket

Class Method Summary (collapse)

Instance Method Summary (collapse)

Class Method Details

+ (Object) _load

+ (Object) _load_from

Instance Method Details

- (Object) =~

- (Object) _dump

- (Object) _dump_to

- (Object) caplen

- (Object) inspect



8
9
10
# File 'lib/pcap_misc.rb', line 8

def inspect
  "#<#{self.class}: #{self}>"
end

- (Boolean) ip?

- (Object) length

- (Object) raw_data

- (Object) size

- (Boolean) tcp?

- (Object) time

- (Object) time_i

- (Object) time_i=

- (Object) to_s



4
5
6
# File 'lib/pcap_misc.rb', line 4

def to_s
  'Some packet'
end

- (Object) udata

- (Object) udata=

- (Boolean) udp?