class Pcap::TcpHeader
- Pcap::TcpHeader
 - Reference
 - Object
 
Defined in:
pcap/tcp_header.crConstructors
Instance Method Summary
- #caplen(*args, **options)
 - #caplen(*args, **options, &)
 - #dst
 - 
        #inspect(io : IO)
        
          
Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.
 - #length
 - #src
 - #tcp_ack(io : IO)
 - #tcp_ack : UInt32
 - #tcp_ack?
 - #tcp_cwr(io : IO)
 - #tcp_cwr?
 - #tcp_data_offset
 - #tcp_data_size
 - 
        #tcp_doff
        
          
##################################################################### ## native data
 - #tcp_dst : UInt16
 - #tcp_ece(io : IO)
 - #tcp_ece?
 - #tcp_fin(io : IO)
 - #tcp_fin?
 - #tcp_flags(io : IO)
 - #tcp_flags
 - #tcp_offx2 : UInt16
 - #tcp_push(io : IO)
 - #tcp_push?
 - #tcp_rst(io : IO)
 - #tcp_rst?
 - #tcp_seq : UInt32
 - #tcp_src : UInt16
 - #tcp_sum : UInt16
 - #tcp_syn(io : IO)
 - #tcp_syn?
 - #tcp_urg(io : IO)
 - #tcp_urg : UInt16
 - #tcp_urg?
 - #tcp_win : UInt16
 - 
        #to_s(io : IO, ip_header : IpHeader)
        
          
define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_ACK|TH_URG|TH_ECE|TH_CWR)
 
Constructor Detail
Instance Method Detail
        
        def inspect(io : IO)
        #
      
      
        
              Description copied from class Reference
            
          
          Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.
class Person
  def initialize(@name : String, @age : Int32)
  end
end
Person.new("John", 32).inspect # => #<Person:0x10fd31f20 @name="John", @age=32>
        
        
        def tcp_doff
        #
      
      
        
      
      define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_ACK|TH_URG|TH_ECE|TH_CWR)