public class PcapPacketToKrakenPcapPacketAdapter
extends org.krakenapps.pcap.packet.PcapPacket
PcapPacket
. It may be used as a drop-in replacement
for a Kraken-specific PcapPacket
, i.e. instances of this class may be passed
directly to a Kraken decoder pipeline.
This class is still considered experimental, due to potentially dangerous long->int conversions and
different naming conventions among the utilized libraries.Constructor and Description |
---|
PcapPacketToKrakenPcapPacketAdapter(org.jnetpcap.packet.PcapPacket pcapPacket)
Takes a JNetPcap specific PcapPacket and creates a Kraken header and payload-buffer.
|
Modifier and Type | Method and Description |
---|---|
org.jnetpcap.packet.PcapPacket |
getPcapPacket() |
public PcapPacketToKrakenPcapPacketAdapter(org.jnetpcap.packet.PcapPacket pcapPacket)
pcapPacket
- the JNetPcap packet to adapt into a Kraken packetCopyright © 2013–2015 Institute of networks and security. All rights reserved.