Package nl.sidnlabs.pcap.decoder
Class ICMPDecoder
- java.lang.Object
-
- nl.sidnlabs.pcap.decoder.ICMPDecoder
-
-
Field Summary
-
Fields inherited from interface nl.sidnlabs.pcap.decoder.Decoder
PROTOCOL_HEADER_DST_PORT_OFFSET, PROTOCOL_HEADER_SRC_PORT_OFFSET
-
-
Constructor Summary
Constructors Constructor Description ICMPDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprintStats()Packetreassemble(Packet packet, byte[] packetData)
-
-
-
Field Detail
-
PROTOCOL_ICMP_V4_OFFSET_MTU
public static final int PROTOCOL_ICMP_V4_OFFSET_MTU
- See Also:
- Constant Field Values
-
PROTOCOL_ICMP_V6_OFFSET_MTU
public static final int PROTOCOL_ICMP_V6_OFFSET_MTU
- See Also:
- Constant Field Values
-
PROTOCOL_ICMP_V6_OFFSET_INFO_MSG
public static final int PROTOCOL_ICMP_V6_OFFSET_INFO_MSG
- See Also:
- Constant Field Values
-
PROTOCOL_ICMP_V4_ECHO_REQUEST
public static final int PROTOCOL_ICMP_V4_ECHO_REQUEST
- See Also:
- Constant Field Values
-
PROTOCOL_ICMP_V4_ECHO_REPLY
public static final int PROTOCOL_ICMP_V4_ECHO_REPLY
- See Also:
- Constant Field Values
-
PROTOCOL_ICMP_V6_ECHO_REQUEST
public static final int PROTOCOL_ICMP_V6_ECHO_REQUEST
- See Also:
- Constant Field Values
-
PROTOCOL_ICMP_V6_ECHO_REPLY
public static final int PROTOCOL_ICMP_V6_ECHO_REPLY
- See Also:
- Constant Field Values
-
PROTOCOL_ICMP_V4_DESTINATION_UNREACHABLE
public static final int PROTOCOL_ICMP_V4_DESTINATION_UNREACHABLE
- See Also:
- Constant Field Values
-
PROTOCOL_ICMP_V6_DESTINATION_UNREACHABLE
public static final int PROTOCOL_ICMP_V6_DESTINATION_UNREACHABLE
- See Also:
- Constant Field Values
-
PROTOCOL_ICMP_SOURCE_QUENCHE
public static final int PROTOCOL_ICMP_SOURCE_QUENCHE
- See Also:
- Constant Field Values
-
PROTOCOL_ICMP_REDIRECT_MESSAGE
public static final int PROTOCOL_ICMP_REDIRECT_MESSAGE
- See Also:
- Constant Field Values
-
PROTOCOL_ICMP_TIME_EXCEEDED
public static final int PROTOCOL_ICMP_TIME_EXCEEDED
- See Also:
- Constant Field Values
-
PROTOCOL_ICMP_PARAMETER_PROBLEM
public static final int PROTOCOL_ICMP_PARAMETER_PROBLEM
- See Also:
- Constant Field Values
-
PROTOCOL_ICMP_V4_CODE_FRAG_NEEDED
public static final int PROTOCOL_ICMP_V4_CODE_FRAG_NEEDED
- See Also:
- Constant Field Values
-
PROTOCOL_ICMP_V6_CODE_FRAG_NEEDED
public static final int PROTOCOL_ICMP_V6_CODE_FRAG_NEEDED
- See Also:
- Constant Field Values
-
ECHO_CLIENT_ID_RIPE_ATLAS
public static final String ECHO_CLIENT_ID_RIPE_ATLAS
- See Also:
- Constant Field Values
-
ECHO_CLIENT_ID_UNIX_LINUX
public static final String ECHO_CLIENT_ID_UNIX_LINUX
- See Also:
- Constant Field Values
-
ECHO_CLIENT_ID_WINDOWS
public static final String ECHO_CLIENT_ID_WINDOWS
- See Also:
- Constant Field Values
-
ECHO_CLIENT_ID_PRTG
public static final String ECHO_CLIENT_ID_PRTG
- See Also:
- Constant Field Values
-
ECHO_CLIENT_TYPE_UNKNOWN
public static final int ECHO_CLIENT_TYPE_UNKNOWN
- See Also:
- Constant Field Values
-
ECHO_CLIENT_TYPE_RIPE_ATLAS
public static final int ECHO_CLIENT_TYPE_RIPE_ATLAS
- See Also:
- Constant Field Values
-
ECHO_CLIENT_TYPE_UNIX_LINUX
public static final int ECHO_CLIENT_TYPE_UNIX_LINUX
- See Also:
- Constant Field Values
-
ECHO_CLIENT_TYPE_WINDOWS
public static final int ECHO_CLIENT_TYPE_WINDOWS
- See Also:
- Constant Field Values
-
ECHO_CLIENT_TYPE_PRTG
public static final int ECHO_CLIENT_TYPE_PRTG
- See Also:
- Constant Field Values
-
-
Method Detail
-
reassemble
public Packet reassemble(Packet packet, byte[] packetData)
- Specified by:
reassemblein interfaceDecoder
-
printStats
public void printStats()
- Specified by:
printStatsin interfaceDecoder
-
-