package openflow

  1. Overview
  2. Docs
exception Unparsable of string
val sym_num : int Pervasives.ref
val sum : int list -> int
type uint48 = Cstruct.uint64
type uint12 = Cstruct.uint16
val sizeof_ofp_header : int
val get_ofp_header_version : Cstruct.t -> Cstruct.uint8
val set_ofp_header_version : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_header_typ : Cstruct.t -> Cstruct.uint8
val set_ofp_header_typ : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_header_length : Cstruct.t -> Cstruct.uint16
val set_ofp_header_length : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_header_xid : Cstruct.t -> Cstruct.uint32
val set_ofp_header_xid : Cstruct.t -> Cstruct.uint32 -> unit
val hexdump_ofp_header_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_header : Cstruct.t -> unit
type msg_code =
  1. | HELLO
  2. | ERROR
  3. | ECHO_REQ
  4. | ECHO_RESP
  5. | VENDOR
  6. | FEATURES_REQ
  7. | FEATURES_RESP
  8. | GET_CONFIG_REQ
  9. | GET_CONFIG_RESP
  10. | SET_CONFIG
  11. | PACKET_IN
  12. | FLOW_REMOVED
  13. | PORT_STATUS
  14. | PACKET_OUT
  15. | FLOW_MOD
  16. | GROUP_MOD
  17. | PORT_MOD
  18. | TABLE_MOD
  19. | MULTIPART_REQ
  20. | MULTIPART_RESP
  21. | BARRIER_REQ
  22. | BARRIER_RESP
  23. | QUEUE_GET_CONFIG_REQ
  24. | QUEUE_GET_CONFIG_RESP
  25. | ROLE_REQ
  26. | ROLE_RESP
  27. | GET_ASYNC_REQ
  28. | GET_ASYNC_REP
  29. | METER_MOD
val int_to_msg_code : int -> msg_code option
val msg_code_to_int : msg_code -> int
val msg_code_to_string : msg_code -> string
val string_to_msg_code : string -> msg_code option
val sizeof_ofp_match : int
val get_ofp_match_typ : Cstruct.t -> Cstruct.uint16
val set_ofp_match_typ : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_match_length : Cstruct.t -> Cstruct.uint16
val set_ofp_match_length : Cstruct.t -> Cstruct.uint16 -> unit
val hexdump_ofp_match_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_match : Cstruct.t -> unit
val ofpp_in_port : int32
val ofpp_flood : int32
val ofpp_all : int32
val ofpp_controller : int32
val ofpp_any : int32
val ofpg_all : int32
val ofpg_any : int32
val ofp_eth_alen : int
type ofp_oxm_class =
  1. | OFPXMC_NXM_0
  2. | OFPXMC_NXM_1
  3. | OFPXMC_OPENFLOW_BASIC
  4. | OFPXMC_EXPERIMENTER
val int_to_ofp_oxm_class : int -> ofp_oxm_class option
val ofp_oxm_class_to_int : ofp_oxm_class -> int
val ofp_oxm_class_to_string : ofp_oxm_class -> string
val string_to_ofp_oxm_class : string -> ofp_oxm_class option
type oxm_ofb_match_fields =
  1. | OFPXMT_OFB_IN_PORT
  2. | OFPXMT_OFB_IN_PHY_PORT
  3. | OFPXMT_OFB_METADATA
  4. | OFPXMT_OFB_ETH_DST
  5. | OFPXMT_OFB_ETH_SRC
  6. | OFPXMT_OFB_ETH_TYPE
  7. | OFPXMT_OFB_VLAN_VID
  8. | OFPXMT_OFB_VLAN_PCP
  9. | OFPXMT_OFB_IP_DSCP
  10. | OFPXMT_OFB_IP_ECN
  11. | OFPXMT_OFB_IP_PROTO
  12. | OFPXMT_OFB_IPV4_SRC
  13. | OFPXMT_OFB_IPV4_DST
  14. | OFPXMT_OFB_TCP_SRC
  15. | OFPXMT_OFB_TCP_DST
  16. | OFPXMT_OFB_UDP_SRC
  17. | OFPXMT_OFB_UDP_DST
  18. | OFPXMT_OFB_SCTP_SRC
  19. | OFPXMT_OFB_SCTP_DST
  20. | OFPXMT_OFB_ICMPV4_TYPE
  21. | OFPXMT_OFB_ICMPV4_CODE
  22. | OFPXMT_OFB_ARP_OP
  23. | OFPXMT_OFB_ARP_SPA
  24. | OFPXMT_OFB_ARP_TPA
  25. | OFPXMT_OFB_ARP_SHA
  26. | OFPXMT_OFB_ARP_THA
  27. | OFPXMT_OFB_IPV6_SRC
  28. | OFPXMT_OFB_IPV6_DST
  29. | OFPXMT_OFB_IPV6_FLABEL
  30. | OFPXMT_OFB_ICMPV6_TYPE
  31. | OFPXMT_OFB_ICMPV6_CODE
  32. | OFPXMT_OFB_IPV6_ND_TARGET
  33. | OFPXMT_OFB_IPV6_ND_SLL
  34. | OFPXMT_OFB_IPV6_ND_TLL
  35. | OFPXMT_OFB_MPLS_LABEL
  36. | OFPXMT_OFB_MPLS_TC
  37. | OFPXMT_OFP_MPLS_BOS
  38. | OFPXMT_OFB_PBB_ISID
  39. | OFPXMT_OFB_TUNNEL_ID
  40. | OFPXMT_OFB_IPV6_EXTHDR
val int_to_oxm_ofb_match_fields : int -> oxm_ofb_match_fields option
val oxm_ofb_match_fields_to_int : oxm_ofb_match_fields -> int
val oxm_ofb_match_fields_to_string : oxm_ofb_match_fields -> string
val string_to_oxm_ofb_match_fields : string -> oxm_ofb_match_fields option
type ofp_vlan_id =
  1. | OFPVID_PRESENT
  2. | OFPVID_NONE
val int_to_ofp_vlan_id : int -> ofp_vlan_id option
val ofp_vlan_id_to_int : ofp_vlan_id -> int
val ofp_vlan_id_to_string : ofp_vlan_id -> string
val string_to_ofp_vlan_id : string -> ofp_vlan_id option
val sizeof_ofp_switch_features : int
val get_ofp_switch_features_datapath_id : Cstruct.t -> Cstruct.uint64
val set_ofp_switch_features_datapath_id : Cstruct.t -> Cstruct.uint64 -> unit
val get_ofp_switch_features_n_buffers : Cstruct.t -> Cstruct.uint32
val set_ofp_switch_features_n_buffers : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_switch_features_n_tables : Cstruct.t -> Cstruct.uint8
val set_ofp_switch_features_n_tables : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_switch_features_auxiliary_id : Cstruct.t -> Cstruct.uint8
val set_ofp_switch_features_auxiliary_id : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_switch_features_pad0 : Cstruct.t -> Cstruct.uint8
val set_ofp_switch_features_pad0 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_switch_features_pad1 : Cstruct.t -> Cstruct.uint8
val set_ofp_switch_features_pad1 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_switch_features_pad2 : Cstruct.t -> Cstruct.uint8
val set_ofp_switch_features_pad2 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_switch_features_capabilities : Cstruct.t -> Cstruct.uint32
val set_ofp_switch_features_capabilities : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_switch_features_reserved : Cstruct.t -> Cstruct.uint32
val set_ofp_switch_features_reserved : Cstruct.t -> Cstruct.uint32 -> unit
val hexdump_ofp_switch_features_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_switch_features : Cstruct.t -> unit
val sizeof_ofp_port_stats_request : int
val get_ofp_port_stats_request_port_no : Cstruct.t -> Cstruct.uint32
val set_ofp_port_stats_request_port_no : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_port_stats_request_pad : Cstruct.t -> Cstruct.t
val copy_ofp_port_stats_request_pad : Cstruct.t -> string
val set_ofp_port_stats_request_pad : string -> int -> Cstruct.t -> unit
val blit_ofp_port_stats_request_pad : Cstruct.t -> int -> Cstruct.t -> unit
val hexdump_ofp_port_stats_request_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_port_stats_request : Cstruct.t -> unit
val sizeof_ofp_port_stats : int
val get_ofp_port_stats_port_no : Cstruct.t -> Cstruct.uint32
val set_ofp_port_stats_port_no : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_port_stats_pad : Cstruct.t -> Cstruct.t
val copy_ofp_port_stats_pad : Cstruct.t -> string
val set_ofp_port_stats_pad : string -> int -> Cstruct.t -> unit
val blit_ofp_port_stats_pad : Cstruct.t -> int -> Cstruct.t -> unit
val get_ofp_port_stats_rx_packets : Cstruct.t -> Cstruct.uint64
val set_ofp_port_stats_rx_packets : Cstruct.t -> Cstruct.uint64 -> unit
val get_ofp_port_stats_tx_packets : Cstruct.t -> Cstruct.uint64
val set_ofp_port_stats_tx_packets : Cstruct.t -> Cstruct.uint64 -> unit
val get_ofp_port_stats_rx_bytes : Cstruct.t -> Cstruct.uint64
val set_ofp_port_stats_rx_bytes : Cstruct.t -> Cstruct.uint64 -> unit
val get_ofp_port_stats_tx_bytes : Cstruct.t -> Cstruct.uint64
val set_ofp_port_stats_tx_bytes : Cstruct.t -> Cstruct.uint64 -> unit
val get_ofp_port_stats_rx_dropped : Cstruct.t -> Cstruct.uint64
val set_ofp_port_stats_rx_dropped : Cstruct.t -> Cstruct.uint64 -> unit
val get_ofp_port_stats_tx_dropped : Cstruct.t -> Cstruct.uint64
val set_ofp_port_stats_tx_dropped : Cstruct.t -> Cstruct.uint64 -> unit
val get_ofp_port_stats_rx_errors : Cstruct.t -> Cstruct.uint64
val set_ofp_port_stats_rx_errors : Cstruct.t -> Cstruct.uint64 -> unit
val get_ofp_port_stats_tx_errors : Cstruct.t -> Cstruct.uint64
val set_ofp_port_stats_tx_errors : Cstruct.t -> Cstruct.uint64 -> unit
val get_ofp_port_stats_rx_frame_err : Cstruct.t -> Cstruct.uint64
val set_ofp_port_stats_rx_frame_err : Cstruct.t -> Cstruct.uint64 -> unit
val get_ofp_port_stats_rx_over_err : Cstruct.t -> Cstruct.uint64
val set_ofp_port_stats_rx_over_err : Cstruct.t -> Cstruct.uint64 -> unit
val get_ofp_port_stats_rx_crc_err : Cstruct.t -> Cstruct.uint64
val set_ofp_port_stats_rx_crc_err : Cstruct.t -> Cstruct.uint64 -> unit
val get_ofp_port_stats_collisions : Cstruct.t -> Cstruct.uint64
val set_ofp_port_stats_collisions : Cstruct.t -> Cstruct.uint64 -> unit
val get_ofp_port_stats_duration_sec : Cstruct.t -> Cstruct.uint32
val set_ofp_port_stats_duration_sec : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_port_stats_duration_nsec : Cstruct.t -> Cstruct.uint32
val set_ofp_port_stats_duration_nsec : Cstruct.t -> Cstruct.uint32 -> unit
val hexdump_ofp_port_stats_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_port_stats : Cstruct.t -> unit
val sizeof_ofp_port : int
val get_ofp_port_port_no : Cstruct.t -> Cstruct.uint32
val set_ofp_port_port_no : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_port_pad : Cstruct.t -> Cstruct.t
val copy_ofp_port_pad : Cstruct.t -> string
val set_ofp_port_pad : string -> int -> Cstruct.t -> unit
val blit_ofp_port_pad : Cstruct.t -> int -> Cstruct.t -> unit
val get_ofp_port_hw_addr : Cstruct.t -> Cstruct.t
val copy_ofp_port_hw_addr : Cstruct.t -> string
val set_ofp_port_hw_addr : string -> int -> Cstruct.t -> unit
val blit_ofp_port_hw_addr : Cstruct.t -> int -> Cstruct.t -> unit
val get_ofp_port_pad2 : Cstruct.t -> Cstruct.t
val copy_ofp_port_pad2 : Cstruct.t -> string
val set_ofp_port_pad2 : string -> int -> Cstruct.t -> unit
val blit_ofp_port_pad2 : Cstruct.t -> int -> Cstruct.t -> unit
val get_ofp_port_name : Cstruct.t -> Cstruct.t
val copy_ofp_port_name : Cstruct.t -> string
val set_ofp_port_name : string -> int -> Cstruct.t -> unit
val blit_ofp_port_name : Cstruct.t -> int -> Cstruct.t -> unit
val get_ofp_port_config : Cstruct.t -> Cstruct.uint32
val set_ofp_port_config : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_port_state : Cstruct.t -> Cstruct.uint32
val set_ofp_port_state : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_port_curr : Cstruct.t -> Cstruct.uint32
val set_ofp_port_curr : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_port_advertised : Cstruct.t -> Cstruct.uint32
val set_ofp_port_advertised : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_port_supported : Cstruct.t -> Cstruct.uint32
val set_ofp_port_supported : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_port_peer : Cstruct.t -> Cstruct.uint32
val set_ofp_port_peer : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_port_curr_speed : Cstruct.t -> Cstruct.uint32
val set_ofp_port_curr_speed : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_port_max_speed : Cstruct.t -> Cstruct.uint32
val set_ofp_port_max_speed : Cstruct.t -> Cstruct.uint32 -> unit
val hexdump_ofp_port_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_port : Cstruct.t -> unit
type ofp_port_reason =
  1. | OFPPR_ADD
  2. | OFPPR_DELETE
  3. | OFPPR_MODIFY
val int_to_ofp_port_reason : int -> ofp_port_reason option
val ofp_port_reason_to_int : ofp_port_reason -> int
val ofp_port_reason_to_string : ofp_port_reason -> string
val string_to_ofp_port_reason : string -> ofp_port_reason option
val sizeof_ofp_port_status : int
val get_ofp_port_status_reason : Cstruct.t -> Cstruct.uint8
val set_ofp_port_status_reason : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_port_status_pad : Cstruct.t -> Cstruct.t
val copy_ofp_port_status_pad : Cstruct.t -> string
val set_ofp_port_status_pad : string -> int -> Cstruct.t -> unit
val blit_ofp_port_status_pad : Cstruct.t -> int -> Cstruct.t -> unit
val hexdump_ofp_port_status_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_port_status : Cstruct.t -> unit
type ofp_flow_mod_command =
  1. | OFPFC_ADD
  2. | OFPFC_MODIFY
  3. | OFPFC_MODIFY_STRICT
  4. | OFPFC_DELETE
  5. | OFPFC_DELETE_STRICT
val int_to_ofp_flow_mod_command : int -> ofp_flow_mod_command option
val ofp_flow_mod_command_to_int : ofp_flow_mod_command -> int
val ofp_flow_mod_command_to_string : ofp_flow_mod_command -> string
val string_to_ofp_flow_mod_command : string -> ofp_flow_mod_command option
val sizeof_ofp_flow_mod : int
val get_ofp_flow_mod_table_id : Cstruct.t -> Cstruct.uint8
val set_ofp_flow_mod_table_id : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_flow_mod_command : Cstruct.t -> Cstruct.uint8
val set_ofp_flow_mod_command : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_flow_mod_idle_timeout : Cstruct.t -> Cstruct.uint16
val set_ofp_flow_mod_idle_timeout : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_flow_mod_hard_timeout : Cstruct.t -> Cstruct.uint16
val set_ofp_flow_mod_hard_timeout : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_flow_mod_priority : Cstruct.t -> Cstruct.uint16
val set_ofp_flow_mod_priority : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_flow_mod_buffer_id : Cstruct.t -> Cstruct.uint32
val set_ofp_flow_mod_buffer_id : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_flow_mod_out_port : Cstruct.t -> Cstruct.uint32
val set_ofp_flow_mod_out_port : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_flow_mod_out_group : Cstruct.t -> Cstruct.uint32
val set_ofp_flow_mod_out_group : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_flow_mod_flags : Cstruct.t -> Cstruct.uint16
val set_ofp_flow_mod_flags : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_flow_mod_pad0 : Cstruct.t -> Cstruct.uint8
val set_ofp_flow_mod_pad0 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_flow_mod_pad1 : Cstruct.t -> Cstruct.uint8
val set_ofp_flow_mod_pad1 : Cstruct.t -> Cstruct.uint8 -> unit
val hexdump_ofp_flow_mod_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_flow_mod : Cstruct.t -> unit
type ofp_action_type =
  1. | OFPAT_OUTPUT
  2. | OFPAT_COPY_TTL_OUT
  3. | OFPAT_COPY_TTL_IN
  4. | OFPAT_SET_MPLS_TTL
  5. | OFPAT_DEC_MPLS_TTL
  6. | OFPAT_PUSH_VLAN
  7. | OFPAT_POP_VLAN
  8. | OFPAT_PUSH_MPLS
  9. | OFPAT_POP_MPLS
  10. | OFPAT_SET_QUEUE
  11. | OFPAT_GROUP
  12. | OFPAT_SET_NW_TTL
  13. | OFPAT_DEC_NW_TTL
  14. | OFPAT_SET_FIELD
  15. | OFPAT_PUSH_PBB
  16. | OFPAT_POP_PBB
  17. | OFPAT_EXPERIMENTER
val int_to_ofp_action_type : int -> ofp_action_type option
val ofp_action_type_to_int : ofp_action_type -> int
val ofp_action_type_to_string : ofp_action_type -> string
val string_to_ofp_action_type : string -> ofp_action_type option
val sizeof_ofp_action_output : int
val get_ofp_action_output_typ : Cstruct.t -> Cstruct.uint16
val set_ofp_action_output_typ : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_action_output_len : Cstruct.t -> Cstruct.uint16
val set_ofp_action_output_len : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_action_output_port : Cstruct.t -> Cstruct.uint32
val set_ofp_action_output_port : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_action_output_max_len : Cstruct.t -> Cstruct.uint16
val set_ofp_action_output_max_len : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_action_output_pad0 : Cstruct.t -> Cstruct.uint8
val set_ofp_action_output_pad0 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_action_output_pad1 : Cstruct.t -> Cstruct.uint8
val set_ofp_action_output_pad1 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_action_output_pad2 : Cstruct.t -> Cstruct.uint8
val set_ofp_action_output_pad2 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_action_output_pad3 : Cstruct.t -> Cstruct.uint8
val set_ofp_action_output_pad3 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_action_output_pad4 : Cstruct.t -> Cstruct.uint8
val set_ofp_action_output_pad4 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_action_output_pad5 : Cstruct.t -> Cstruct.uint8
val set_ofp_action_output_pad5 : Cstruct.t -> Cstruct.uint8 -> unit
val hexdump_ofp_action_output_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_action_output : Cstruct.t -> unit
val sizeof_ofp_action_group : int
val get_ofp_action_group_typ : Cstruct.t -> Cstruct.uint16
val set_ofp_action_group_typ : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_action_group_len : Cstruct.t -> Cstruct.uint16
val set_ofp_action_group_len : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_action_group_group_id : Cstruct.t -> Cstruct.uint32
val set_ofp_action_group_group_id : Cstruct.t -> Cstruct.uint32 -> unit
val hexdump_ofp_action_group_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_action_group : Cstruct.t -> unit
val sizeof_ofp_action_header : int
val get_ofp_action_header_typ : Cstruct.t -> Cstruct.uint16
val set_ofp_action_header_typ : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_action_header_len : Cstruct.t -> Cstruct.uint16
val set_ofp_action_header_len : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_action_header_pad0 : Cstruct.t -> Cstruct.uint8
val set_ofp_action_header_pad0 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_action_header_pad1 : Cstruct.t -> Cstruct.uint8
val set_ofp_action_header_pad1 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_action_header_pad2 : Cstruct.t -> Cstruct.uint8
val set_ofp_action_header_pad2 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_action_header_pad3 : Cstruct.t -> Cstruct.uint8
val set_ofp_action_header_pad3 : Cstruct.t -> Cstruct.uint8 -> unit
val hexdump_ofp_action_header_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_action_header : Cstruct.t -> unit
val sizeof_ofp_action_pop_mpls : int
val get_ofp_action_pop_mpls_typ : Cstruct.t -> Cstruct.uint16
val set_ofp_action_pop_mpls_typ : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_action_pop_mpls_len : Cstruct.t -> Cstruct.uint16
val set_ofp_action_pop_mpls_len : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_action_pop_mpls_ethertype : Cstruct.t -> Cstruct.uint16
val set_ofp_action_pop_mpls_ethertype : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_action_pop_mpls_pad0 : Cstruct.t -> Cstruct.uint8
val set_ofp_action_pop_mpls_pad0 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_action_pop_mpls_pad1 : Cstruct.t -> Cstruct.uint8
val set_ofp_action_pop_mpls_pad1 : Cstruct.t -> Cstruct.uint8 -> unit
val hexdump_ofp_action_pop_mpls_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_action_pop_mpls : Cstruct.t -> unit
val sizeof_ofp_action_push : int
val get_ofp_action_push_typ : Cstruct.t -> Cstruct.uint16
val set_ofp_action_push_typ : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_action_push_len : Cstruct.t -> Cstruct.uint16
val set_ofp_action_push_len : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_action_push_ethertype : Cstruct.t -> Cstruct.uint16
val set_ofp_action_push_ethertype : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_action_push_pad0 : Cstruct.t -> Cstruct.uint8
val set_ofp_action_push_pad0 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_action_push_pad1 : Cstruct.t -> Cstruct.uint8
val set_ofp_action_push_pad1 : Cstruct.t -> Cstruct.uint8 -> unit
val hexdump_ofp_action_push_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_action_push : Cstruct.t -> unit
val sizeof_ofp_action_set_field : int
val get_ofp_action_set_field_typ : Cstruct.t -> Cstruct.uint16
val set_ofp_action_set_field_typ : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_action_set_field_len : Cstruct.t -> Cstruct.uint16
val set_ofp_action_set_field_len : Cstruct.t -> Cstruct.uint16 -> unit
val hexdump_ofp_action_set_field_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_action_set_field : Cstruct.t -> unit
val sizeof_ofp_instruction : int
val get_ofp_instruction_typ : Cstruct.t -> Cstruct.uint16
val set_ofp_instruction_typ : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_instruction_len : Cstruct.t -> Cstruct.uint16
val set_ofp_instruction_len : Cstruct.t -> Cstruct.uint16 -> unit
val hexdump_ofp_instruction_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_instruction : Cstruct.t -> unit
val sizeof_ofp_instruction_goto_table : int
val get_ofp_instruction_goto_table_typ : Cstruct.t -> Cstruct.uint16
val set_ofp_instruction_goto_table_typ : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_instruction_goto_table_len : Cstruct.t -> Cstruct.uint16
val set_ofp_instruction_goto_table_len : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_instruction_goto_table_table_id : Cstruct.t -> Cstruct.uint8
val set_ofp_instruction_goto_table_table_id : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_instruction_goto_table_pad0 : Cstruct.t -> Cstruct.uint8
val set_ofp_instruction_goto_table_pad0 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_instruction_goto_table_pad1 : Cstruct.t -> Cstruct.uint8
val set_ofp_instruction_goto_table_pad1 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_instruction_goto_table_pad2 : Cstruct.t -> Cstruct.uint8
val set_ofp_instruction_goto_table_pad2 : Cstruct.t -> Cstruct.uint8 -> unit
val hexdump_ofp_instruction_goto_table_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_instruction_goto_table : Cstruct.t -> unit
val sizeof_ofp_instruction_write_metadata : int
val get_ofp_instruction_write_metadata_typ : Cstruct.t -> Cstruct.uint16
val set_ofp_instruction_write_metadata_typ : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_instruction_write_metadata_len : Cstruct.t -> Cstruct.uint16
val set_ofp_instruction_write_metadata_len : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_instruction_write_metadata_pad0 : Cstruct.t -> Cstruct.uint8
val set_ofp_instruction_write_metadata_pad0 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_instruction_write_metadata_pad1 : Cstruct.t -> Cstruct.uint8
val set_ofp_instruction_write_metadata_pad1 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_instruction_write_metadata_pad2 : Cstruct.t -> Cstruct.uint8
val set_ofp_instruction_write_metadata_pad2 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_instruction_write_metadata_pad3 : Cstruct.t -> Cstruct.uint8
val set_ofp_instruction_write_metadata_pad3 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_instruction_write_metadata_metadata : Cstruct.t -> Cstruct.uint64
val set_ofp_instruction_write_metadata_metadata : Cstruct.t -> Cstruct.uint64 -> unit
val get_ofp_instruction_write_metadata_metadata_mask : Cstruct.t -> Cstruct.uint64
val set_ofp_instruction_write_metadata_metadata_mask : Cstruct.t -> Cstruct.uint64 -> unit
val hexdump_ofp_instruction_write_metadata_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_instruction_write_metadata : Cstruct.t -> unit
val sizeof_ofp_instruction_actions : int
val get_ofp_instruction_actions_typ : Cstruct.t -> Cstruct.uint16
val set_ofp_instruction_actions_typ : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_instruction_actions_len : Cstruct.t -> Cstruct.uint16
val set_ofp_instruction_actions_len : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_instruction_actions_pad0 : Cstruct.t -> Cstruct.uint8
val set_ofp_instruction_actions_pad0 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_instruction_actions_pad1 : Cstruct.t -> Cstruct.uint8
val set_ofp_instruction_actions_pad1 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_instruction_actions_pad2 : Cstruct.t -> Cstruct.uint8
val set_ofp_instruction_actions_pad2 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_instruction_actions_pad3 : Cstruct.t -> Cstruct.uint8
val set_ofp_instruction_actions_pad3 : Cstruct.t -> Cstruct.uint8 -> unit
val hexdump_ofp_instruction_actions_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_instruction_actions : Cstruct.t -> unit
val sizeof_ofp_instruction_meter : int
val get_ofp_instruction_meter_typ : Cstruct.t -> Cstruct.uint16
val set_ofp_instruction_meter_typ : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_instruction_meter_len : Cstruct.t -> Cstruct.uint16
val set_ofp_instruction_meter_len : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_instruction_meter_meter_id : Cstruct.t -> Cstruct.uint32
val set_ofp_instruction_meter_meter_id : Cstruct.t -> Cstruct.uint32 -> unit
val hexdump_ofp_instruction_meter_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_instruction_meter : Cstruct.t -> unit
val sizeof_ofp_instruction_experimenter : int
val get_ofp_instruction_experimenter_typ : Cstruct.t -> Cstruct.uint16
val set_ofp_instruction_experimenter_typ : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_instruction_experimenter_len : Cstruct.t -> Cstruct.uint16
val set_ofp_instruction_experimenter_len : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_instruction_experimenter_experimenter : Cstruct.t -> Cstruct.uint32
val set_ofp_instruction_experimenter_experimenter : Cstruct.t -> Cstruct.uint32 -> unit
val hexdump_ofp_instruction_experimenter_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_instruction_experimenter : Cstruct.t -> unit
type ofp_group_type =
  1. | OFPGC_ALL
  2. | OFPGC_SELECT
  3. | OFPGC_INDIRECT
  4. | OFPGC_FF
val int_to_ofp_group_type : int -> ofp_group_type option
val ofp_group_type_to_int : ofp_group_type -> int
val ofp_group_type_to_string : ofp_group_type -> string
val string_to_ofp_group_type : string -> ofp_group_type option
val sizeof_ofp_group_mod : int
val get_ofp_group_mod_command : Cstruct.t -> Cstruct.uint16
val set_ofp_group_mod_command : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_group_mod_typ : Cstruct.t -> Cstruct.uint8
val set_ofp_group_mod_typ : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_group_mod_pad : Cstruct.t -> Cstruct.uint8
val set_ofp_group_mod_pad : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_group_mod_group_id : Cstruct.t -> Cstruct.uint32
val set_ofp_group_mod_group_id : Cstruct.t -> Cstruct.uint32 -> unit
val hexdump_ofp_group_mod_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_group_mod : Cstruct.t -> unit
val sizeof_ofp_bucket : int
val get_ofp_bucket_len : Cstruct.t -> Cstruct.uint16
val set_ofp_bucket_len : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_bucket_weight : Cstruct.t -> Cstruct.uint16
val set_ofp_bucket_weight : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_bucket_watch_port : Cstruct.t -> Cstruct.uint32
val set_ofp_bucket_watch_port : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_bucket_watch_group : Cstruct.t -> Cstruct.uint32
val set_ofp_bucket_watch_group : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_bucket_pad0 : Cstruct.t -> Cstruct.uint8
val set_ofp_bucket_pad0 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_bucket_pad1 : Cstruct.t -> Cstruct.uint8
val set_ofp_bucket_pad1 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_bucket_pad2 : Cstruct.t -> Cstruct.uint8
val set_ofp_bucket_pad2 : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_bucket_pad3 : Cstruct.t -> Cstruct.uint8
val set_ofp_bucket_pad3 : Cstruct.t -> Cstruct.uint8 -> unit
val hexdump_ofp_bucket_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_bucket : Cstruct.t -> unit
val sizeof_ofp_oxm : int
val get_ofp_oxm_oxm_class : Cstruct.t -> Cstruct.uint16
val set_ofp_oxm_oxm_class : Cstruct.t -> Cstruct.uint16 -> unit
val get_ofp_oxm_oxm_field_and_hashmask : Cstruct.t -> Cstruct.uint8
val set_ofp_oxm_oxm_field_and_hashmask : Cstruct.t -> Cstruct.uint8 -> unit
val get_ofp_oxm_oxm_length : Cstruct.t -> Cstruct.uint8
val set_ofp_oxm_oxm_length : Cstruct.t -> Cstruct.uint8 -> unit
val hexdump_ofp_oxm_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_oxm : Cstruct.t -> unit
val sizeof_ofp_uint8 : int
val get_ofp_uint8_value : Cstruct.t -> Cstruct.uint8
val set_ofp_uint8_value : Cstruct.t -> Cstruct.uint8 -> unit
val hexdump_ofp_uint8_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_uint8 : Cstruct.t -> unit
val sizeof_ofp_uint16 : int
val get_ofp_uint16_value : Cstruct.t -> Cstruct.uint16
val set_ofp_uint16_value : Cstruct.t -> Cstruct.uint16 -> unit
val hexdump_ofp_uint16_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_uint16 : Cstruct.t -> unit
val sizeof_ofp_uint32 : int
val get_ofp_uint32_value : Cstruct.t -> Cstruct.uint32
val set_ofp_uint32_value : Cstruct.t -> Cstruct.uint32 -> unit
val hexdump_ofp_uint32_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_uint32 : Cstruct.t -> unit
val sizeof_ofp_uint48 : int
val get_ofp_uint48_high : Cstruct.t -> Cstruct.uint32
val set_ofp_uint48_high : Cstruct.t -> Cstruct.uint32 -> unit
val get_ofp_uint48_low : Cstruct.t -> Cstruct.uint16
val set_ofp_uint48_low : Cstruct.t -> Cstruct.uint16 -> unit
val hexdump_ofp_uint48_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_uint48 : Cstruct.t -> unit
val sizeof_ofp_uint64 : int
val get_ofp_uint64_value : Cstruct.t -> Cstruct.uint64
val set_ofp_uint64_value : Cstruct.t -> Cstruct.uint64 -> unit
val hexdump_ofp_uint64_to_buffer : Buffer.t -> Cstruct.t -> unit
val hexdump_ofp_uint64 : Cstruct.t -> unit
val set_ofp_uint48_value : Cstruct.t -> uint48 -> unit
val marshal_fields : Cstruct.t -> 'a list -> (Cstruct.t -> 'a -> int) -> int
val pad_to_64bits : int -> int
val pad_with_zeros : Cstruct.t -> int -> int
module Oxm : sig ... end
module Action : sig ... end
module Bucket : sig ... end
module FlowModCommand : sig ... end
module GroupType : sig ... end
module GroupMod : sig ... end
module OfpMatch : sig ... end
module Instruction : sig ... end
module Instructions : sig ... end
module FlowMod : sig ... end
module Capabilities : sig ... end
module Features : sig ... end
module PortState : sig ... end
module PortDesc : sig ... end
module PortReason : sig ... end
module PortStatus : sig ... end
module PacketIn : sig ... end
module PacketOut : sig ... end
module Message : sig ... end
OCaml

Innovation. Community. Security.