base/frameworks/openflow/consts.bro
-
OpenFlow
Constants used by the OpenFlow framework.
Detailed Interface
Constants
-
OpenFlow::ETH_APPLETALK
Type : | count |
Default : | 32923 |
-
OpenFlow::ETH_APPLETALK_ARP
Type : | count |
Default : | 33011 |
-
OpenFlow::ETH_ARP
Type : | count |
Default : | 2054 |
-
OpenFlow::ETH_EAP_OVER_LAN
Type : | count |
Default : | 34958 |
-
OpenFlow::ETH_ETHER_FLOW_CONTROL
Type : | count |
Default : | 34824 |
-
OpenFlow::ETH_IPX
Type : | count |
Default : | 33080 |
-
OpenFlow::ETH_IPX_OLD
Type : | count |
Default : | 33079 |
-
OpenFlow::ETH_IPv4
Type : | count |
Default : | 2048 |
-
OpenFlow::ETH_IPv6
Type : | count |
Default : | 34525 |
-
OpenFlow::ETH_JUMBO_FRAMES
Type : | count |
Default : | 34928 |
-
OpenFlow::ETH_MAC_SECURITY
Type : | count |
Default : | 35045 |
-
OpenFlow::ETH_MPLS_MULTICAST
Type : | count |
Default : | 34888 |
-
OpenFlow::ETH_MPLS_UNICAST
Type : | count |
Default : | 34887 |
-
OpenFlow::ETH_PPPOE_DISCOVERY
Type : | count |
Default : | 34915 |
-
OpenFlow::ETH_PPPOE_SESSION
Type : | count |
Default : | 34916 |
-
OpenFlow::ETH_PROVIDER_BRIDING
Type : | count |
Default : | 34984 |
-
OpenFlow::ETH_QINQ
Type : | count |
Default : | 37120 |
-
OpenFlow::ETH_RARP
Type : | count |
Default : | 32821 |
-
OpenFlow::ETH_VLAN
Type : | count |
Default : | 33024 |
-
OpenFlow::ETH_WOL
Type : | count |
Default : | 2114 |
-
OpenFlow::INVALID_COOKIE
Type : | count |
Default : | 18446744073709551615 |
Return value for a cookie from a flow
which is not added, modified or deleted
from the bro openflow framework.
-
OpenFlow::IP_CBT
-
-
OpenFlow::IP_EGP
-
-
OpenFlow::IP_ETHERIP
-
-
OpenFlow::IP_FC
-
-
OpenFlow::IP_GGP
-
-
OpenFlow::IP_GRE
-
-
OpenFlow::IP_HOPOPT
-
-
OpenFlow::IP_ICMP
-
-
OpenFlow::IP_IGMP
-
-
OpenFlow::IP_IGP
-
-
OpenFlow::IP_IPIP
-
-
OpenFlow::IP_IPv6
-
-
OpenFlow::IP_ISIS
-
-
OpenFlow::IP_L2TP
-
-
OpenFlow::IP_MPLS
-
-
OpenFlow::IP_MTP
-
-
OpenFlow::IP_OSPF
-
-
OpenFlow::IP_RDP
-
-
OpenFlow::IP_RSVP
-
-
OpenFlow::IP_ST
-
-
OpenFlow::IP_TCP
-
-
OpenFlow::IP_UDP
-
-
OpenFlow::OFPFF_CHECK_OVERLAP
-
Check for overlapping entries first.
-
OpenFlow::OFPFF_EMERG
-
Remark this is for emergency.
Flows added with this are only used
when the controller is disconnected.
-
OpenFlow::OFPFF_SEND_FLOW_REM
-
Send flow removed message when flow
expires or is deleted.
-
OpenFlow::OFPP_ALL
Type : | count |
Default : | 4294967292 |
All physical ports except input port.
-
OpenFlow::OFPP_ANY
Type : | count |
Default : | 4294967295 |
Wildcard port used only for flow mod (delete) and flow stats requests.
-
OpenFlow::OFPP_CONTROLLER
Type : | count |
Default : | 4294967293 |
Send to controller.
-
OpenFlow::OFPP_FLOOD
Type : | count |
Default : | 4294967291 |
All physical ports except input port and
those disabled by STP.
-
OpenFlow::OFPP_IN_PORT
Type : | count |
Default : | 4294967288 |
Send the packet out the input port. This
virual port must be explicitly used in
order to send back out of the input port.
-
OpenFlow::OFPP_LOCAL
Type : | count |
Default : | 4294967294 |
Local openflow “port”.
-
OpenFlow::OFPP_NORMAL
Type : | count |
Default : | 4294967290 |
Process with normal L2/L3 switching.
-
OpenFlow::OFPP_TABLE
Type : | count |
Default : | 4294967289 |
Perform actions in flow table.
NB: This can only be the destination port
for packet-out messages.
-
OpenFlow::OFPTT_ALL
-
-
OpenFlow::OFP_NO_BUFFER
Type : | count |
Default : | 4294967295 |
Types
-
OpenFlow::ofp_action_type
Type : | enum
-
OpenFlow::OFPAT_OUTPUT
Output to switch port.
-
OpenFlow::OFPAT_SET_VLAN_VID
Set the 802.1q VLAN id.
-
OpenFlow::OFPAT_SET_VLAN_PCP
Set the 802.1q priority.
-
OpenFlow::OFPAT_STRIP_VLAN
Strip the 802.1q header.
-
OpenFlow::OFPAT_SET_DL_SRC
Ethernet source address.
-
OpenFlow::OFPAT_SET_DL_DST
Ethernet destination address.
-
OpenFlow::OFPAT_SET_NW_SRC
IP source address.
-
OpenFlow::OFPAT_SET_NW_DST
IP destination address.
-
OpenFlow::OFPAT_SET_NW_TOS
IP ToS (DSCP field, 6 bits).
-
OpenFlow::OFPAT_SET_TP_SRC
TCP/UDP source port.
-
OpenFlow::OFPAT_SET_TP_DST
TCP/UDP destination port.
-
OpenFlow::OFPAT_ENQUEUE
Output to queue.
-
OpenFlow::OFPAT_VENDOR
Vendor specific.
|
Openflow action_type definitions.
The openflow action type defines
what actions openflow can take
to modify a packet
-
OpenFlow::ofp_config_flags
Type : | enum
-
OpenFlow::OFPC_FRAG_NORMAL
No special handling for fragments.
-
OpenFlow::OFPC_FRAG_DROP
Drop fragments.
-
OpenFlow::OFPC_FRAG_REASM
Reassemble (only if OFPC_IP_REASM set).
-
OpenFlow::OFPC_FRAG_MASK
|
Openflow config flag definitions.
TODO: describe
-
OpenFlow::ofp_flow_mod_command
Type : | enum
-
OpenFlow::OFPFC_ADD
New flow.
-
OpenFlow::OFPFC_MODIFY
Modify all matching flows.
-
OpenFlow::OFPFC_MODIFY_STRICT
Modify entry strictly matching wildcards.
-
OpenFlow::OFPFC_DELETE
Delete all matching flows.
-
OpenFlow::OFPFC_DELETE_STRICT
Strictly matching wildcards and priority.
|
Openflow flow_mod_command definitions.
The openflow flow_mod_command describes
of what kind an action is.