Class: PacketGen::Header::TFTP::ACK
- Inherits:
-
PacketGen::Header::TFTP
- Object
- BinStruct::Struct
- Base
- PacketGen::Header::TFTP
- PacketGen::Header::TFTP::ACK
- Defined in:
- lib/packetgen/header/tftp.rb
Overview
TFTP ACK header. This header remove #body attribute and repalces it with #block_num.
Constant Summary
Constants inherited from PacketGen::Header::TFTP
Instance Attribute Summary collapse
-
#block_num ⇒ Integer
16-bit block number.
Attributes inherited from PacketGen::Header::TFTP
Method Summary
Methods inherited from PacketGen::Header::TFTP
#added_to_packet, #decode!, #human_opcode, #initialize, #old_read, #read
Methods inherited from Base
bind, calculate_and_set_length, #header_id, inherited, #initialize, #ip_header, #ll_header
Methods included from PacketGen::Headerable
#added_to_packet, included, #method_name, #packet, #packet=, #parse?, #protocol_name, #read, #to_s
Constructor Details
This class inherits a constructor from PacketGen::Header::TFTP
Instance Attribute Details
#block_num ⇒ Integer
16-bit block number
186 |
# File 'lib/packetgen/header/tftp.rb', line 186 define_attr :block_num, BinStruct::Int16 |