Package | Description |
---|---|
org.pcap4j.packet |
Modifier and Type | Interface and Description |
---|---|
static interface |
IpPacket.IpHeader
The interface representing an IP packet's header.
|
Modifier and Type | Class and Description |
---|---|
static class |
AbstractPacket.AbstractHeader
Abstract immutable header class.
|
static class |
ArpPacket.ArpHeader |
static class |
BsdLoopbackPacket.BsdLoopbackHeader |
static class |
DnsPacket.DnsHeader
DNS header
+---------------------+ | Header | +---------------------+ | Question | the question for the name server +---------------------+ | Answer | RRs answering the question +---------------------+ | Authority | RRs pointing toward an authority +---------------------+ | Additional | RRs holding additional information +---------------------+ Header: 1 1 1 1 1 1 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | ID | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ |QR| Opcode |AA|TC|RD|RA| Z|AD|CD| RCODE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | QDCOUNT | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | ANCOUNT | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | NSCOUNT | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | ARCOUNT | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ |
static class |
Dot11ManagementPacket.Dot11ManagementHeader
Header of IEEE802.11 management frame
0 15 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Frame Control | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Duration | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Address1 | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Address2 | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Address3 | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Sequence Control | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HT Control | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
static class |
Dot11ProbeRequestPacket.Dot11ProbeRequestHeader
Header of IEEE802.11 Probe Request
0 15 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Frame Control | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Duration | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Address1 | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Address2 | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Address3 | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Sequence Control | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HT Control | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Frame Body | | | |
static class |
Dot1qVlanTagPacket.Dot1qVlanTagHeader |
static class |
EthernetPacket.EthernetHeader |
static class |
GtpV1Packet.GtpV1Header
GTPv1 Header
8 7 6 5 4 3 2 1 +-----+-----+-----+-----+-----+-----+-----+-----+ | Version | PT | (*) | E | S | PN | +-----+-----+-----+-----+-----+-----+-----+-----+ | Message Type | +-----+-----+-----+-----+-----+-----+-----+-----+ | Length (1st Octet) | +-----+-----+-----+-----+-----+-----+-----+-----+ | Length (2nd Octet) | +-----+-----+-----+-----+-----+-----+-----+-----+ | Tunnel Endpoint Identifier (1st Octet) | +-----+-----+-----+-----+-----+-----+-----+-----+ | Tunnel Endpoint Identifier (2nd Octet) | +-----+-----+-----+-----+-----+-----+-----+-----+ | Tunnel Endpoint Identifier (3rd Octet) | +-----+-----+-----+-----+-----+-----+-----+-----+ | Tunnel Endpoint Identifier (4th Octet) | +-----+-----+-----+-----+-----+-----+-----+-----+ | Sequence Number (1st Octet) | +-----+-----+-----+-----+-----+-----+-----+-----+ | Sequence Number (2nd Octet) | +-----+-----+-----+-----+-----+-----+-----+-----+ | N-PDU Number | +-----+-----+-----+-----+-----+-----+-----+-----+ | Next Extension Header Type | +-----+-----+-----+-----+-----+-----+-----+-----+ |
static class |
HdlcPppPacket.HdlcPppHeader |
static class |
IcmpV4CommonPacket.IcmpV4CommonHeader |
static class |
IcmpV4DestinationUnreachablePacket.IcmpV4DestinationUnreachableHeader |
static class |
IcmpV4EchoPacket.IcmpV4EchoHeader |
static class |
IcmpV4EchoReplyPacket.IcmpV4EchoReplyHeader |
static class |
IcmpV4InformationReplyPacket.IcmpV4InformationReplyHeader |
static class |
IcmpV4InformationRequestPacket.IcmpV4InformationRequestHeader |
static class |
IcmpV4ParameterProblemPacket.IcmpV4ParameterProblemHeader |
static class |
IcmpV4RedirectPacket.IcmpV4RedirectHeader |
static class |
IcmpV4SourceQuenchPacket.IcmpV4SourceQuenchHeader |
static class |
IcmpV4TimeExceededPacket.IcmpV4TimeExceededHeader |
static class |
IcmpV4TimestampPacket.IcmpV4TimestampHeader |
static class |
IcmpV4TimestampReplyPacket.IcmpV4TimestampReplyHeader |
static class |
IcmpV6CommonPacket.IcmpV6CommonHeader |
static class |
IcmpV6DestinationUnreachablePacket.IcmpV6DestinationUnreachableHeader |
static class |
IcmpV6EchoReplyPacket.IcmpV6EchoReplyHeader |
static class |
IcmpV6EchoRequestPacket.IcmpV6EchoRequestHeader |
static class |
IcmpV6NeighborAdvertisementPacket.IcmpV6NeighborAdvertisementHeader |
static class |
IcmpV6NeighborSolicitationPacket.IcmpV6NeighborSolicitationHeader |
static class |
IcmpV6PacketTooBigPacket.IcmpV6PacketTooBigHeader |
static class |
IcmpV6ParameterProblemPacket.IcmpV6ParameterProblemHeader |
static class |
IcmpV6RedirectPacket.IcmpV6RedirectHeader |
static class |
IcmpV6RouterAdvertisementPacket.IcmpV6RouterAdvertisementHeader |
static class |
IcmpV6RouterSolicitationPacket.IcmpV6RouterSolicitationHeader |
static class |
IcmpV6TimeExceededPacket.IcmpV6TimeExceededHeader |
static class |
IpV4Packet.IpV4Header |
static class |
IpV6ExtDestinationOptionsPacket.IpV6ExtDestinationOptionsHeader |
static class |
IpV6ExtFragmentPacket.IpV6ExtFragmentHeader |
static class |
IpV6ExtHopByHopOptionsPacket.IpV6ExtHopByHopOptionsHeader |
static class |
IpV6ExtOptionsPacket.IpV6ExtOptionsHeader |
static class |
IpV6ExtRoutingPacket.IpV6ExtRoutingHeader |
static class |
IpV6ExtUnknownPacket.IpV6ExtUnknownHeader |
static class |
IpV6Packet.IpV6Header |
static class |
LinuxSllPacket.LinuxSllHeader |
static class |
LlcPacket.LlcHeader
LLC (Logical Link Control) Header
|
static class |
PppPacket.PppHeader |
static class |
RadiotapPacket.RadiotapHeader
Radiotap Header + Extended presence masks + Radiotap fields
|
static class |
SctpPacket.SctpHeader
SCTP header
0 16 31 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Src Port | Dst Port | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Verification Tag | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Checksum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Chunk #1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... |
static class |
SnapPacket.SnapHeader
SNAP (Subnetwork Access Protocol) Header
|
static class |
Ssh2BinaryPacket.Ssh2BinaryHeader |
static class |
Ssh2DebugPacket.Ssh2DebugHeader |
static class |
Ssh2DisconnectPacket.Ssh2DisconnectHeader |
static class |
Ssh2IgnorePacket.Ssh2IgnoreHeader |
static class |
Ssh2KexDhInitPacket.Ssh2KexDhInitHeader |
static class |
Ssh2KexDhReplyPacket.Ssh2KexDhReplyHeader |
static class |
Ssh2KexInitPacket.Ssh2KexInitHeader |
static class |
Ssh2NewKeysPacket.Ssh2NewKeysHeader |
static class |
Ssh2ServiceAcceptPacket.Ssh2ServiceAcceptHeader |
static class |
Ssh2ServiceRequestPacket.Ssh2ServiceRequestHeader |
static class |
Ssh2UnimplementedPacket.Ssh2UnimplementedHeader |
static class |
Ssh2VersionExchangePacket.Ssh2VersionExchangeHeader |
static class |
TcpPacket.TcpHeader |
static class |
UdpPacket.UdpHeader |
Modifier and Type | Method and Description |
---|---|
Packet.Header |
Packet.getHeader()
Returns the Header object representing this packet's header.
|
Packet.Header |
AbstractPacket.getHeader()
Returns the Header object representing this packet's header.
|
Copyright © 2011–2018 Pcap4J.org. All rights reserved.