package pcap
Protocol that describes libpcap files.
- Source
- package.scala
- See also
http://wiki.wireshark.org/Development/LibpcapFileFormat
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- pcap
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class CaptureFile(header: GlobalHeader, records: Vector[Record]) extends Product with Serializable
-
case class
EthernetFrameHeader(destination: MacAddress, source: MacAddress, ethertypeOrLength: Int) extends Product with Serializable
Header of an ethernet frame as captured in a pcap file.
- case class GlobalHeader(ordering: ByteOrdering, versionMajor: Int, versionMinor: Int, thiszone: Int, sigfigs: Long, snaplen: Long, network: LinkType) extends Product with Serializable
-
sealed
trait
LinkType extends AnyRef
Describes the link layer type in a PCAP capture.
Describes the link layer type in a PCAP capture.
- See also
http://www.tcpdump.org/linktypes.html
- case class Record(header: RecordHeader, data: BitVector) extends Product with Serializable
- case class RecordHeader(timestampSeconds: Long, timestampMicros: Long, includedLength: Long, originalLength: Long) extends Product with Serializable
Value Members
- 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]
- object CaptureFile extends Serializable
- object EtherType
- object EthernetFrameHeader extends Serializable
- object GlobalHeader extends Serializable
-
object
LinkType
Companion for LinkType.
- object Record extends Serializable
- object RecordHeader extends Serializable