Skip to content

Commit 15cb254

Browse files
committed
mli: Add interface file for SDN_OpenFlow0x04
1 parent 6dd14e0 commit 15cb254

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

lib/SDN_OpenFlow0x04.mli

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

0 commit comments

Comments
 (0)