fs2.protocols.pcap

Protocol that describes libpcap files.

See also:

Type members

Classlikes

case class CaptureFile(header: GlobalHeader, records: Vector[Record])
Companion:
object
Source:
CaptureFile.scala
Companion:
class
Source:
CaptureFile.scala
case class GlobalHeader(ordering: ByteOrdering, versionMajor: Int, versionMinor: Int, thiszone: Int, sigfigs: Long, snaplen: Long, network: LinkType)
Companion:
object
Source:
GlobalHeader.scala
Companion:
class
Source:
GlobalHeader.scala
sealed trait LinkType

Describes the link layer type in a PCAP capture.

Describes the link layer type in a PCAP capture.

See also:
Companion:
object
Source:
LinkType.scala
object LinkType

Companion for LinkType.

Companion for LinkType.

Companion:
class
Source:
LinkType.scala
case class Record(header: RecordHeader, data: BitVector)
Companion:
object
Source:
Record.scala
object Record
Companion:
class
Source:
Record.scala
case class RecordHeader(timestampSeconds: Long, timestampMicros: Long, includedLength: Long, originalLength: Long)
Companion:
object
Source:
RecordHeader.scala
Companion:
class
Source:
RecordHeader.scala

Value members

Concrete methods

def gint16(implicit ordering: ByteOrdering): Codec[Int]
def gint32(implicit ordering: ByteOrdering): Codec[Int]
def guint16(implicit ordering: ByteOrdering): Codec[Int]
def guint32(implicit ordering: ByteOrdering): Codec[Long]