Module S.TCP

include Firewall_tree__.Tree_base.TCP
type tcp_header
type tcp_payload_raw
val tcp_header_to_src_port : tcp_header -> int
val tcp_header_to_dst_port : tcp_header -> int
val tcp_header_to_ack_flag : tcp_header -> bool
val tcp_header_to_rst_flag : tcp_header -> bool
val tcp_header_to_syn_flag : tcp_header -> bool
val tcp_header_to_fin_flag : tcp_header -> bool
val make_dummy_tcp_header : unit -> tcp_header
val update_tcp_header_ : src_port:int option -> dst_port:int option -> ack:bool option -> rst:bool option -> syn:bool option -> fin:bool option -> tcp_header -> tcp_header
val tcp_payload_raw_to_byte_string : tcp_payload_raw -> string
val byte_string_to_tcp_payload_raw : string -> tcp_payload_raw
val update_tcp_header : ?⁠src_port:tcp_port -> ?⁠dst_port:tcp_port -> ?⁠ack:bool -> ?⁠rst:bool -> ?⁠syn:bool -> ?⁠fin:bool -> tcp_header -> tcp_header