sig
  type t = { name : string; aliases : string array; proto : int; }
  val getbyname : string -> Core_unix.Protocol.t option
  val getbyname_exn : string -> Core_unix.Protocol.t
  val getbynumber : int -> Core_unix.Protocol.t option
  val getbynumber_exn : int -> Core_unix.Protocol.t
  val t_of_sexp : Sexplib.Sexp.t -> Core_unix.Protocol.t
  val sexp_of_t : Core_unix.Protocol.t -> Sexplib.Sexp.t
end