A B C D E F G H I J L M N O P R S T U V W 
All Classes All Packages

A

ack - Variable in class jpcap.packet.TCPPacket
ACK flag
ack_num - Variable in class jpcap.packet.TCPPacket
ACK number
addr_entry_size - Variable in class jpcap.packet.ICMPPacket
Address entry size
addr_num - Variable in class jpcap.packet.ICMPPacket
The number of advertised addresses
address - Variable in class jpcap.NetworkInterfaceAddress
Address of the network interface
addresses - Variable in class jpcap.NetworkInterface
Network addresses assigned the network interface.
addrs - Variable in class jpcap.packet.IPv6Option
Route addresses (Routing option)
AH_OPTION - Static variable in class jpcap.packet.IPv6Option
Authentication option
alive_time - Variable in class jpcap.packet.ICMPPacket
Address alive time
ARP_REPLY - Static variable in class jpcap.packet.ARPPacket
ARP reply
ARP_REQUEST - Static variable in class jpcap.packet.ARPPacket
ARP request
ARPPacket - Class in jpcap.packet
This class represents ARP/RARP packet.
ARPPacket() - Constructor for class jpcap.packet.ARPPacket
 

B

breakLoop() - Method in class jpcap.JpcapCaptor
Set a flag that will force processPacket() and loopPacket() to return rather than looping.
broadcast - Variable in class jpcap.NetworkInterfaceAddress
Broadcast address of the network interface.

C

caplen - Variable in class jpcap.packet.Packet
Captured length
checksum - Variable in class jpcap.packet.ICMPPacket
Checksum
close() - Method in class jpcap.JpcapCaptor
Closes the opened interface of dump file.
close() - Method in class jpcap.JpcapSender
Closes the interface.
close() - Method in class jpcap.JpcapWriter
Closes the opened file.
code - Variable in class jpcap.packet.ICMPPacket
ICMP code

D

d_flag - Variable in class jpcap.packet.IPPacket
IP flag bit: [D]elay (v4)
data - Variable in class jpcap.packet.Packet
Packet data (excluding the header)
datalink - Variable in class jpcap.packet.Packet
Datalink layer header
datalink_description - Variable in class jpcap.NetworkInterface
Description about the datalink of the network interface.
datalink_name - Variable in class jpcap.NetworkInterface
Name of the datalink of the network interface
DatalinkPacket - Class in jpcap.packet
This class represents datalink layer packet.
DatalinkPacket() - Constructor for class jpcap.packet.DatalinkPacket
 
description - Variable in class jpcap.NetworkInterface
Description about the network interface (e.g., "3Com ...").
destination - Variable in class jpcap.NetworkInterfaceAddress
Destination address of the network interface (for P2P connection).
DESTINATION_OPTION - Static variable in class jpcap.packet.IPv6Option
Destination option
dispatchPacket(int, PacketReceiver) - Method in class jpcap.JpcapCaptor
Deprecated.
dont_frag - Variable in class jpcap.packet.IPPacket
Don't fragment flag (v4)
dropped_packets - Variable in class jpcap.JpcapCaptor
Number of dropped packets
dst_ip - Variable in class jpcap.packet.IPPacket
Destination IP address
dst_mac - Variable in class jpcap.packet.EthernetPacket
Destination MAC address (6byte)
dst_port - Variable in class jpcap.packet.TCPPacket
Destination port number
dst_port - Variable in class jpcap.packet.UDPPacket
Destination port number

E

EOF - Static variable in class jpcap.packet.Packet
Returned by JpcapCaptor.getPacket() when EOF was reached while reading from an offline file.
ESP_OPTION - Static variable in class jpcap.packet.IPv6Option
Security payload option
EthernetPacket - Class in jpcap.packet
This class represents Ethernet packet.
EthernetPacket() - Constructor for class jpcap.packet.EthernetPacket
 
ETHERTYPE_ARP - Static variable in class jpcap.packet.EthernetPacket
Addr.
ETHERTYPE_IP - Static variable in class jpcap.packet.EthernetPacket
IP protocol
ETHERTYPE_IPV6 - Static variable in class jpcap.packet.EthernetPacket
IPv6
ETHERTYPE_LOOPBACK - Static variable in class jpcap.packet.EthernetPacket
used to test interfaces
ETHERTYPE_PUP - Static variable in class jpcap.packet.EthernetPacket
PUP protocol
ETHERTYPE_REVARP - Static variable in class jpcap.packet.EthernetPacket
reverse Addr.
ETHERTYPE_VLAN - Static variable in class jpcap.packet.EthernetPacket
IEEE 802.1Q VLAN tagging

F

fin - Variable in class jpcap.packet.TCPPacket
FIN flag
flow_label - Variable in class jpcap.packet.IPPacket
Flow label (v6)
FRAGMENT_OPTION - Static variable in class jpcap.packet.IPv6Option
Fragment option
frametype - Variable in class jpcap.packet.EthernetPacket
Frame type

G

getDestinationAddress() - Method in class jpcap.packet.EthernetPacket
Returns the MAC address of the destination.
getDeviceList() - Static method in class jpcap.JpcapCaptor
Returns the interfaces that can be used for capturing.
getErrorMessage() - Method in class jpcap.JpcapCaptor
Returns an error message
getJpcapSenderInstance() - Method in class jpcap.JpcapCaptor
Obtains an instance of JpcapSender that uses the same interface to send packets.
getPacket() - Method in class jpcap.JpcapCaptor
Captures a single packet.
getPacketReadTimeout() - Method in class jpcap.JpcapCaptor
Returns the socket read timeout (SO_RCVTIMEO) for the socket used to read packets from the kernel.
getSenderHardwareAddress() - Method in class jpcap.packet.ARPPacket
Returns the hardware address (MAC address) of the sender.
getSenderProtocolAddress() - Method in class jpcap.packet.ARPPacket
Returns the protocol address of the sender.
getSourceAddress() - Method in class jpcap.packet.EthernetPacket
Returns the MAC address of the source.
getTargetHardwareAddress() - Method in class jpcap.packet.ARPPacket
Returns the hardware address (MAC address) of the target.
getTargetProtocolAddress() - Method in class jpcap.packet.ARPPacket
Returns the protocol address of the target.

H

hardtype - Variable in class jpcap.packet.ARPPacket
Hardware type
HARDTYPE_ETHER - Static variable in class jpcap.packet.ARPPacket
Hardware type: Ethernet
HARDTYPE_FRAMERELAY - Static variable in class jpcap.packet.ARPPacket
Hardware type: Frame relay
HARDTYPE_IEEE802 - Static variable in class jpcap.packet.ARPPacket
Hardware type: Token ring
header - Variable in class jpcap.packet.Packet
Header data
hlen - Variable in class jpcap.packet.ARPPacket
Hardware address length
hlen - Variable in class jpcap.packet.IPv6Option
Header length
HOP_BY_HOP_OPTION - Static variable in class jpcap.packet.IPv6Option
Hop by hop option
hop_left - Variable in class jpcap.packet.IPv6Option
Hop number left (Routing option)
hop_limit - Variable in class jpcap.packet.IPPacket
Hop Limit, Time To Live (TTL) (v4/v6)

I

ICMP_ECHO - Static variable in class jpcap.packet.ICMPPacket
echo request
ICMP_ECHOREPLY - Static variable in class jpcap.packet.ICMPPacket
echo reply
ICMP_IREQ - Static variable in class jpcap.packet.ICMPPacket
information request
ICMP_IREQREPLY - Static variable in class jpcap.packet.ICMPPacket
information reply
ICMP_MASKREPLY - Static variable in class jpcap.packet.ICMPPacket
address mask reply
ICMP_MASKREQ - Static variable in class jpcap.packet.ICMPPacket
address mask request
ICMP_PARAMPROB - Static variable in class jpcap.packet.ICMPPacket
ip header bad
ICMP_PARAMPROB_ERRATPTR - Static variable in class jpcap.packet.ICMPPacket
ip header bad code: error at param ptr
ICMP_PARAMPROB_LENGTH - Static variable in class jpcap.packet.ICMPPacket
ip header bad code: bad length
ICMP_PARAMPROB_OPTABSENT - Static variable in class jpcap.packet.ICMPPacket
ip header bad code: req.
ICMP_REDIRECT - Static variable in class jpcap.packet.ICMPPacket
redirect
ICMP_REDIRECT_HOST - Static variable in class jpcap.packet.ICMPPacket
redirect code: for host
ICMP_REDIRECT_NET - Static variable in class jpcap.packet.ICMPPacket
redirect code: for network
ICMP_REDIRECT_TOSHOST - Static variable in class jpcap.packet.ICMPPacket
redirect code: for tos and host
ICMP_REDIRECT_TOSNET - Static variable in class jpcap.packet.ICMPPacket
redirect code: for tos and net
ICMP_ROUTERADVERT - Static variable in class jpcap.packet.ICMPPacket
router advertisement
ICMP_ROUTERSOLICIT - Static variable in class jpcap.packet.ICMPPacket
router solicitation
ICMP_SOURCEQUENCH - Static variable in class jpcap.packet.ICMPPacket
packet lost, slow down
ICMP_TIMXCEED - Static variable in class jpcap.packet.ICMPPacket
time exceeded
ICMP_TIMXCEED_INTRANS - Static variable in class jpcap.packet.ICMPPacket
time exceeded code: ttl==0 in transit
ICMP_TIMXCEED_REASS - Static variable in class jpcap.packet.ICMPPacket
time exceeded code: ttl==0 in reass
ICMP_TSTAMP - Static variable in class jpcap.packet.ICMPPacket
timestamp request
ICMP_TSTAMPREPLY - Static variable in class jpcap.packet.ICMPPacket
timestamp reply
ICMP_UNREACH - Static variable in class jpcap.packet.ICMPPacket
dest unreachable
ICMP_UNREACH_FILTER_PROHIB - Static variable in class jpcap.packet.ICMPPacket
dest unreachable code: admin prohib
ICMP_UNREACH_HOST - Static variable in class jpcap.packet.ICMPPacket
dest unreachable code: bad host
ICMP_UNREACH_HOST_PRECEDENCE - Static variable in class jpcap.packet.ICMPPacket
dest unreachable code: host prec vio.
ICMP_UNREACH_HOST_PROHIB - Static variable in class jpcap.packet.ICMPPacket
dest unreachable code: ditto
ICMP_UNREACH_HOST_UNKNOWN - Static variable in class jpcap.packet.ICMPPacket
dest unreachable code: unknown host
ICMP_UNREACH_ISOLATED - Static variable in class jpcap.packet.ICMPPacket
dest unreachable code: src host isolated
ICMP_UNREACH_NEEDFRAG - Static variable in class jpcap.packet.ICMPPacket
dest unreachable code: IP_DF caused drop
ICMP_UNREACH_NET - Static variable in class jpcap.packet.ICMPPacket
dest unreachable code: bad net
ICMP_UNREACH_NET_PROHIB - Static variable in class jpcap.packet.ICMPPacket
dest unreachable code: prohibited access
ICMP_UNREACH_NET_UNKNOWN - Static variable in class jpcap.packet.ICMPPacket
dest unreachable code: unknown net
ICMP_UNREACH_PORT - Static variable in class jpcap.packet.ICMPPacket
dest unreachable code: bad port
ICMP_UNREACH_PRECEDENCE_CUTOFF - Static variable in class jpcap.packet.ICMPPacket
dest unreachable code: prec cutoff
ICMP_UNREACH_PROTOCOL - Static variable in class jpcap.packet.ICMPPacket
dest unreachable code: bad protocol
ICMP_UNREACH_SRCFAIL - Static variable in class jpcap.packet.ICMPPacket
dest unreachable code: src route failed
ICMP_UNREACH_TOSHOST - Static variable in class jpcap.packet.ICMPPacket
dest unreachable code: bad tos for host
ICMP_UNREACH_TOSNET - Static variable in class jpcap.packet.ICMPPacket
dest unreachable code: bad tos for net
ICMPPacket - Class in jpcap.packet
This class represents ICMP packet.
ICMPPacket() - Constructor for class jpcap.packet.ICMPPacket
 
id - Variable in class jpcap.packet.ICMPPacket
ID
ident - Variable in class jpcap.packet.IPPacket
IDENTIFICATION (v4)
identification - Variable in class jpcap.packet.IPv6Option
Identification (fragment option)
INV_REPLY - Static variable in class jpcap.packet.ARPPacket
Identify peer response
INV_REQUEST - Static variable in class jpcap.packet.ARPPacket
Identify peer request
ippacket - Variable in class jpcap.packet.ICMPPacket
Returned IP packet
IPPacket - Class in jpcap.packet
This class represents an IP packet.
IPPacket() - Constructor for class jpcap.packet.IPPacket
 
IPPROTO_HOPOPT - Static variable in class jpcap.packet.IPPacket
Protocol number for IPv6 hop-by-hop option
IPPROTO_ICMP - Static variable in class jpcap.packet.IPPacket
Protocol number for ICMP
IPPROTO_IGMP - Static variable in class jpcap.packet.IPPacket
Protocol number for IGMP
IPPROTO_IP - Static variable in class jpcap.packet.IPPacket
Protocol number for IP in IP
IPPROTO_IPv6 - Static variable in class jpcap.packet.IPPacket
Protocol number for IPv6
IPPROTO_IPv6_Frag - Static variable in class jpcap.packet.IPPacket
Protocol number for fragment header for IPv6
IPPROTO_IPv6_ICMP - Static variable in class jpcap.packet.IPPacket
Protocol number for IPv6 ICMP
IPPROTO_IPv6_NoNxt - Static variable in class jpcap.packet.IPPacket
Protocol number for no next header header for IPv6
IPPROTO_IPv6_Opts - Static variable in class jpcap.packet.IPPacket
Protocol number for destination option for IPv6
IPPROTO_IPv6_Route - Static variable in class jpcap.packet.IPPacket
Protocol number for routing header for IPv6
IPPROTO_TCP - Static variable in class jpcap.packet.IPPacket
Protocol number for TCP
IPPROTO_UDP - Static variable in class jpcap.packet.IPPacket
Protocol number for UDP
IPv6Option - Class in jpcap.packet
This class represents IPv6 option headers.
IPv6Option() - Constructor for class jpcap.packet.IPv6Option
 
isNonBlockinMode() - Method in class jpcap.JpcapCaptor
Checks if the current setting is in "non-blocking" mode or not.

J

jpcap - package jpcap
Provides classes and interfaces for capturing packets from a network interface, sending packets to a network interface, reading packets from a file, and writing packets to a local file.
jpcap.packet - package jpcap.packet
Provides classes to represent various packets.
JpcapCaptor - Class in jpcap
This class is used to capture packets or read packets from a captured file.
JpcapSender - Class in jpcap
This class is used to send a packet.
JpcapWriter - Class in jpcap
This class is used to save the captured packets into a file.

L

len - Variable in class jpcap.packet.Packet
Length of this packet
length - Variable in class jpcap.packet.IPPacket
Packet length (v4/v6)
length - Variable in class jpcap.packet.UDPPacket
packet length
loopback - Variable in class jpcap.NetworkInterface
TRUE if this is a loopback interface
loopPacket(int, PacketReceiver) - Method in class jpcap.JpcapCaptor
Captures the specified number of packets consecutively.

M

m_flag - Variable in class jpcap.packet.IPv6Option
More flag (fragment option)
mac_address - Variable in class jpcap.NetworkInterface
Ethernet MAC address of the network interface
more_frag - Variable in class jpcap.packet.IPPacket
More fragment flag (v4)
mtu - Variable in class jpcap.packet.ICMPPacket
MTU

N

name - Variable in class jpcap.NetworkInterface
Name of the network interface
NetworkInterface - Class in jpcap
This class represents a network interface.
NetworkInterface(String, String, boolean, String, String, byte[], NetworkInterfaceAddress[]) - Constructor for class jpcap.NetworkInterface
 
NetworkInterfaceAddress - Class in jpcap
This class represents a network address assigned to a network interface.
NetworkInterfaceAddress(byte[], byte[], byte[], byte[]) - Constructor for class jpcap.NetworkInterfaceAddress
 
next_header - Variable in class jpcap.packet.IPv6Option
Next header
NONE_OPTION - Static variable in class jpcap.packet.IPv6Option
No next option header

O

offset - Variable in class jpcap.packet.IPPacket
Fragment offset (v4)
offset - Variable in class jpcap.packet.IPv6Option
Offset (Fragment option)
openDevice(NetworkInterface) - Static method in class jpcap.JpcapSender
Initializes a network interface for sending a packet, and returns an instance of this class.
openDevice(NetworkInterface, int, boolean, int) - Static method in class jpcap.JpcapCaptor
Opens the specified network interface, and returns an instance of this class.
openDumpFile(JpcapCaptor, String) - Static method in class jpcap.JpcapWriter
Opens a file to save the captured packets.
openFile(String) - Static method in class jpcap.JpcapCaptor
Opens a dump file created by tcpdump or Ethereal, and returns an instance of this class.
openRawSocket() - Static method in class jpcap.JpcapSender
Deprecated.
operation - Variable in class jpcap.packet.ARPPacket
Operation
option - Variable in class jpcap.packet.IPPacket
Option in IPv4 header (v4)
option - Variable in class jpcap.packet.IPv6Option
Option
option - Variable in class jpcap.packet.TCPPacket
TCP option
options - Variable in class jpcap.packet.IPPacket
Option headers in IPv6Option (v6)
orig_timestamp - Variable in class jpcap.packet.ICMPPacket
Originate timestamp

P

Packet - Class in jpcap.packet
This is a root class of the all the packets captured by Jpcap.
Packet() - Constructor for class jpcap.packet.Packet
 
PacketReceiver - Interface in jpcap
This interface is used to define a method to analyze the captured packets, which is used in JpcapCaptor.handlePacket() or JpcapCaptor.processPacket()
plen - Variable in class jpcap.packet.ARPPacket
Protocol address length
preference - Variable in class jpcap.packet.ICMPPacket
Preference
priority - Variable in class jpcap.packet.IPPacket
Priority (class) (v4/v6)
processPacket(int, PacketReceiver) - Method in class jpcap.JpcapCaptor
Captures the specified number of packets consecutively.
Unlike loopPacket(), this method returns (althrough not guaranteed) when the timeout expires.
protocol - Variable in class jpcap.packet.IPPacket
Protocol (v4/v6)
prototype - Variable in class jpcap.packet.ARPPacket
Protocol type
PROTOTYPE_IP - Static variable in class jpcap.packet.ARPPacket
Protocol type: IP
psh - Variable in class jpcap.packet.TCPPacket
PSH flag

R

r_flag - Variable in class jpcap.packet.IPPacket
IP flag bit: [R]eliability (v4)
RARP_REPLY - Static variable in class jpcap.packet.ARPPacket
Reverse ARP reply
RARP_REQUEST - Static variable in class jpcap.packet.ARPPacket
Reverse ARP request
received_packets - Variable in class jpcap.JpcapCaptor
Number of received packets
receivePacket(Packet) - Method in interface jpcap.PacketReceiver
Analyzes a packet.

This method is called everytime a packet is captured.
recv_timestamp - Variable in class jpcap.packet.ICMPPacket
Receive timestamp
redir_ip - Variable in class jpcap.packet.ICMPPacket
Redirect address
router_ip - Variable in class jpcap.packet.ICMPPacket
Advertised addresses
ROUTING_OPTION - Static variable in class jpcap.packet.IPv6Option
Routing option
routing_type - Variable in class jpcap.packet.IPv6Option
Routing type (Routing option)
rst - Variable in class jpcap.packet.TCPPacket
RST flag
rsv_frag - Variable in class jpcap.packet.IPPacket
Fragmentation reservation flag (v4)
rsv_tos - Variable in class jpcap.packet.IPPacket
Type of Service (TOS) (v4/v6)
rsv1 - Variable in class jpcap.packet.TCPPacket
RSV1 flag
rsv2 - Variable in class jpcap.packet.TCPPacket
RSV2 flag

S

sec - Variable in class jpcap.packet.Packet
Captured timestamp (sec)
sender_hardaddr - Variable in class jpcap.packet.ARPPacket
Sender hardware address
sender_protoaddr - Variable in class jpcap.packet.ARPPacket
Sender protocol address
sendPacket(Packet) - Method in class jpcap.JpcapSender
Sends a packet.
seq - Variable in class jpcap.packet.ICMPPacket
Sequence number
sequence - Variable in class jpcap.packet.IPv6Option
Sequence number (AH option)
sequence - Variable in class jpcap.packet.TCPPacket
Sequence number
setFilter(String, boolean) - Method in class jpcap.JpcapCaptor
Sets a filter.
setIPv4Parameter(int, boolean, boolean, boolean, int, boolean, boolean, boolean, int, int, int, int, InetAddress, InetAddress) - Method in class jpcap.packet.IPPacket
Sets the IPv4 parameters
setIPv6Parameter(int, int, int, int, InetAddress, InetAddress) - Method in class jpcap.packet.IPPacket
Sets the IPv6 parameters
setNonBlockingMode(boolean) - Method in class jpcap.JpcapCaptor
Sets/unsets "non-blocking" mode
setPacketReadTimeout(int) - Method in class jpcap.JpcapCaptor
Sets the socket read timeout (SO_RCVTIMEO) for the socket used to read packets from the kernel.
spi - Variable in class jpcap.packet.IPv6Option
SPI (AH option)
src_ip - Variable in class jpcap.packet.IPPacket
Source IP address
src_mac - Variable in class jpcap.packet.EthernetPacket
Source MAC address (6byte)
src_port - Variable in class jpcap.packet.TCPPacket
Source port number
src_port - Variable in class jpcap.packet.UDPPacket
Source port number
subnet - Variable in class jpcap.NetworkInterfaceAddress
Subnet mask of the network interface
subnetmask - Variable in class jpcap.packet.ICMPPacket
Subnet mask
syn - Variable in class jpcap.packet.TCPPacket
SYN flag

T

t_flag - Variable in class jpcap.packet.IPPacket
IP flag bit: [T]hrough (v4)
target_hardaddr - Variable in class jpcap.packet.ARPPacket
Target hardware address
target_protoaddr - Variable in class jpcap.packet.ARPPacket
Target protocol address
TCPPacket - Class in jpcap.packet
This class represents TCP packet.
TCPPacket(int, int, long, long, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, int, int) - Constructor for class jpcap.packet.TCPPacket
Creates a TCP packet.
toString() - Method in class jpcap.packet.ARPPacket
Returns a string representation of this ARP/RARP packet.

Format: ARP(hardtype:prototype)
toString() - Method in class jpcap.packet.EthernetPacket
Returns a string representation of this Ethernet packet.

Format: Fsrc_mac -> dst_mac (frametype)
toString() - Method in class jpcap.packet.ICMPPacket
Returns a string representation of this ICMP packet.

Format: Ftype(type) code(code)
toString() - Method in class jpcap.packet.IPPacket
Returns a string represenation of this packet.
toString() - Method in class jpcap.packet.Packet
Returns a string representation of this packet
Format: sec:usec
toString() - Method in class jpcap.packet.TCPPacket
Returns a string representation of this packet

Format: src_port > dst_port seq(sequence) win(window) [ack ack_num] [S][F][P]
toString() - Method in class jpcap.packet.UDPPacket
Returns a string representation of this packet.

Format: src_port > dst_port
trans_timestamp - Variable in class jpcap.packet.ICMPPacket
Transmit timestamp
type - Variable in class jpcap.packet.ICMPPacket
ICMP type
type - Variable in class jpcap.packet.IPv6Option
Type

U

UDPPacket - Class in jpcap.packet
This class represents UDP packet.
UDPPacket(int, int) - Constructor for class jpcap.packet.UDPPacket
Creates a UDP packet.
updateStat() - Method in class jpcap.JpcapCaptor
urg - Variable in class jpcap.packet.TCPPacket
URG flag
urgent_pointer - Variable in class jpcap.packet.TCPPacket
Urgent pointer
usec - Variable in class jpcap.packet.Packet
Captured timestamp (micro sec)

V

version - Variable in class jpcap.packet.IPPacket
IP version (v4/v6)

W

window - Variable in class jpcap.packet.TCPPacket
Window size
writePacket(Packet) - Method in class jpcap.JpcapWriter
Saves a packet into the file.
A B C D E F G H I J L M N O P R S T U V W 
All Classes All Packages