object NetFlowV5Packet extends Serializable
NetFlow Version 5
*-------*---------------*------------------------------------------------------*
Bytes | Contents | Description |
---|
*-------*---------------*------------------------------------------------------*
0-1 | version | The version of NetFlow records exported 005 |
---|
*-------*---------------*------------------------------------------------------*
2-3 | count | Number of flows exported in this packet (1-30) |
---|
*-------*---------------*------------------------------------------------------*
4-7 | SysUptime | Current time in milli since the export device booted |
---|
*-------*---------------*------------------------------------------------------*
8-11 | unix_secs | Current count of seconds since 0000 UTC 1970 |
---|
*-------*---------------*------------------------------------------------------*
12-15 | unix_nsecs | Residual nanoseconds since 0000 UTC 1970 |
---|
*-------*---------------*------------------------------------------------------*
16-19 | flow_sequence | Sequence counter of total flows seen |
---|
*-------*---------------*------------------------------------------------------*
20 | engine_type | Type of flow-switching engine |
---|
*-------*---------------*------------------------------------------------------*
21 | engine_id | Slot number of the flow-switching engine |
---|
*-------*---------------*------------------------------------------------------*
22-23 | sampling_int | First two bits hold the sampling mode |
---|
*-------*---------------*------------------------------------------------------*
- Alphabetic
- By Inheritance
- NetFlowV5Packet
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(sender: InetSocketAddress, buf: ByteBuf, fpId: UUID, uptime: Long, timestamp: LocalDateTime, samplingInterval: Int)(implicit system: ActorSystem): Option[NetFlowV5]
Parse a Version 5 Flow
Parse a Version 5 Flow
- sender
The sender's InetSocketAddress
- buf
Netty ByteBuf Slice containing the UDP Packet
- fpId
FlowPacket-UUID this Flow arrived on
- uptime
Millis since UNIX Epoch when the exporting device/sender booted
- timestamp
LocalDateTime when this flow was exported
- samplingInterval
Interval samples are sent
-
def
apply(sender: InetSocketAddress, buf: ByteBuf)(implicit system: ActorSystem): Try[NetFlowV5Packet]
Parse a Version 5 FlowPacket
Parse a Version 5 FlowPacket
- sender
The sender's InetSocketAddress
- buf
Netty ByteBuf containing the UDP Packet
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()