package frenetic

  1. Overview
  2. Docs
The Frenetic Programming Language and Runtime System

Install

Dune Dependency

Authors

Maintainers

Sources

5.0.5.tar.gz
md5=baf754df13a759c32f2c86a1b6f328da
sha512=80140900e7009ccab14b25e244fe7edab87d858676f8a4b3799b4fea16825013cf68363fe5faec71dd54ba825bb4ea2f812c2c666390948ab217ffa75d9cbd29

doc/frenetic.kernel/Frenetic_kernel/OpenFlow/Pattern/index.html

Module OpenFlow.PatternSource

Sourcemodule Ip : sig ... end
Sourcetype t = {
  1. dlSrc : Packet.dlAddr option;
  2. dlDst : Packet.dlAddr option;
  3. dlTyp : Packet.dlTyp option;
  4. dlVlan : Packet.dlVlan;
  5. dlVlanPcp : Packet.dlVlanPcp option;
  6. nwSrc : Ip.t option;
  7. nwDst : Ip.t option;
  8. nwProto : Packet.nwProto option;
  9. tpSrc : Packet.tpPort option;
  10. tpDst : Packet.tpPort option;
  11. inPort : portId option;
}

WARNING: There are dependencies between different fields that must be met

include Ppx_sexp_conv_lib.Sexpable.S with type t := t
Sourceval t_of_sexp : Sexplib0__.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0__.Sexp.t
Sourceval match_all : t

match_all is pattern that matches any packet

Sourceval less_eq : t -> t -> bool

less_eq p1 p2 returns true when p2 matches any packet that p1 will match

Sourceval eq : t -> t -> bool

eq p1 p2 returns true when p1 and p2 match the same set of packets

Sourceval join : t -> t -> t

join p1 p2 is the least pattern pm such that less_eq p1 pm and less_eq p2 pm

Sourceval format : Format.formatter -> t -> unit
Sourceval string_of : t -> string
OCaml

Innovation. Community. Security.