# Module Core_unix.Protocol

    module Protocol: sig .. end

    type t = {

`` | `name : `string`;`
`` | `aliases : `string array`;`
`` | `proto : `int`;`

}
Structure of entries in the `protocols` database.

    val getbyname : string -> t option

Find an entry in `protocols` with the given name.

    val getbyname_exn : string -> t

    val getbynumber : int -> t option

Find an entry in `protocols` with the given protocol number.

    val getbynumber_exn : int -> t

    val t_of_sexp : Sexplib.Sexp.t -> t

    val sexp_of_t : t -> Sexplib.Sexp.t

Find an entry in `protocols` with the given name.
Find an entry in `protocols` with the given protocol number.