Class: PacketGen::Header::TFTP::ACK
- Inherits:
-
PacketGen::Header::TFTP
- Object
- Types::Fields
- Base
- PacketGen::Header::TFTP
- PacketGen::Header::TFTP::ACK
- Defined in:
- lib/packetgen/header/tftp.rb
Overview
TFTP ACK header
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
Attributes inherited from Base
Method Summary
Methods inherited from PacketGen::Header::TFTP
#added_to_packet, #decode!, #human_opcode, #initialize, #old_read, #read
Methods inherited from Base
#added_to_packet, bind, bind_header, calculate_and_set_length, #header_id, inherited, #ip_header, known_headers, #ll_header, #method_name, #parse?, #protocol_name, protocol_name
Methods inherited from Types::Fields
#[], #[]=, #body=, define_bit_fields_on, define_field, define_field_after, define_field_before, delete_field, #fields, #force_binary, inherited, #initialize, #inspect, #is_optional?, #is_present?, #optional_fields, #read, #sz, #to_h, #to_s
Constructor Details
This class inherits a constructor from PacketGen::Header::TFTP
Instance Attribute Details
#block_num ⇒ Integer
16-bit block number
173 |
# File 'lib/packetgen/header/tftp.rb', line 173 define_field :block_num, Types::Int16 |