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 t : t Ctypes.structure Ctypes.typ
val alloc_cache' : Socket.t Ctypes.structure Ctypes_static.ptr -> int -> unit Ctypes_static.ptr Ctypes_static.ptr -> int
val cache_alloc : Socket.t Ctypes.structure Ctypes_static.ptr -> unit Ctypes_static.ptr Ctypes.ptr
val cache_iter : (t Ctypes.structure Ctypes_static.ptr -> unit) -> unit Ctypes_static.ptr Ctypes.ptr -> unit
val cache_to_list : unit Ctypes_static.ptr Ctypes.ptr -> t Ctypes.structure Ctypes_static.ptr list
val get_by_name : unit Ctypes_static.ptr -> string -> t Ctypes.structure Ctypes_static.ptr
val put : t Ctypes.structure Ctypes_static.ptr -> unit
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
val get_stat : t Ctypes.structure Ctypes_static.ptr -> stat_id -> Unsigned.uint64
val get_addr : t Ctypes.structure Ctypes_static.ptr -> addr Ctypes.structure Ctypes_static.ptr
OCaml

Innovation. Community. Security.