| Package | Description |
|---|---|
| io.pkts.frame | |
| io.pkts.packet.impl |
| Modifier and Type | Method and Description |
|---|---|
static PcapRecordHeader |
PcapRecordHeader.createDefaultHeader(long timestamp)
Create a default record header, which you must alter later on to match
whatever it is you are writing into the pcap stream.
|
| Constructor and Description |
|---|
PCapPacketImpl(PcapGlobalHeader pcapGlobalHeader,
PcapRecordHeader header,
Buffer payload)
Constructor which uses the PCAP file's global header to support more than just Ethernet link layers
|
PCapPacketImpl(PcapRecordHeader header,
Buffer payload)
Constructor which assumes an Ethernet link layer.
|
Copyright © 2021. All Rights Reserved.