Module Frenetic_kernel.OpenFlow0x04.Message

type t =
| Hello of element list
| EchoRequest of Cstruct.t
| EchoReply of Cstruct.t
| FeaturesRequest
| FeaturesReply of SwitchFeatures.t
| FlowModMsg of FlowMod.t
| GroupModMsg of GroupMod.t
| PortModMsg of PortMod.t
| MeterModMsg of MeterMod.t
| PacketInMsg of PacketIn.t
| FlowRemoved of FlowRemoved.t
| PacketOutMsg of PacketOut.t
| PortStatusMsg of PortStatus.t
| MultipartReq of MultipartReq.t
| MultipartReply of MultipartReply.t
| BarrierRequest
| BarrierReply
| RoleRequest of RoleRequest.t
| RoleReply of RoleRequest.t
| QueueGetConfigReq of QueueConfReq.t
| QueueGetConfigReply of QueueConfReply.t
| GetConfigRequestMsg
| GetConfigReplyMsg of SwitchConfig.t
| SetConfigMsg of SwitchConfig.t
| TableModMsg of TableMod.t
| GetAsyncRequest
| GetAsyncReply of AsyncConfig.t
| SetAsync of AsyncConfig.t
| Error of Error.t
include sig ... end
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t ‑> t
val sexp_of_t : t ‑> Ppx_sexp_conv_lib.Sexp.t
val sizeof : t ‑> int
val to_string : t ‑> string

to_string v pretty-prints v

val blit_message : t ‑> Cstruct.t ‑> int
val header_of : xid ‑> t ‑> OpenFlow_Header.t
val marshal : xid ‑> t ‑> string
val parse : OpenFlow_Header.t ‑> string ‑> xid * t
val marshal_body : t ‑> Cstruct.t ‑> unit