|
SourceForge Jpcap | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Packet | |
---|---|
net.sourceforge.jpcap.capture | Provides an interface for capturing packets and a layer of abstraction around libpcap, a portable native system library for capturing network packets. |
net.sourceforge.jpcap.client | Provides sample 'client' applications which utilize the services provided by classes in the capture package. |
net.sourceforge.jpcap.net | Provides a hierarchical inheritance-based library of network packet types and protocols. |
Uses of Packet in net.sourceforge.jpcap.capture |
---|
Methods in net.sourceforge.jpcap.capture that return Packet | |
---|---|
Packet |
PacketCapture.captureNext()
Return the next packet captured. |
abstract Packet |
PacketInputStream.readPacket()
Read a Packet from the network or savefile, depending on how the stream was constructed. |
Methods in net.sourceforge.jpcap.capture with parameters of type Packet | |
---|---|
boolean |
JWinPcap.isFilteredOffline(CompiledFilter filter,
Packet packet)
Return true iff the specified filter would filter the specified packet. |
void |
PacketListener.packetArrived(Packet packet)
Callback, called when PacketCapture.capture(int) captures a packet. |
void |
JWinPcapTest.packetArrived(Packet packet)
|
void |
CaptureTest.packetArrived(Packet packet)
|
abstract void |
PacketOutputStream.writePacket(Packet packet)
Write a packet, by either: sending it to the network, or dumping it to a tcpdump-formatted output file, depending on how the stream was created. |
Uses of Packet in net.sourceforge.jpcap.client |
---|
Methods in net.sourceforge.jpcap.client that return Packet | |
---|---|
Packet |
CaptureHistory.get(int index)
Fetch a packet from a specific location in the history. |
Methods in net.sourceforge.jpcap.client with parameters of type Packet | |
---|---|
boolean |
CaptureHistory.add(Packet packet)
Add the most recent packet to the history collection. |
void |
CaptureTool.packetArrived(Packet packet)
|
void |
CaptureViewFrame.update(Packet packet)
Update a single packet in the view. |
Constructors in net.sourceforge.jpcap.client with parameters of type Packet | |
---|---|
CommRenderer(Canvas canvas,
Packet packet,
HostRenderer hostA,
HostRenderer hostB,
String description,
int index)
Create a new communication renderer. |
Uses of Packet in net.sourceforge.jpcap.net |
---|
Subclasses of Packet in net.sourceforge.jpcap.net | |
---|---|
class |
ARPPacket
An ARP protocol packet. |
static class |
CDP.Packet
CDP Packet class. |
static class |
DTP.Packet
DTP packet class. |
class |
EthernetPacket
An Ethernet packet. |
class |
ICMPPacket
An ICMP packet. |
class |
IGMPPacket
An IGMP packet. |
static class |
IP.Packet
Base IP packet class. |
class |
IPPacket
An IP protocol packet. |
static class |
IPv4.Packet
Base IPv4 packet class. |
static class |
IPv4.TCP.Packet
TCP/IPv4 packet class. |
static class |
IPv4.UDP.Packet
|
static class |
ISL.Packet
ISL Packet class. |
static class |
STP.Packet
Encapsulates an Ethernet 802.3 Spanning Tree Protocol (STP) packet. |
class |
TCPPacket
A TCP packet. |
class |
UDPPacket
A UDP packet. |
Fields in net.sourceforge.jpcap.net with type parameters of type Packet | |
---|---|
protected static Map<String,Constructor<? extends Packet>> |
PacketFactory.classes
|
Methods in net.sourceforge.jpcap.net that return Packet | |
---|---|
protected Packet |
PacketFactory.createPacket(int linkType,
ByteBuffer bb,
Timeval tv)
Returns a Packet object for the specified linkType and data. |
protected static Packet |
PacketFactory.createPacket(String key,
int lLen,
ByteBuffer bb,
Timeval tv)
Create a packet given a properties-file key. |
protected Packet |
PacketFactory.createUnknownPacket(int lLen,
ByteBuffer bb,
Timeval tv)
Return a Packet object for an unknown packet format. |
static Packet |
PacketFactory.dataToPacket(int linkType,
byte[] bytes)
Convert captured packet data into an object. |
static Packet |
PacketFactory.dataToPacket(int linkType,
byte[] bytes,
Timeval tv)
Convert captured packet data into an object. |
static Packet |
SNAP.PacketFactory.dataToPacket(int lLen,
ByteBuffer bb,
Timeval tv)
|
static Packet |
PacketFactory.dataToPacket(int linkType,
ByteBuffer bb,
Timeval tv)
Convert captured packet data into an object. |
static Packet |
LLC.PacketFactory.dataToPacket(int lLen,
ByteBuffer bb,
Timeval tv)
|
|
Copyright © Patrick Charles & Jonas Lehmann, 2001; Esmond Pitt, 2008. | |||||||||
PREV NEXT | FRAMES NO FRAMES |