Savarese.Org
A C G I K L M O P R S T U _

A

addControlFlags(int) - Method in class org.savarese.vserv.tcpip.TCPPacket
Sets the specified control bits without altering any other bits in the control header.

C

clearSACK() - Method in class org.savarese.vserv.tcpip.TCPPacket
Clears all selective acknowledgement options.
computeICMPChecksum(boolean) - Method in class org.savarese.vserv.tcpip.ICMPPacket
Computes the ICMP checksum, optionally updating the ICMP checksum header.
computeICMPChecksum() - Method in class org.savarese.vserv.tcpip.ICMPPacket
Same as computeICMPChecksum(true);
computeIPChecksum(boolean) - Method in class org.savarese.vserv.tcpip.IPPacket
Computes the IP checksum, optionally updating the IP checksum header.
computeIPChecksum() - Method in class org.savarese.vserv.tcpip.IPPacket
Same as computeIPChecksum(true);
computeTCPChecksum(boolean) - Method in class org.savarese.vserv.tcpip.TCPPacket
Computes the TCP checksum, optionally updating the TCP checksum header.
computeTCPChecksum() - Method in class org.savarese.vserv.tcpip.TCPPacket
Same as computeTCPChecksum(true);
computeUDPChecksum(boolean) - Method in class org.savarese.vserv.tcpip.UDPPacket
Computes the UDP checksum, optionally updating the UDP checksum header.
computeUDPChecksum() - Method in class org.savarese.vserv.tcpip.UDPPacket
Same as computeUDPChecksum(true);
copy(IPPacket) - Method in class org.savarese.vserv.tcpip.IPPacket
Copies the contents of an IPPacket to the calling instance.
copyData(ICMPPacket) - Method in class org.savarese.vserv.tcpip.ICMPPacket
Copies the contents of an ICMPPacket.
copyData(TCPPacket) - Method in class org.savarese.vserv.tcpip.TCPPacket
Copies the contents of a TCPPacket.
copyData(UDPPacket) - Method in class org.savarese.vserv.tcpip.UDPPacket
Copies the contents of a UDPPacket.

G

getAckNumber() - Method in class org.savarese.vserv.tcpip.TCPPacket
 
getCode() - Method in class org.savarese.vserv.tcpip.ICMPPacket
 
getCombinedHeaderByteLength() - Method in class org.savarese.vserv.tcpip.ICMPPacket
 
getCombinedHeaderByteLength() - Method in class org.savarese.vserv.tcpip.TCPPacket
 
getCombinedHeaderByteLength() - Method in class org.savarese.vserv.tcpip.UDPPacket
 
getData(byte[]) - Method in class org.savarese.vserv.tcpip.IPPacket
Copies the raw packet data into a byte array.
getDestination(byte[]) - Method in class org.savarese.vserv.tcpip.IPPacket
Retrieves the destionation IP address into a byte array.
getDestination(StringBuffer) - Method in class org.savarese.vserv.tcpip.IPPacket
Retrieves the destination IP address as a string into a StringBuffer.
getDestinationAsInetAddress() - Method in class org.savarese.vserv.tcpip.IPPacket
 
getDestinationAsWord() - Method in class org.savarese.vserv.tcpip.IPPacket
 
getDestinationPort() - Method in class org.savarese.vserv.tcpip.TCPPacket
 
getDestinationPort() - Method in class org.savarese.vserv.tcpip.UDPPacket
 
getFragmentOffset() - Method in class org.savarese.vserv.tcpip.IPPacket
Returns the fragment offset header value.
getICMPChecksum() - Method in class org.savarese.vserv.tcpip.ICMPPacket
 
getICMPDataByteLength() - Method in class org.savarese.vserv.tcpip.ICMPPacket
 
getICMPHeaderByteLength() - Method in class org.savarese.vserv.tcpip.ICMPEchoPacket
 
getICMPHeaderByteLength() - Method in class org.savarese.vserv.tcpip.ICMPPacket
 
getICMPPacketByteLength() - Method in class org.savarese.vserv.tcpip.ICMPPacket
 
getIPChecksum() - Method in class org.savarese.vserv.tcpip.IPPacket
 
getIPFlags() - Method in class org.savarese.vserv.tcpip.IPPacket
Returns the IP flags header value.
getIPHeaderByteLength() - Method in class org.savarese.vserv.tcpip.IPPacket
 
getIPHeaderLength() - Method in class org.savarese.vserv.tcpip.IPPacket
 
getIPPacketLength() - Method in class org.savarese.vserv.tcpip.IPPacket
 
getIPVersion() - Method in class org.savarese.vserv.tcpip.IPPacket
Returns the IP version header value.
getIdentification() - Method in class org.savarese.vserv.tcpip.IPPacket
Returns the IP identification header value.
getIdentifier() - Method in class org.savarese.vserv.tcpip.ICMPEchoPacket
 
getProtocol() - Method in class org.savarese.vserv.tcpip.IPPacket
 
getSequenceNumber() - Method in class org.savarese.vserv.tcpip.ICMPEchoPacket
 
getSequenceNumber() - Method in class org.savarese.vserv.tcpip.TCPPacket
 
getSource(byte[]) - Method in class org.savarese.vserv.tcpip.IPPacket
Retrieves the source IP address into a byte array.
getSource(StringBuffer) - Method in class org.savarese.vserv.tcpip.IPPacket
Retrieves the source IP address as a string into a StringBuffer.
getSourceAsInetAddress() - Method in class org.savarese.vserv.tcpip.IPPacket
 
getSourceAsWord() - Method in class org.savarese.vserv.tcpip.IPPacket
 
getSourcePort() - Method in class org.savarese.vserv.tcpip.TCPPacket
 
getSourcePort() - Method in class org.savarese.vserv.tcpip.UDPPacket
 
getTCPChecksum() - Method in class org.savarese.vserv.tcpip.TCPPacket
 
getTCPDataByteLength() - Method in class org.savarese.vserv.tcpip.TCPPacket
 
getTCPHeaderByteLength() - Method in class org.savarese.vserv.tcpip.TCPPacket
 
getTCPHeaderLength() - Method in class org.savarese.vserv.tcpip.TCPPacket
 
getTCPPacketByteLength() - Method in class org.savarese.vserv.tcpip.TCPPacket
 
getTTL() - Method in class org.savarese.vserv.tcpip.IPPacket
 
getType() - Method in class org.savarese.vserv.tcpip.ICMPPacket
 
getTypeOfService() - Method in class org.savarese.vserv.tcpip.IPPacket
Returns the IP type of service header value.
getUDPChecksum() - Method in class org.savarese.vserv.tcpip.UDPPacket
 
getUDPDataByteLength() - Method in class org.savarese.vserv.tcpip.UDPPacket
 
getUDPPacketByteLength() - Method in class org.savarese.vserv.tcpip.UDPPacket
 
getUDPPacketLength() - Method in class org.savarese.vserv.tcpip.UDPPacket
 
getUrgentPointer() - Method in class org.savarese.vserv.tcpip.TCPPacket
 
getWindowSize() - Method in class org.savarese.vserv.tcpip.TCPPacket
 

I

ICMPEchoPacket - class org.savarese.vserv.tcpip.ICMPEchoPacket.
ICMPEchoPacket extends ICMPPacket to implement ICMP echo request and reply packets.
ICMPEchoPacket(int) - Constructor for class org.savarese.vserv.tcpip.ICMPEchoPacket
Creates a new ICMP echo packet of a given size.
ICMPEchoPacket(ICMPEchoPacket) - Constructor for class org.savarese.vserv.tcpip.ICMPEchoPacket
Creates a new ICMP echo packet that is a copy of a given packet.
ICMPPacket - class org.savarese.vserv.tcpip.ICMPPacket.
ICMPPacket extends IPPacket to handle ICMP packets.
ICMPPacket(int) - Constructor for class org.savarese.vserv.tcpip.ICMPPacket
Creates a new ICMP packet of a given size.
ICMPPacket(ICMPPacket) - Constructor for class org.savarese.vserv.tcpip.ICMPPacket
Creates a new ICMP packet that is a copy of a given packet.
IPPacket - class org.savarese.vserv.tcpip.IPPacket.
IPPacket wraps the raw bytes comprising an IPv4 packet and exposes its content via setter and getter methods.
IPPacket(int) - Constructor for class org.savarese.vserv.tcpip.IPPacket
Creates a new IPPacket of a given size.
intToOctets(int, byte[], int) - Static method in class org.savarese.vserv.tcpip.OctetConverter
Converts a 32-bit word representation of an IPv4 address to a byte array of octets.
intToOctets(int, byte[]) - Static method in class org.savarese.vserv.tcpip.OctetConverter
Same as intToOctets(address, octets, 0);
intToString(StringBuffer, int) - Static method in class org.savarese.vserv.tcpip.OctetConverter
Converts a 32-bit word representation of an IPv4 address to a string representation.
isSet(int) - Method in class org.savarese.vserv.tcpip.TCPPacket
 
isSetAny(int) - Method in class org.savarese.vserv.tcpip.TCPPacket
 
isSetOnly(int) - Method in class org.savarese.vserv.tcpip.TCPPacket
 

K

KIND_EOL - Static variable in class org.savarese.vserv.tcpip.TCPPacket
A byte value for TCP options indicating end of option list.
KIND_NOP - Static variable in class org.savarese.vserv.tcpip.TCPPacket
A byte value for TCP options indicating no operation.
KIND_SACK - Static variable in class org.savarese.vserv.tcpip.TCPPacket
A byte value for TCP options identifying a selective acknowledgement option.

L

LENGTH_DESTINATION_ADDRESS - Static variable in class org.savarese.vserv.tcpip.IPPacket
Number of bytes in destination address.
LENGTH_SOURCE_ADDRESS - Static variable in class org.savarese.vserv.tcpip.IPPacket
Number of bytes in source address.
LENGTH_UDP_HEADER - Static variable in class org.savarese.vserv.tcpip.UDPPacket
Length of the UDP packet header in bytes.
longToOctets(long, byte[], int) - Static method in class org.savarese.vserv.tcpip.OctetConverter
Converts a 64-bit word to a byte array of octets.
longToOctets(long, byte[]) - Static method in class org.savarese.vserv.tcpip.OctetConverter
Same as longToOctets(address, octets, 0);

M

MASK_ACK - Static variable in class org.savarese.vserv.tcpip.TCPPacket
A mask for extracting the ACK bit from the control header.
MASK_FIN - Static variable in class org.savarese.vserv.tcpip.TCPPacket
A mask for extracting the FIN bit from the control header.
MASK_PSH - Static variable in class org.savarese.vserv.tcpip.TCPPacket
A mask for extracting the push bit from the control header.
MASK_RST - Static variable in class org.savarese.vserv.tcpip.TCPPacket
A mask for extracting the reset bit from the control header.
MASK_SYN - Static variable in class org.savarese.vserv.tcpip.TCPPacket
A mask for extracting the SYN bit from the control header.
MASK_URG - Static variable in class org.savarese.vserv.tcpip.TCPPacket
A mask for extracting the urgent bit from the control header.

O

OFFSET_ACK - Static variable in class org.savarese.vserv.tcpip.TCPPacket
Offset into the TCP packet of the acknowledgement number header value.
OFFSET_CODE - Static variable in class org.savarese.vserv.tcpip.ICMPPacket
Offset into the ICMP packet of the code header value.
OFFSET_CONTROL - Static variable in class org.savarese.vserv.tcpip.TCPPacket
Offset into the TCP packet of the control header.
OFFSET_DESTINATION_ADDRESS - Static variable in class org.savarese.vserv.tcpip.IPPacket
Offset into byte array of destination address header value.
OFFSET_DESTINATION_PORT - Static variable in class org.savarese.vserv.tcpip.TCPPacket
Offset into the TCP packet of the destination port header value.
OFFSET_DESTINATION_PORT - Static variable in class org.savarese.vserv.tcpip.UDPPacket
Offset into the UDP packet of the destination port header value.
OFFSET_FLAGS - Static variable in class org.savarese.vserv.tcpip.IPPacket
Offset into byte array of the flags header value.
OFFSET_HEADER_LENGTH - Static variable in class org.savarese.vserv.tcpip.TCPPacket
Offset into the TCP packet of the TCP header length.
OFFSET_ICMP_CHECKSUM - Static variable in class org.savarese.vserv.tcpip.ICMPPacket
Offset into the ICMP packet of the ICMP checksum.
OFFSET_IDENTIFICATION - Static variable in class org.savarese.vserv.tcpip.IPPacket
Offset into byte array of the identification header value.
OFFSET_IDENTIFIER - Static variable in class org.savarese.vserv.tcpip.ICMPEchoPacket
Offset into the ICMP packet of the identifier header value.
OFFSET_IDENTIFIER - Static variable in class org.savarese.vserv.tcpip.ICMPPacket
Offset into the ICMP packet of the identifier header value.
OFFSET_IP_CHECKSUM - Static variable in class org.savarese.vserv.tcpip.IPPacket
Offset into byte array of header checksum header value.
OFFSET_PROTOCOL - Static variable in class org.savarese.vserv.tcpip.IPPacket
Offset into byte array of protocol number header value.
OFFSET_SEQUENCE - Static variable in class org.savarese.vserv.tcpip.ICMPEchoPacket
Offset into the ICMP packet of the sequence number header value.
OFFSET_SEQUENCE - Static variable in class org.savarese.vserv.tcpip.ICMPPacket
Offset into the ICMP packet of the sequence number header value.
OFFSET_SEQUENCE - Static variable in class org.savarese.vserv.tcpip.TCPPacket
Offset into the TCP packet of the sequence number header value.
OFFSET_SOURCE_ADDRESS - Static variable in class org.savarese.vserv.tcpip.IPPacket
Offset into byte array of source address header value.
OFFSET_SOURCE_PORT - Static variable in class org.savarese.vserv.tcpip.TCPPacket
Offset into the TCP packet of the source port header value.
OFFSET_SOURCE_PORT - Static variable in class org.savarese.vserv.tcpip.UDPPacket
Offset into the UDP packet of the source port header value.
OFFSET_TCP_CHECKSUM - Static variable in class org.savarese.vserv.tcpip.TCPPacket
Offset into the TCP packet of the TCP checksum.
OFFSET_TOTAL_LENGTH - Static variable in class org.savarese.vserv.tcpip.IPPacket
Offset into byte array of total packet length header value.
OFFSET_TTL - Static variable in class org.savarese.vserv.tcpip.IPPacket
Offset into byte array of time to live header value.
OFFSET_TYPE - Static variable in class org.savarese.vserv.tcpip.ICMPPacket
Offset into the ICMP packet of the type header value.
OFFSET_TYPE_OF_SERVICE - Static variable in class org.savarese.vserv.tcpip.IPPacket
Offset into byte array of the type of service header value.
OFFSET_UDP_CHECKSUM - Static variable in class org.savarese.vserv.tcpip.UDPPacket
Offset into the UDP packet of the UDP checksum.
OFFSET_UDP_TOTAL_LENGTH - Static variable in class org.savarese.vserv.tcpip.UDPPacket
Offset into the UDP packet of UDP total packet length header value.
OFFSET_URG_POINTER - Static variable in class org.savarese.vserv.tcpip.TCPPacket
Offset into the TCP packet of the URG pointer.
OFFSET_WINDOW_SIZE - Static variable in class org.savarese.vserv.tcpip.TCPPacket
Offset into the TCP packet of the window size.
OctetConverter - class org.savarese.vserv.tcpip.OctetConverter.
OctetConverter is a utility singleton class for converting IP octets to and from other representations.
octetsToInt(byte[], int) - Static method in class org.savarese.vserv.tcpip.OctetConverter
Converts a set of IPv4 octets to a 32-bit word.
octetsToInt(byte[]) - Static method in class org.savarese.vserv.tcpip.OctetConverter
Same as octetsToInt(octets, 0);
octetsToLong(byte[], int) - Static method in class org.savarese.vserv.tcpip.OctetConverter
Converts a set of octets to a 64-bit word.
octetsToLong(byte[]) - Static method in class org.savarese.vserv.tcpip.OctetConverter
Same as octetsToLong(octets, 0);
octetsToString(StringBuffer, byte[], int) - Static method in class org.savarese.vserv.tcpip.OctetConverter
Converts a set of IPv4 octets to a string representation.
octetsToString(StringBuffer, byte[]) - Static method in class org.savarese.vserv.tcpip.OctetConverter
Same as octetsToString(buffer, octets, 0);
org.savarese.vserv.tcpip - package org.savarese.vserv.tcpip
 

P

PROTOCOL_ICMP - Static variable in class org.savarese.vserv.tcpip.IPPacket
Protocol constant for ICMP.
PROTOCOL_IP - Static variable in class org.savarese.vserv.tcpip.IPPacket
Protocol constant for IPv4.
PROTOCOL_TCP - Static variable in class org.savarese.vserv.tcpip.IPPacket
Protocol constant for TCP.
PROTOCOL_UDP - Static variable in class org.savarese.vserv.tcpip.IPPacket
Protocol constant for UDP.

R

removeControlFlags(int) - Method in class org.savarese.vserv.tcpip.TCPPacket
Unsets the specified control bits.

S

setAckNumber(long) - Method in class org.savarese.vserv.tcpip.TCPPacket
Sets the acknowledgement number.
setCode(int) - Method in class org.savarese.vserv.tcpip.ICMPPacket
Sets the ICMP code header field.
setControlFlags(int) - Method in class org.savarese.vserv.tcpip.TCPPacket
Sets the control header to the sepecified value.
setData(byte[]) - Method in class org.savarese.vserv.tcpip.ICMPPacket
 
setData(byte[]) - Method in class org.savarese.vserv.tcpip.IPPacket
Sets the raw packet byte array.
setData(byte[]) - Method in class org.savarese.vserv.tcpip.TCPPacket
 
setData(byte[]) - Method in class org.savarese.vserv.tcpip.UDPPacket
 
setDestinationAsWord(int) - Method in class org.savarese.vserv.tcpip.IPPacket
Sets the destination IP address using a word representation.
setDestinationPort(int) - Method in class org.savarese.vserv.tcpip.TCPPacket
Sets the destination port.
setDestinationPort(int) - Method in class org.savarese.vserv.tcpip.UDPPacket
Sets the destination port.
setFragmentOffset(int) - Method in class org.savarese.vserv.tcpip.IPPacket
Sets the fragment offset header value.
setICMPDataByteLength(int) - Method in class org.savarese.vserv.tcpip.ICMPPacket
Sets the length of the ICMP data payload.
setIPFlags(int) - Method in class org.savarese.vserv.tcpip.IPPacket
Sets the IP flags header value.
setIPHeaderLength(int) - Method in class org.savarese.vserv.tcpip.ICMPPacket
 
setIPHeaderLength(int) - Method in class org.savarese.vserv.tcpip.IPPacket
Sets the IP header length field.
setIPHeaderLength(int) - Method in class org.savarese.vserv.tcpip.TCPPacket
 
setIPHeaderLength(int) - Method in class org.savarese.vserv.tcpip.UDPPacket
 
setIPPacketLength(int) - Method in class org.savarese.vserv.tcpip.IPPacket
Sets the IP packet total length header value.
setIPVersion(int) - Method in class org.savarese.vserv.tcpip.IPPacket
Sets the IP version header value.
setIdentification(int) - Method in class org.savarese.vserv.tcpip.IPPacket
Sets the IP identification header value.
setIdentifier(int) - Method in class org.savarese.vserv.tcpip.ICMPEchoPacket
Sets the identifier header field.
setProtocol(int) - Method in class org.savarese.vserv.tcpip.IPPacket
Sets the protocol number.
setSequenceNumber(int) - Method in class org.savarese.vserv.tcpip.ICMPEchoPacket
Sets the sequence number.
setSequenceNumber(long) - Method in class org.savarese.vserv.tcpip.TCPPacket
Sets the sequence number.
setSourceAsWord(int) - Method in class org.savarese.vserv.tcpip.IPPacket
Sets the source IP address using a word representation.
setSourcePort(int) - Method in class org.savarese.vserv.tcpip.TCPPacket
Sets the source port.
setSourcePort(int) - Method in class org.savarese.vserv.tcpip.UDPPacket
Sets the source port.
setTCPDataByteLength(int) - Method in class org.savarese.vserv.tcpip.TCPPacket
Sets the length of the TCP data payload.
setTCPHeaderLength(int) - Method in class org.savarese.vserv.tcpip.TCPPacket
Sets te TCP header length (i.e., the data offset field) in 32-bit words.
setTTL(int) - Method in class org.savarese.vserv.tcpip.IPPacket
Sets the time to live value in seconds.
setType(int) - Method in class org.savarese.vserv.tcpip.ICMPPacket
Sets the ICMP type header field.
setTypeOfService(int) - Method in class org.savarese.vserv.tcpip.IPPacket
Sets the IP type of service header value.
setUDPDataByteLength(int) - Method in class org.savarese.vserv.tcpip.UDPPacket
Sets the length of the UDP data payload.
setUDPPacketLength(int) - Method in class org.savarese.vserv.tcpip.UDPPacket
Sets the UDP total length header field.
setUrgentPointer(int) - Method in class org.savarese.vserv.tcpip.TCPPacket
Sets the urgent pointer.
setWindowSize(int) - Method in class org.savarese.vserv.tcpip.TCPPacket
Sets the TCP window size.
size() - Method in class org.savarese.vserv.tcpip.IPPacket
 

T

TCPPacket - class org.savarese.vserv.tcpip.TCPPacket.
TCPPacket extends IPPacket to handle TCP packets.
TCPPacket(int) - Constructor for class org.savarese.vserv.tcpip.TCPPacket
Creates a new TCP packet of a given size.
TCPPacket(TCPPacket) - Constructor for class org.savarese.vserv.tcpip.TCPPacket
Creates a new TCP packet that is a copy of a given packet.
TYPE_ECHO_REPLY - Static variable in class org.savarese.vserv.tcpip.ICMPPacket
The ICMP type number for an echo reply.
TYPE_ECHO_REQUEST - Static variable in class org.savarese.vserv.tcpip.ICMPPacket
The ICMP type number for an echo request.

U

UDPPacket - class org.savarese.vserv.tcpip.UDPPacket.
UDPPacket extends IPPacket to handle UDP packets.
UDPPacket(int) - Constructor for class org.savarese.vserv.tcpip.UDPPacket
Creates a new UDP packet of a given size.
UDPPacket(UDPPacket) - Constructor for class org.savarese.vserv.tcpip.UDPPacket
Creates a new UDP packet that is a copy of a given packet.

_

_computeChecksum_(int, int, int, int, boolean) - Method in class org.savarese.vserv.tcpip.IPPacket
Calculates checksums assuming the checksum is a 16-bit header field.
_data_ - Variable in class org.savarese.vserv.tcpip.IPPacket
Raw packet data.

A C G I K L M O P R S T U _
Savarese.Org

Copyright © 2004-2005 Daniel F. Savarese. All Rights Reserved.