package frenetic

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module OpenFlow0x04.OxmSource

Flow Match Fields structure. See the section 7.2.3.2 of the OpenFlow 1.3.4 specification

Sourcetype t = oxm
Sourceval field_name : t -> string
Sourceval sizeof : t -> int

sizeof t size of the oxm field

Sourceval sizeof_header : t -> int

sizeof_header t size of the oxm field without the payload

Sourceval to_string : t -> string

to_string v pretty-prints v

Sourceval match_to_string : oxmMatch -> string

match_to_string v pretty-prints oxmMatch v

Sourceval marshal : Cstruct.t -> t -> int

marshal buf t serializes t

Sourceval marshal_header : Cstruct.t -> t -> int

marshal_header buf t same as marshal but doesn't serialize the payload

Sourceval parse : Cstruct.t -> t * Cstruct.t

parse bits parse the buffer bits

Sourceval parse_header : Cstruct.t -> t * Cstruct.t

parse_header bits same as parse but doesn't parse the payload

Sourceval from_of_pattern : OpenFlow.Pattern.t -> t list
OCaml

Innovation. Community. Security.