class

Pcap::TcpHeader

Inherits Reference / Object

Constructors

new(raw : LibPcap::TcpHeader, packet_header : PacketHeader)
Source

Instance methods

caplen(*args, **options)
Source
caplen(*args, **options, &)
Source
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.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).inspect # => #<Person:0x10fd31f20 @name="John", @age=32>
Source
length
Source
tcp_ack(io : IO)
Source
tcp_ack
Source
tcp_ack?
Source
tcp_cwr(io : IO)
Source
tcp_cwr?
Source
tcp_data_offset
Source
tcp_data_size
Source
tcp_doff
Source
tcp_dst
Source
tcp_ece(io : IO)
Source
tcp_ece?
Source
tcp_fin(io : IO)
Source
tcp_fin?
Source
tcp_flags(io : IO)
Source
tcp_flags
Source
tcp_offx2
Source
tcp_push(io : IO)
Source
tcp_push?
Source
tcp_rst(io : IO)
Source
tcp_rst?
Source
tcp_seq
Source
tcp_src
Source
tcp_sum
Source
tcp_syn(io : IO)
Source
tcp_syn?
Source
tcp_urg(io : IO)
Source
tcp_urg
Source
tcp_urg?
Source
tcp_win
Source
to_s(io : IO, ip_header : IpHeader)
Source