package netlink

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type stat_id =
  1. | RX_PACKETS
  2. | TX_PACKETS
  3. | RX_BYTES
  4. | TX_BYTES
  5. | RX_ERRORS
  6. | TX_ERRORS
exception AllocCacheError
val int_of_stat_id : stat_id -> int
val stat_id_of_int : int -> stat_id
val stat_id : stat_id Ctypes.typ
val cache_iter : (t Ctypes.structure Ctypes_static.ptr -> unit) -> unit Ctypes_static.ptr Ctypes.ptr -> unit
val get_by_name : unit Ctypes_static.ptr -> string -> t Ctypes.structure Ctypes_static.ptr
val get_ifindex : t Ctypes.structure Ctypes_static.ptr -> int
val get_name : t Ctypes.structure Ctypes_static.ptr -> string
val get_mtu : t Ctypes.structure Ctypes_static.ptr -> int
OCaml

Innovation. Community. Security.