| Modifier and Type | Method and Description |
|---|---|
boolean |
PacketHandler.nextPacket(Packet packet)
|
void |
PcapOutputStream.write(Packet packet)
Write a
Packet to the outputstream. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SipFilter.accept(Packet packet)
Check whether this filter accepts the frame or not.
|
boolean |
SipHeaderFilter.accept(Packet packet)
Check whether this filter accepts the frame or not.
|
boolean |
Filter.accept(Packet packet)
Check whether this filter accepts the frame or not.
|
boolean |
SipCallIdFilter.accept(Packet packet)
Check whether this filter accepts the frame or not.
|
| Modifier and Type | Method and Description |
|---|---|
Packet |
Frame.parse()
A frame has not fully parsed the data but only enough so it can find the
boundary between the headers and its payload.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Framer<P extends Packet,T extends Packet>
Simple interface for framers.
|
interface |
Framer<P extends Packet,T extends Packet>
Simple interface for framers.
|
| Modifier and Type | Method and Description |
|---|---|
IPv4Packet |
IPv4Framer.frame(Packet parent,
Buffer payload)
Ask the framer to frame the buffer into a packet.
|
PCapPacket |
PcapFramer.frame(Packet parent,
Buffer buffer)
Ask the framer to frame the buffer into a packet.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IPPacket
Represents a packet from the Network Layer (layer 3).
|
interface |
IPv4Packet
Represents a packet from the Network Layer (layer 3).
|
interface |
IPv6Packet |
interface |
MACPacket
Represents a packet from the Data Link Layer (DLL - Layer 2 in the OSI
model).
|
interface |
PCapPacket |
interface |
SDPPacket |
interface |
TCPPacket |
interface |
TransportPacket
Represents a Transport packet (Layer 4 in the OSI)
|
interface |
UDPPacket |
| Modifier and Type | Method and Description |
|---|---|
Packet |
Packet.clone() |
Packet |
Packet.getNextPacket()
Get the next frame, or null if there is none.
|
Packet |
Packet.getPacket(Protocol p)
Find the packet for protocol p.
|
Packet |
Packet.getParentPacket()
Almost all packets have a parent, which is the encapsulating protocol.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ApplicationPacket
Represents a packet from the Application Layer (layer 7) in the OSI model.
|
interface |
UnknownApplicationPacket
Marker interface for those
ApplicationPackets we were unable to
figure out what protocol they are. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractApplicationPacket |
class |
AbstractPacket
ALL packets within pkts.io must implement this
AbstractPacket. |
class |
IPv4PacketImpl |
class |
IPv6PacketImpl |
class |
MACPacketImpl |
class |
PCapPacketImpl
TODO: may rename this to a frame instead since this is a little different
than a "real" protocol packet.
|
class |
SDPPacketImpl |
class |
TcpPacketImpl |
class |
TransportPacketImpl |
class |
UdpPacketImpl |
class |
UnknownApplicationPacketImpl |
| Modifier and Type | Method and Description |
|---|---|
Packet |
AbstractPacket.checkParent(Protocol p) |
abstract Packet |
AbstractPacket.clone() |
Packet |
PCapPacketImpl.getNextPacket() |
Packet |
TransportPacketImpl.getNextPacket() |
Packet |
UnknownApplicationPacketImpl.getNextPacket() |
Packet |
SDPPacketImpl.getNextPacket() |
Packet |
IPv4PacketImpl.getNextPacket() |
Packet |
IPv6PacketImpl.getNextPacket() |
Packet |
AbstractPacket.getPacket(Protocol p) |
Packet |
AbstractPacket.getParentPacket() |
| Constructor and Description |
|---|
AbstractPacket(Protocol p,
Packet parent,
Buffer payload) |
IPv4PacketImpl(Packet parent,
Buffer headers,
int options,
Buffer payload) |
IPv6PacketImpl(Packet parent,
Buffer headers,
int nextProtocol,
Buffer payload) |
SDPPacketImpl(Packet parent,
SDP actualSDP) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
RtcpPacket |
| Modifier and Type | Class and Description |
|---|---|
class |
RtcpPacketImpl |
| Modifier and Type | Method and Description |
|---|---|
Packet |
RtcpPacketImpl.getNextPacket()
Get the next frame, or null if there is none.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
RtpPacket |
| Modifier and Type | Class and Description |
|---|---|
class |
RtpPacketImpl |
| Modifier and Type | Method and Description |
|---|---|
Packet |
RtpPacketImpl.getNextPacket() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SctpPacket |
| Modifier and Type | Class and Description |
|---|---|
class |
SctpPacketImpl |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SipPacket
Packet representing a SIP message.
|
interface |
SipRequestPacket |
interface |
SipResponsePacket |
| Modifier and Type | Class and Description |
|---|---|
class |
SipPacketImpl |
class |
SipRequestPacketImpl |
class |
SipResponsePacketImpl |
| Modifier and Type | Method and Description |
|---|---|
Packet |
SipPacketImpl.getNextPacket() |
Copyright © 2021. All Rights Reserved.