lib/packetgen/header/icmpv6.rb in packetgen-3.3.3 vs lib/packetgen/header/icmpv6.rb in packetgen-4.0.0
- old
+ new
@@ -13,12 +13,12 @@
# 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
# +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
# | Type | Code | Checksum |
# +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
# A ICMPv6 header consists of:
- # * a +type+ field ({Types::Int8} type),
- # * a +code+ field ({Types::Int8} type),
- # * a +checksum+ field ({Types::Int16} type),
+ # * a +type+ field ({BinStruct::Int8} type),
+ # * a +code+ field ({BinStruct::Int8} type),
+ # * a +checksum+ field ({BinStruct::Int16} type),
# * and a +body+.
#
# == Create a ICMPv6 header
# # standalone
# icmpv6 = PacketGen::Header::ICMPv6.new