# Module Procfs.Net.Tcp

    module Tcp: sig .. end

/proc/net/tcp, or what netstat or lsof -i parses.

    type t = {

`` | `sl : `int`;`
`` | `local_address : `Core.Std.Unix.Inet_addr.t`;`
`` | `local_port : `Extended_unix.Inet_port.t`;`
`` | `remote_address : `Core.Std.Unix.Inet_addr.t`;`
`` | `remote_port : `Extended_unix.Inet_port.t option`;`
`` | `state : `Procfs.Net.Tcp_state.t`;`
`` | `tx_queue : `int`;`
`` | `rx_queue : `int`;`
`` | `tr : `int`;`
`` | `tm_when : `int`;`
`` | `retrnsmt : `int`;`
`` | `uid : `int`;`
`` | `timeout : `int`;`
`` | `inode : `Procfs.Process.Inode.t`;`
`` | `rest : `string`;`

}

    val rest : t -> string

    val inode : t -> Procfs.Process.Inode.t

    val timeout : t -> int

    val uid : t -> int

    val retrnsmt : t -> int

    val tm_when : t -> int

    val tr : t -> int

    val rx_queue : t -> int

    val tx_queue : t -> int

    val state : t -> Procfs.Net.Tcp_state.t

    val remote_port : t -> Extended_unix.Inet_port.t option

    val remote_address : t -> Core.Std.Unix.Inet_addr.t

    val local_port : t -> Extended_unix.Inet_port.t

    val local_address : t -> Core.Std.Unix.Inet_addr.t

    val sl : t -> int

    module Fields: sig .. end

    val of_line : string -> t option

These don't do any IO and should be async-ok

    val of_line_exn : string -> t

    val load_exn : unit -> t list

This does IO and is not async-ok.