Class: Pcap::IPv6Packet
- Defined in:
- lib/pcap/packet.rb,
ext/pcap/ipv6_packet.c
Direct Known Subclasses
Instance Method Summary collapse
- #dst_i ⇒ Object
- #dst_s ⇒ Object
- #ip_data ⇒ Object
- #ip_ds ⇒ Object
- #ip_ecn ⇒ Object
-
#ip_fl ⇒ Object
IPv6 flow label.
-
#ip_hl ⇒ Object
IPv6 Hop limit.
-
#ip_nh ⇒ Object
IPv6 Next header.
-
#ip_pl ⇒ Object
IPv6 Payload length.
- #ip_tc ⇒ Object
- #ip_truncated? ⇒ Boolean
- #ip_ver ⇒ Object
-
#src_i ⇒ Object
IPv6Address.
-
#src_s ⇒ Object
IPv6 Hop limit.
- #to_s ⇒ Object
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_i ⇒ Object
120 121 122 |
# File 'ext/pcap/ipv6_packet.c', line 120 static VALUE ipp_dst_i(self) VALUE self; |
#dst_s ⇒ Object
129 130 131 |
# File 'ext/pcap/ipv6_packet.c', line 129 static VALUE ipp_dst_s(self) VALUE self; |
#ip_data ⇒ Object
80 81 82 |
# File 'ext/pcap/ipv6_packet.c', line 80 static VALUE ipp_data(self) VALUE self; |
#ip_ds ⇒ Object
#ip_ecn ⇒ Object
#ip_fl ⇒ Object
IPv6 flow label
#ip_hl ⇒ Object
IPv6 Hop limit
#ip_nh ⇒ Object
IPv6 Next header
#ip_pl ⇒ Object
IPv6 Payload length
#ip_tc ⇒ Object
#ip_truncated? ⇒ Boolean
151 152 153 |
# File 'ext/pcap/ip_packet.c', line 151 static VALUE ipp_truncated(self) VALUE self; |
#ip_ver ⇒ Object
#src_i ⇒ Object
IPv6Address
99 100 101 |
# File 'ext/pcap/ipv6_packet.c', line 99 static VALUE ipp_src_i(self) VALUE self; |
#src_s ⇒ Object
IPv6 Hop limit
108 109 110 |
# File 'ext/pcap/ipv6_packet.c', line 108 static VALUE ipp_src_s(self) VALUE self; |
#to_s ⇒ Object
34 35 36 |
# File 'lib/pcap/packet.rb', line 34 def to_s "#{src_s} > #{dst_s} next header #{ip_nh}" end |