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/Ip/index.html

Module Pattern.IpSource

Sourcetype t = Packet.nwAddr * int32
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 address

Sourceval less_eq : t -> t -> bool

less_eq x1 x2 returns true when x2 matches any address that x1 will match

Sourceval eq : t -> t -> bool

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

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 intersect : t -> t -> t option

intersect x1 x2 returns the intersection of when x1 and x2

Sourceval compatible : t -> t -> bool

compatible x1 x2 returns true when x1 and x2 have a non-empty intersection

Sourceval shift : t -> int32

ip_shift x returns an int32 after shifting x by its mask

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

Innovation. Community. Security.