Enum netflow_parser::protocol::ProtocolTypes
source · #[repr(u8)]pub enum ProtocolTypes {
Show 147 variants
Hopopt = 0,
Icmp = 1,
Igmp = 2,
Ggp = 3,
Ipv4 = 4,
St = 5,
Tcp = 6,
Cbt = 7,
Egp = 8,
Igp = 9,
Bbcrccmon = 10,
Nvpii = 11,
Pup = 12,
Argus = 13,
Emcon = 14,
Xnet = 15,
Chaos = 16,
Udp = 17,
Mux = 18,
Dcnmeas = 19,
Hmp = 20,
Prm = 21,
Xnxidp = 22,
Trunk1 = 23,
Trunk2 = 24,
Leaf1 = 25,
Leaf2 = 26,
Rdp = 27,
Irtp = 28,
Isotp4 = 29,
Netblt = 30,
Mfensp = 31,
Meritinp = 32,
Dccp = 33,
Threepc = 34,
Idpr = 35,
Xtp = 36,
Ddp = 37,
Idprcmtp = 38,
Tppp = 39,
Il = 40,
Ipv6 = 41,
Sdrp = 42,
Ipv6Route = 43,
Ipv6Frag = 44,
Idrp = 45,
Rsvp = 46,
Gre = 47,
Dsr = 48,
Bna = 49,
Esp = 50,
Ah = 51,
Inlsp = 52,
Swipe = 53,
Narp = 54,
Mobile = 55,
Tlsp = 56,
Skip = 57,
Ipv6Icmp = 58,
Ipv6Nonxt = 59,
Ipv6Opts = 60,
Anydistributedprotocol = 61,
Cftp = 62,
Anylocalnetwork = 63,
Satexpak = 64,
Kryptolan = 65,
Rvd = 66,
Ippc = 67,
Anydistributedfilesystem = 68,
Satmon = 69,
Visa = 70,
Ipcv = 71,
Cpnx = 72,
Cphb = 73,
Wsn = 74,
Pvp = 75,
Brsatmon = 76,
Sunnd = 77,
Wbmon = 78,
Wbexpak = 79,
Isoip = 80,
Vmtp = 81,
Securevmtp = 82,
Vines = 83,
Iptm = 84,
Nsfnetigp = 85,
Dgp = 86,
Tcf = 87,
Eigrp = 88,
Ospfigp = 89,
Spriterpc = 90,
Larp = 91,
Mtp = 92,
Ax25 = 93,
Ipip = 94,
Micp = 95,
Sccsp = 96,
Etherip = 97,
Encap = 98,
Anyprivateencryptionscheme = 99,
Gmtp = 100,
Ifmp = 101,
Pnni = 102,
Pim = 103,
Aris = 104,
Scps = 105,
Qnx = 106,
An = 107,
Ipcomp = 108,
Snp = 109,
Compaqpeer = 110,
Ipxinip = 111,
Vrrp = 112,
Pgm = 113,
Any0Hopprotocol = 114,
L2Tp = 115,
Ddx = 116,
Iatp = 117,
Stp = 118,
Srp = 119,
Uti = 120,
Smp = 121,
Sm = 122,
Ptp = 123,
Isisoveripv4 = 124,
Fire = 125,
Crtp = 126,
Crudp = 127,
Sscopmce = 128,
Iplt = 129,
Sps = 130,
Pipe = 131,
Sctp = 132,
Fc = 133,
Rsvpe2Eignore = 134,
Mobilityheader = 135,
Udplite = 136,
Mplsinip = 137,
Manet = 138,
Hip = 139,
Shim6 = 140,
Wesp = 141,
Rohc = 142,
Ethernet = 143,
Aggfrag = 144,
Unknown = 145,
Reserved = 255,
}
Variants§
Hopopt = 0
Icmp = 1
Igmp = 2
Ggp = 3
Ipv4 = 4
St = 5
Tcp = 6
Cbt = 7
Egp = 8
Igp = 9
Bbcrccmon = 10
Nvpii = 11
Pup = 12
Argus = 13
Emcon = 14
Xnet = 15
Chaos = 16
Udp = 17
Mux = 18
Dcnmeas = 19
Hmp = 20
Prm = 21
Xnxidp = 22
Trunk1 = 23
Trunk2 = 24
Leaf1 = 25
Leaf2 = 26
Rdp = 27
Irtp = 28
Isotp4 = 29
Netblt = 30
Mfensp = 31
Meritinp = 32
Dccp = 33
Threepc = 34
Idpr = 35
Xtp = 36
Ddp = 37
Idprcmtp = 38
Tppp = 39
Il = 40
Ipv6 = 41
Sdrp = 42
Ipv6Route = 43
Ipv6Frag = 44
Idrp = 45
Rsvp = 46
Gre = 47
Dsr = 48
Bna = 49
Esp = 50
Ah = 51
Inlsp = 52
Swipe = 53
Narp = 54
Mobile = 55
Tlsp = 56
Skip = 57
Ipv6Icmp = 58
Ipv6Nonxt = 59
Ipv6Opts = 60
Anydistributedprotocol = 61
Cftp = 62
Anylocalnetwork = 63
Satexpak = 64
Kryptolan = 65
Rvd = 66
Ippc = 67
Anydistributedfilesystem = 68
Satmon = 69
Visa = 70
Ipcv = 71
Cpnx = 72
Cphb = 73
Wsn = 74
Pvp = 75
Brsatmon = 76
Sunnd = 77
Wbmon = 78
Wbexpak = 79
Isoip = 80
Vmtp = 81
Securevmtp = 82
Vines = 83
Iptm = 84
Nsfnetigp = 85
Dgp = 86
Tcf = 87
Eigrp = 88
Ospfigp = 89
Spriterpc = 90
Larp = 91
Mtp = 92
Ax25 = 93
Ipip = 94
Micp = 95
Sccsp = 96
Etherip = 97
Encap = 98
Anyprivateencryptionscheme = 99
Gmtp = 100
Ifmp = 101
Pnni = 102
Pim = 103
Aris = 104
Scps = 105
Qnx = 106
An = 107
Ipcomp = 108
Snp = 109
Compaqpeer = 110
Ipxinip = 111
Vrrp = 112
Pgm = 113
Any0Hopprotocol = 114
L2Tp = 115
Ddx = 116
Iatp = 117
Stp = 118
Srp = 119
Uti = 120
Smp = 121
Sm = 122
Ptp = 123
Isisoveripv4 = 124
Fire = 125
Crtp = 126
Crudp = 127
Sscopmce = 128
Iplt = 129
Sps = 130
Pipe = 131
Sctp = 132
Fc = 133
Rsvpe2Eignore = 134
Mobilityheader = 135
Udplite = 136
Mplsinip = 137
Manet = 138
Hip = 139
Shim6 = 140
Wesp = 141
Rohc = 142
Ethernet = 143
Aggfrag = 144
Unknown = 145
Reserved = 255
Trait Implementations§
source§impl Clone for ProtocolTypes
impl Clone for ProtocolTypes
source§fn clone(&self) -> ProtocolTypes
fn clone(&self) -> ProtocolTypes
Returns a copy 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 ProtocolTypes
impl Debug for ProtocolTypes
source§impl From<u8> for ProtocolTypes
impl From<u8> for ProtocolTypes
source§impl Ord for ProtocolTypes
impl Ord for ProtocolTypes
source§fn cmp(&self, other: &ProtocolTypes) -> Ordering
fn cmp(&self, other: &ProtocolTypes) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'nom> Parse<&'nom [u8]> for ProtocolTypes
impl<'nom> Parse<&'nom [u8]> for ProtocolTypes
source§impl PartialEq for ProtocolTypes
impl PartialEq for ProtocolTypes
source§fn eq(&self, other: &ProtocolTypes) -> bool
fn eq(&self, other: &ProtocolTypes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ProtocolTypes
impl PartialOrd for ProtocolTypes
source§fn partial_cmp(&self, other: &ProtocolTypes) -> Option<Ordering>
fn partial_cmp(&self, other: &ProtocolTypes) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ProtocolTypes
impl Serialize for ProtocolTypes
impl Copy for ProtocolTypes
impl Eq for ProtocolTypes
impl StructuralPartialEq for ProtocolTypes
Auto Trait Implementations§
impl Freeze for ProtocolTypes
impl RefUnwindSafe for ProtocolTypes
impl Send for ProtocolTypes
impl Sync for ProtocolTypes
impl Unpin for ProtocolTypes
impl UnwindSafe for ProtocolTypes
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