Class: PcapTools::Parser::TCP_PDU
- Inherits:
-
BinData::Record
- Object
- BinData::Record
- PcapTools::Parser::TCP_PDU
- Includes:
- HasParent
- Defined in:
- lib/pcap_parser.rb
Overview
TCP Protocol Data Unit
Instance Attribute Summary
Attributes included from HasParent
Instance Method Summary collapse
Instance Method Details
#options_length_in_bytes ⇒ Object
75 76 77 |
# File 'lib/pcap_parser.rb', line 75 def (doff - 5 ) * 4 end |
#type ⇒ Object
79 80 81 |
# File 'lib/pcap_parser.rb', line 79 def type "TCP" end |