Class: Pcap::IPv6Packet

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

Direct Known Subclasses

ICMPv6Packet

Instance Method Summary collapse

Methods inherited from Packet

#=~, #_dump, #_dump_to, _load, _load_from, #arp?, #caplen, #datalink, #dst_mac_address, #ethertype, #inspect, #ip?, #ipv6?, #lacp?, #length, #raw_data, #size, #src_mac_address, #tcp?, #time, #time_i, #time_i=, #udata, #udata=, #udp?, #unpack_hex_string

Instance Method Details

#dst_iObject



120
121
122
# File 'ext/pcap/ipv6_packet.c', line 120

static VALUE
ipp_dst_i(self)
VALUE self;

#dst_sObject



129
130
131
# File 'ext/pcap/ipv6_packet.c', line 129

static VALUE
ipp_dst_s(self)
VALUE self;

#ip_dataObject



80
81
82
# File 'ext/pcap/ipv6_packet.c', line 80

static VALUE
ipp_data(self)
VALUE self;

#ip_dsObject

#ip_ecnObject

#ip_flObject

IPv6 flow label

#ip_hlObject

IPv6 Hop limit

#ip_nhObject

IPv6 Next header

#ip_plObject

IPv6 Payload length

#ip_tcObject

#ip_truncated?Boolean

Returns:

  • (Boolean)


151
152
153
# File 'ext/pcap/ip_packet.c', line 151

static VALUE
ipp_truncated(self)
VALUE self;

#ip_verObject

#src_iObject

IPv6Address



99
100
101
# File 'ext/pcap/ipv6_packet.c', line 99

static VALUE
ipp_src_i(self)
VALUE self;

#src_sObject

IPv6 Hop limit



108
109
110
# File 'ext/pcap/ipv6_packet.c', line 108

static VALUE
ipp_src_s(self)
VALUE self;

#to_sObject



34
35
36
# File 'lib/pcap/packet.rb', line 34

def to_s
  "#{src_s} > #{dst_s} next header #{ip_nh}"
end