pub struct ExtendedOpenFlowV1 {
pub flow_cookie: u64,
pub flow_match: u32,
pub flow_actions: u32,
}Expand description
Extended OpenFlow v1 - Format (0,1017) - DEPRECATED
OpenFlow 1.0 forwarding information
Note: This format was defined in an early draft of the sFlow OpenFlow specification but was deprecated and removed from the final specification. It is included here for backward compatibility with legacy implementations.
§XDR Definition (sFlow OpenFlow Draft)
/* Extended OpenFlow 1.0 Data */
/* opaque = flow_data; enterprise = 0; format = 1017 */
struct extended_openflow_v1 {
unsigned hyper flow_cookie; /* Flow cookie set by controller */
wildcards flow_match; /* Bit array of wildcarded fields */
actions flow_actions; /* Bit array of actions applied */
}Fields§
Flow cookie set by the OpenFlow controller
flow_match: u32Bit array describing the fields in the packet header that are used to form the flow key See OpenFlow 1.0 ofp_match for the definition of wildcards
flow_actions: u32Bit array describing fields that may have been altered by the flow action The ofp_action_type enum is used to determine the bit positions
Trait Implementations§
Source§impl Clone for ExtendedOpenFlowV1
impl Clone for ExtendedOpenFlowV1
Source§fn clone(&self) -> ExtendedOpenFlowV1
fn clone(&self) -> ExtendedOpenFlowV1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtendedOpenFlowV1
impl Debug for ExtendedOpenFlowV1
Source§impl PartialEq for ExtendedOpenFlowV1
impl PartialEq for ExtendedOpenFlowV1
impl Eq for ExtendedOpenFlowV1
impl StructuralPartialEq for ExtendedOpenFlowV1
Auto Trait Implementations§
impl Freeze for ExtendedOpenFlowV1
impl RefUnwindSafe for ExtendedOpenFlowV1
impl Send for ExtendedOpenFlowV1
impl Sync for ExtendedOpenFlowV1
impl Unpin for ExtendedOpenFlowV1
impl UnwindSafe for ExtendedOpenFlowV1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more