Class: Pcap::IPPacket

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

Direct Known Subclasses

ICMPPacket, TCPPacket, UDPPacket

Instance Method Summary (collapse)

Methods inherited from Packet

#=~, #_dump, #_dump_to, _load, _load_from, #caplen, #datalink, #inspect, #ip?, #length, #raw_data, #size, #tcp?, #time, #time_i, #time_i=, #udata, #udata=, #udp?

Instance Method Details

- (Object) dst

- (Object) dst=

- (Object) ip_data

- (Boolean) ip_df?

- (Object) ip_dst

- (Object) ip_dst=

- (Object) ip_flags

- (Object) ip_hlen

- (Object) ip_id

- (Object) ip_len

- (Boolean) ip_mf?

- (Object) ip_off

- (Object) ip_proto

- (Object) ip_src

- (Object) ip_src=

- (Object) ip_sum

- (Boolean) ip_sumok?

- (Object) ip_tos

- (Object) ip_ttl

- (Object) ip_ver

- (Object) src

- (Object) src=

- (Object) to_s



14
15
16
# File 'lib/pcap_misc.rb', line 14

def to_s
  "#{ip_src} > #{ip_dst}"
end