SourceForge Jpcap

Package net.sourceforge.jpcap.net

Provides a hierarchical inheritance-based library of network packet types and protocols.

See:
          Description

Interface Summary
ARPFields IP protocol field encoding information.
CDP Cisco Discovery Protocol (CDP).
DTP DTP - Dynamic Trunking Protocol
EthernetFields Ethernet protocol field encoding information.
EthernetProtocols Code constants for well-defined ethernet protocols.
ICMPFields ICMP protocol field encoding information.
ICMPMessages Code constants for ICMP message types.
IGMPFields IGMP protocol field encoding information.
IGMPMessages Code constants for IGMP message types.
IP IP interface.
IP.ICMP ICMP (Internet Control Message Protocol) API interface.
IP.TCP TCP (Transmission Control Protocol) API interface.
IP.UDP UDP (User Datagram Protocol) API interface.
IPFields IP protocol field encoding information.
IPPorts Code constants for ip ports.
IPProtocols Code constants for well-defined IP protocols.
IPv4 IPv4 interface.
IPv4.IGMP IGMP (Internet Group Management Protocol) API interface.
IPv4.TCP TCP/IPv4 interface.
IPv4.UDP  
IPVersions Code constants for internet protocol versions.
ISL ISL (Inter-Switch Link) protocol.
LinkLayers Link-layer type codes.
LLC  
SNAP SNAP interface definitions.
STP Ethernet 802.3 Spanning Tree Protocol (STP).
TCPFields IP protocol field encoding information.
TypesOfService Type of service code constants for IP.
UDPFields IP protocol field encoding information.
 

Class Summary
ARPPacket An ARP protocol packet.
CDP.Packet CDP Packet class.
DTP.Packet DTP packet class.
EthernetPacket An Ethernet packet.
EthernetPacketTest  
EthernetProtocol Ethernet protocol utility class.
ICMPMessage ICMP message utility class.
ICMPPacket An ICMP packet.
IGMPMessage IGMP message utility class.
IGMPPacket An IGMP packet.
IP.Packet Base IP packet class.
IPAddress IP address.
IPPacket An IP protocol packet.
IPPacketTest  
IPPort IP port utility class.
IPProtocol IPProtocol utility class.
IPv4.Packet Base IPv4 packet class.
IPv4.PacketFactory IPv4 PacketFactory class.
IPv4.TCP.Packet TCP/IPv4 packet class.
IPv4.UDP.Packet  
IPv4.UDP.PacketFactory  
ISL.Packet ISL Packet class.
LinkLayer Information about network link layers.
LLC.PacketFactory  
MACAddress MAC address.
Packet A network packet.
PacketEncoding Packet encoding.
PacketEncodingTest  
PacketFactory This factory constructs high-level packet objects from captured data streams.
RawPacket A captured packet containing raw data.
SNAP.PacketFactory Packet factory
STP.Packet Encapsulates an Ethernet 802.3 Spanning Tree Protocol (STP) packet.
TCPPacket A TCP packet.
TCPPacketTest  
UDPPacket A UDP packet.
 

Package net.sourceforge.jpcap.net Description

Provides a hierarchical inheritance-based library of network packet types and protocols.

On an ethernet network, data is nested and encapsulated in headers. For example, an ethernet link-level header might encapsulate an IP or ARP header. An IP header can encapsulate a UDP datagram which contains a DNS protocol message.

In this package, the relationships between these packet types are expressed via inheritance and the individual packet classes encapsulate the details of each specific protocol.

The class PacketFactory converts raw byte data into packet instances.

Other utility classes in this package provide store the many port numbers, message types and codes associated with different protocols.


Copyright © Patrick Charles & Jonas Lehmann, 2001; Esmond Pitt, 2008.