package openflow

  1. Overview
  2. Docs
val ver : int
type t = {
  1. ver : int;
  2. typ : msg_code;
  3. len : int;
  4. xid : int32;
}
val sizeof_ofp_header : int
val get_ofp_header_version : Cstruct.t -> Cstruct.uint8
val set_ofp_header_version : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_header_typ : Cstruct.t -> Cstruct.uint8
val set_ofp_header_typ : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_header_length : Cstruct.t -> Cstruct.uint16
val set_ofp_header_length : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_header_xid : Cstruct.t -> Cstruct.uint32
val set_ofp_header_xid : Cstruct.t -> Cstruct.uint32 -> unit
val hexdump_ofp_header_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_header : Cstruct.t -> unit
val size : int
val size_of : 'a -> int
val len : t -> int
val marshal : t -> Cstruct.t -> int
val parse : string -> t
val to_string : t -> string
OCaml

Innovation. Community. Security.