Skip to content

Commit 812d9be

Browse files
committed
Merge pull request #164 from frenetic-lang/mli
SDN_OpenFlow0x04.mli
2 parents 4546d1b + 7298415 commit 812d9be

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

lib/SDN_OpenFlow0x04.mli

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
val to_payload : OpenFlow0x04_Core.payload -> SDN_Types.payload
2+
val from_payload : SDN_Types.payload -> OpenFlow0x04_Core.payload
3+
val to_reason : OpenFlow0x04_Core.packetInReason -> SDN_Types.packetInReason
4+
val to_packetIn : OpenFlow0x04_Core.packetIn -> SDN_Types.pktIn
5+
val from_packetOut : SDN_Types.pktOut -> OpenFlow0x04_Core.packetOut
6+
val from_pattern : SDN_Types.Pattern.t -> OpenFlow0x04_Core.oxmMatch * SDN_Types.portId option
7+
val from_group : OpenFlow0x04_Core.portId option -> GroupTable0x04.t -> SDN_Types.group -> OpenFlow0x04_Core.action list
8+
val from_timeout : SDN_Types.timeout -> OpenFlow0x04_Core.timeout
9+
val from_flow : GroupTable0x04.t -> int -> SDN_Types.flow -> OpenFlow0x04_Core.flowMod
10+
11+
module Common : HighLevelSwitch_common.S
12+
with type of_action = OpenFlow0x04_Core.action
13+
and type of_portId = OpenFlow0x04_Core.portId
14+
15+
(** These functions are exposed but should not be considered part of the public
16+
API at this time. *)
17+
val fix_vlan_in_flow : SDN_Types.flow -> SDN_Types.flow list
18+
val fix_vlan_in_table : SDN_Types.flowTable -> SDN_Types.flowTable

0 commit comments

Comments
 (0)