| Package | Description |
|---|---|
| io.pkts.framer | |
| io.pkts.packet | |
| io.pkts.packet.impl |
| Modifier and Type | Method and Description |
|---|---|
PCapPacket |
PcapFramer.frame(Packet parent,
Buffer buffer)
Ask the framer to frame the buffer into a packet.
|
| Modifier and Type | Method and Description |
|---|---|
MACPacket |
EthernetFramer.frame(PCapPacket parent,
Buffer buffer)
Ask the framer to frame the buffer into a packet.
|
MACPacket |
SllFramer.frame(PCapPacket parent,
Buffer buffer)
Ask the framer to frame the buffer into a packet.
|
| Modifier and Type | Method and Description |
|---|---|
PCapPacket |
PCapPacket.clone() |
| Modifier and Type | Class and Description |
|---|---|
class |
PCapPacketImpl
TODO: may rename this to a frame instead since this is a little different
than a "real" protocol packet.
|
| Modifier and Type | Method and Description |
|---|---|
PCapPacket |
PCapPacketImpl.clone() |
| Modifier and Type | Method and Description |
|---|---|
static MACPacketImpl |
MACPacketImpl.create(PCapPacket parent,
Buffer headers)
Creates a new
MACPacketImpl and it assumes ethernet II and it
does not check whether or not the ethertype is a known type. |
| Constructor and Description |
|---|
MACPacketImpl(Protocol protocol,
PCapPacket parent,
Buffer headers,
Buffer payload)
Construct a new
MACPacket based on the supplied headers. |
Copyright © 2021. All Rights Reserved.