object NetFlowV1Packet extends Serializable
NetFlow Version 1
*-------*---------------*------------------------------------------------------*
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 |
---|
*-------*---------------*------------------------------------------------------*
- Alphabetic
- By Inheritance
- NetFlowV1Packet
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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): Option[NetFlowV1]
Parse a Version 1 Flow
Parse a Version 1 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
- def apply(sender: InetSocketAddress, buf: ByteBuf): Try[NetFlowV1Packet]
Parse a Version 1 FlowPacket
Parse a Version 1 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(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()