package frenetic

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

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.