package frenetic
The Frenetic Programming Language and Runtime System
Install
Dune Dependency
Authors
Maintainers
Sources
5.0.5.tar.gz
md5=baf754df13a759c32f2c86a1b6f328da
sha512=80140900e7009ccab14b25e244fe7edab87d858676f8a4b3799b4fea16825013cf68363fe5faec71dd54ba825bb4ea2f812c2c666390948ab217ffa75d9cbd29
doc/frenetic.netkat/Frenetic_netkat/Syntax/index.html
Module Frenetic_netkat.Syntax
Source
NetKAT Syntax
The NetKAT language is central to Frenetic, and we factor out the central types here. The big actors on NetKAT structures are Compiler which compiles NetKAT into flow tables, Parser which turns NetKAT strings (e.g "TcpSrcPort(8080); port := 2") into NetKAT, and Json which turns JSON-formatted NetKAT into NetKAT
Basics
Source
val equal_abstract_location :
abstract_location ->
abstract_location ->
Ppx_deriving_runtime.bool
Source
val hash_fold_abstract_location :
Ppx_hash_lib.Std.Hash.state ->
abstract_location ->
Ppx_hash_lib.Std.Hash.state
Policies
Source
type header_val =
| Switch of switchId
| Location of location
| EthSrc of Frenetic_kernel.Packet.dlAddr
| EthDst of Frenetic_kernel.Packet.dlAddr
| Vlan of Frenetic_kernel.Packet.int16
| VlanPcp of Frenetic_kernel.Packet.dlVlanPcp
| EthType of Frenetic_kernel.Packet.dlTyp
| IPProto of Frenetic_kernel.Packet.nwProto
| IP4Src of Frenetic_kernel.Packet.nwAddr * int32
| IP4Dst of Frenetic_kernel.Packet.nwAddr * int32
| TCPSrcPort of Frenetic_kernel.Packet.tpPort
| TCPDstPort of Frenetic_kernel.Packet.tpPort
| VSwitch of vswitchId
| VPort of vportId
| VFabric of vfabricId
| Meta of metaId * int64
| From of abstract_location
| AbstractLoc of abstract_location
Applications
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page