type ipv4_addr
type ipv6_addr
type tcp_port
type udp_port
type icmpv4_type
type pdu
type key
type conn_state
=
| New |
| Established |
| Invalid |
type 'a conn_state_w_key
=
| New of 'a |
| Established of 'a |
| Invalid |
type tcp_flag
=
| Syn |
| Ack |
| Syn_and_ack |
| Fin_and_ack |
| No_flags |
type conn_tracker
val make : max_conn:int -> init_size:int -> timeout_ms:int64 -> conn_tracker
val lookup_conn_state : ?reject_new:bool -> ?no_update:bool -> conn_tracker -> pdu -> conn_state
val lookup_conn_state_w_key : ?reject_new:bool -> ?no_update:bool -> conn_tracker -> pdu -> key conn_state_w_key
val pass_pdu_through_tracker : conn_tracker -> pdu -> unit