FlowData

Enum FlowData 

Source
pub enum FlowData {
Show 47 variants SampledHeader(SampledHeader), SampledEthernet(SampledEthernet), SampledIpv4(SampledIpv4), SampledIpv6(SampledIpv6), ExtendedSwitch(ExtendedSwitch), ExtendedRouter(ExtendedRouter), ExtendedGateway(ExtendedGateway), ExtendedUser(ExtendedUser), ExtendedUrl(ExtendedUrl), ExtendedMpls(ExtendedMpls), ExtendedNat(ExtendedNat), ExtendedMplsTunnel(ExtendedMplsTunnel), ExtendedMplsVc(ExtendedMplsVc), ExtendedMplsFec(ExtendedMplsFec), ExtendedMplsLvpFec(ExtendedMplsLvpFec), ExtendedVlanTunnel(ExtendedVlanTunnel), Extended80211Payload(Extended80211Payload), Extended80211Rx(Extended80211Rx), Extended80211Tx(Extended80211Tx), Extended80211Aggregation(Extended80211Aggregation), ExtendedOpenFlowV1(ExtendedOpenFlowV1), ExtendedL2TunnelEgress(ExtendedL2TunnelEgress), ExtendedL2TunnelIngress(ExtendedL2TunnelIngress), ExtendedIpv4TunnelEgress(ExtendedIpv4TunnelEgress), ExtendedIpv4TunnelIngress(ExtendedIpv4TunnelIngress), ExtendedIpv6TunnelEgress(ExtendedIpv6TunnelEgress), ExtendedIpv6TunnelIngress(ExtendedIpv6TunnelIngress), ExtendedDecapsulateEgress(ExtendedDecapsulateEgress), ExtendedDecapsulateIngress(ExtendedDecapsulateIngress), ExtendedVniEgress(ExtendedVniEgress), ExtendedVniIngress(ExtendedVniIngress), ExtendedEgressQueue(ExtendedEgressQueue), ExtendedAcl(ExtendedAcl), ExtendedFunction(ExtendedFunction), ExtendedTransit(ExtendedTransit), ExtendedQueue(ExtendedQueue), ExtendedSocketIpv4(ExtendedSocketIpv4), ExtendedSocketIpv6(ExtendedSocketIpv6), ExtendedProxySocketIpv4(ExtendedProxySocketIpv4), ExtendedProxySocketIpv6(ExtendedProxySocketIpv6), AppOperation(AppOperation), AppParentContext(AppParentContext), AppInitiator(AppInitiator), AppTarget(AppTarget), HttpRequest(HttpRequest), ExtendedProxyRequest(ExtendedProxyRequest), Unknown { format: DataFormat, data: Vec<u8>, },
}
Expand description

Flow data types

Variants§

§

SampledHeader(SampledHeader)

Sampled Header - Format (0,1)

§

SampledEthernet(SampledEthernet)

Sampled Ethernet - Format (0,2)

§

SampledIpv4(SampledIpv4)

Sampled IPv4 - Format (0,3)

§

SampledIpv6(SampledIpv6)

Sampled IPv6 - Format (0,4)

§

ExtendedSwitch(ExtendedSwitch)

Extended Switch - Format (0,1001)

§

ExtendedRouter(ExtendedRouter)

Extended Router - Format (0,1002)

§

ExtendedGateway(ExtendedGateway)

Extended Gateway - Format (0,1003)

§

ExtendedUser(ExtendedUser)

Extended User - Format (0,1004)

§

ExtendedUrl(ExtendedUrl)

Extended URL - Format (0,1005) Note: This format is deprecated but kept for backward compatibility

§

ExtendedMpls(ExtendedMpls)

Extended MPLS - Format (0,1006)

§

ExtendedNat(ExtendedNat)

Extended NAT - Format (0,1007)

§

ExtendedMplsTunnel(ExtendedMplsTunnel)

Extended MPLS Tunnel - Format (0,1008)

§

ExtendedMplsVc(ExtendedMplsVc)

Extended MPLS VC - Format (0,1009)

§

ExtendedMplsFec(ExtendedMplsFec)

Extended MPLS FEC - Format (0,1010)

§

ExtendedMplsLvpFec(ExtendedMplsLvpFec)

Extended MPLS LVP FEC - Format (0,1011)

§

ExtendedVlanTunnel(ExtendedVlanTunnel)

Extended VLAN Tunnel - Format (0,1012)

§

Extended80211Payload(Extended80211Payload)

Extended 802.11 Payload - Format (0,1013)

§

Extended80211Rx(Extended80211Rx)

Extended 802.11 RX - Format (0,1014)

§

Extended80211Tx(Extended80211Tx)

Extended 802.11 TX - Format (0,1015)

§

Extended80211Aggregation(Extended80211Aggregation)

Extended 802.11 Aggregation - Format (0,1016)

§

ExtendedOpenFlowV1(ExtendedOpenFlowV1)

Extended OpenFlow v1 - Format (0,1017) - DEPRECATED

§

ExtendedL2TunnelEgress(ExtendedL2TunnelEgress)

Extended L2 Tunnel Egress - Format (0,1021)

§

ExtendedL2TunnelIngress(ExtendedL2TunnelIngress)

Extended L2 Tunnel Ingress - Format (0,1022)

§

ExtendedIpv4TunnelEgress(ExtendedIpv4TunnelEgress)

Extended IPv4 Tunnel Egress - Format (0,1023)

§

ExtendedIpv4TunnelIngress(ExtendedIpv4TunnelIngress)

Extended IPv4 Tunnel Ingress - Format (0,1024)

§

ExtendedIpv6TunnelEgress(ExtendedIpv6TunnelEgress)

Extended IPv6 Tunnel Egress - Format (0,1025)

§

ExtendedIpv6TunnelIngress(ExtendedIpv6TunnelIngress)

Extended IPv6 Tunnel Ingress - Format (0,1026)

§

ExtendedDecapsulateEgress(ExtendedDecapsulateEgress)

Extended Decapsulate Egress - Format (0,1027)

§

ExtendedDecapsulateIngress(ExtendedDecapsulateIngress)

Extended Decapsulate Ingress - Format (0,1028)

§

ExtendedVniEgress(ExtendedVniEgress)

Extended VNI Egress - Format (0,1029)

§

ExtendedVniIngress(ExtendedVniIngress)

Extended VNI Ingress - Format (0,1030)

§

ExtendedEgressQueue(ExtendedEgressQueue)

Extended Egress Queue - Format (0,1036)

§

ExtendedAcl(ExtendedAcl)

Extended ACL - Format (0,1037)

§

ExtendedFunction(ExtendedFunction)

Extended Function - Format (0,1038)

§

ExtendedTransit(ExtendedTransit)

Extended Transit - Format (0,1039)

§

ExtendedQueue(ExtendedQueue)

Extended Queue - Format (0,1040)

§

ExtendedSocketIpv4(ExtendedSocketIpv4)

Extended Socket IPv4 - Format (0,2100)

§

ExtendedSocketIpv6(ExtendedSocketIpv6)

Extended Socket IPv6 - Format (0,2101)

§

ExtendedProxySocketIpv4(ExtendedProxySocketIpv4)

Extended Proxy Socket IPv4 - Format (0,2102)

§

ExtendedProxySocketIpv6(ExtendedProxySocketIpv6)

Extended Proxy Socket IPv6 - Format (0,2103)

§

AppOperation(AppOperation)

Application Operation - Format (0,2202)

§

AppParentContext(AppParentContext)

Application Parent Context - Format (0,2203)

§

AppInitiator(AppInitiator)

Application Initiator - Format (0,2204)

§

AppTarget(AppTarget)

Application Target - Format (0,2205)

§

HttpRequest(HttpRequest)

HTTP Request - Format (0,2206)

§

ExtendedProxyRequest(ExtendedProxyRequest)

Extended Proxy Request - Format (0,2207)

§

Unknown

Unknown or unparsed format

Fields

§format: DataFormat
§data: Vec<u8>

Trait Implementations§

Source§

impl Clone for FlowData

Source§

fn clone(&self) -> FlowData

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FlowData

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for FlowData

Source§

fn eq(&self, other: &FlowData) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for FlowData

Source§

impl StructuralPartialEq for FlowData

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.