Class: Pcap::IPPacket

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

Direct Known Subclasses

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



191
192
193
# File 'ext/ip_packet.c', line 191

static VALUE
ipp_data(self)
VALUE self;

- (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

- (Object) ip_sum_update!



174
175
176
# File 'ext/ip_packet.c', line 174

static VALUE
ipp_sum_update(self)
VALUE self;

- (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