net.sourceforge.jpcap.net
Class IPProtocol

java.lang.Object
  |
  +--net.sourceforge.jpcap.net.IPProtocol
All Implemented Interfaces:
IPProtocols

public class IPProtocol
extends java.lang.Object
implements IPProtocols

IPProtocol utility class.


Fields inherited from interface net.sourceforge.jpcap.net.IPProtocols
AH, COMP, DSTOPTS, EGP, ENCAP, ESP, FRAGMENT, GRE, HOPOPTS, ICMP, ICMPV6, IDP, IGMP, INVALID, IP, IPIP, IPV6, MTP, NONE, PIM, PUP, RAW, ROUTING, RSVP, TCP, TP, UDP
 
Constructor Summary
IPProtocol()
           
 
Method Summary
static java.lang.String getDescription(int code)
          Fetch a protocol description.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPProtocol

public IPProtocol()
Method Detail

getDescription

public static java.lang.String getDescription(int code)
Fetch a protocol description.
Parameters:
code - the code associated with the message.
Returns:
a message describing the significance of the IP protocol.