|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Ip4.Ip4Type>
org.jnetpcap.protocol.network.Ip4.Ip4Type
public static enum Ip4.Ip4Type
A table of IpTypes and their names.
| Enum Constant Summary | |
|---|---|
AH
Authentication Header [RFC4302]. |
|
ANY_LOC
any host internal protocol [IANA]. |
|
ARGUS
ARGUS [RWS4]. |
|
BBN_RCC_MON
BBN RCC Monitoring [SGC]. |
|
BNA
BNA [Salamon]. |
|
CBT
CBT [Ballardie]. |
|
CHAOS
Chaos [NC3]. |
|
DCCP
Datagram Congestion Control Protocol [RFC4340]. |
|
DCN_MEAS
DCN Measurement Subsystems [DLM1]. |
|
DDP
Datagram Delivery Protocol [WXC]. |
|
DSR
Dynamic Source Routing Protocol [RFC4728]. |
|
EGP
Exterior Gateway Protocol [RFC888][DLM1]. |
|
EMCON
EMCON [BN7]. |
|
ESP
Encap Security Payload [RFC4303]. |
|
FC
Fibre Channel [Rajagopal]. |
|
GGP
Gateway-to-Gateway [RFC823]. |
|
GRE
General Routing Encapsulation [Li]. |
|
HMP
Host Monitoring [RFC869][RH6]. |
|
HOPORT
IPv6 Hop-by-Hop Option [RFC1883]. |
|
I_NLSP
Integrated Net Layer Security TUBA [GLENN]. |
|
ICMP
Internet Control Message [RFC792]. |
|
IDPR
Inter-Domain Policy Routing Protocol [MXS1]. |
|
IDPR_CMTP
IDPR Control Message Transport Proto [MXS1]. |
|
IDRP
Inter-Domain Routing Protocol [Hares]. |
|
IGMP
Internet Group Management [RFC1112]. |
|
IGP
any private interior gateway [IANA] (used by Cisco for their IGRP). |
|
IL
IL Transport Protocol [Presotto]. |
|
IP
Unreliable datagram protocol. |
|
IPIP
IP-within-IP Encapsulation Protocol [JI6]. |
|
IPv6
Ipv6 [Deering]. |
|
IPv6_FRAG
Fragment Header for IPv6 [Deering]. |
|
IPv6_ICMP
ICMP for IPv6 [RFC1883]. |
|
IPv6_NoNxt
No Next Header for IPv6 [RFC1883]. |
|
IPv6_Opts
Destination Options for IPv6 [RFC1883]. |
|
IPv6_ROUTE
Routing Header for IPv6 [Deering]. |
|
IPX_In_IP
IPX in IP [Lee]. |
|
IRTP
Internet Reliable Transaction [RFC938][TXM]. |
|
ISO_TP4
ISO Transport Protocol Class 4 [RFC905][RC77]. |
|
LEAF_1
Leaf-1 [BWB6]. |
|
LEAF_2
Leaf-2 [BWB6]. |
|
MERIT_INP
MERIT Internodal Protocol [HWB]. |
|
MFE_NSP
MFE Network Services Protocol [MFENET][BCH2]. |
|
MOBILE
IP Mobility [Perkins]. |
|
MPLS_in_IP
MPLS-in-IP [RFC4023]. |
|
MUX
Multiplexing [IEN90][JBP]. |
|
NARP
NBMA Address Resolution Protocol [RFC1735]. |
|
NETBLT
Bulk Data Transfer Protocol [RFC969][DDC1]. |
|
NVP_II
PUP [PUP][XEROX]. |
|
PIM
Protocol Independent Multicast [Farinacci]. |
|
PRM
Packet Radio Measurement [ZSU]. |
|
PUP
CBT [Ballardie]. |
|
RDP
Reliable Data Protocol [RFC908][RH6]. |
|
RSVP
Reservation Protocol [Braden]. |
|
SDRP
Source Demand Routing Protocol [DXE1]. |
|
SKIP
SKIP [Markson]. |
|
ST
Stream [RFC1190][RFC1819]. |
|
STP
Schedule Transfer Protocol [JMP]. |
|
SWIPE
IP with Encryption [JI6]. |
|
TCP
Transmission Control [RFC793]. |
|
THIRD_PC
Third Party Connect Protocol [SAF3]. |
|
TLSP
Transport Layer Security Protocol [Oberg] using Kryptonet key management. |
|
TP_PLUS
TP++ Transport Protocol [DXF]. |
|
TRUNK_1
Trunk-1 [BWB6]. |
|
TRUNK_2
Trunk-2 [BWB6]. |
|
UDP
User Datagram [RFC768][JBP]. |
|
XNET
Cross Net Debugger [IEN158][JFH2]. |
|
XNS_IDP
XEROX NS IDP [ETHERNET][XEROX]. |
|
XTP
XTP [GXC]. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Description of the type value. |
int[] |
getTypeValues()
Converts contant to numerical ip type. |
static java.lang.String |
toString(int type)
Name of the constant. |
static Ip4.Ip4Type |
valueOf(int type)
Converts a numerical type to constant. |
static Ip4.Ip4Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Ip4.Ip4Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jnetpcap.packet.JHeaderType |
|---|
ordinal |
| Enum Constant Detail |
|---|
public static final Ip4.Ip4Type HOPORT
public static final Ip4.Ip4Type ICMP
public static final Ip4.Ip4Type IGMP
public static final Ip4.Ip4Type GGP
public static final Ip4.Ip4Type IP
public static final Ip4.Ip4Type ST
public static final Ip4.Ip4Type TCP
public static final Ip4.Ip4Type CBT
public static final Ip4.Ip4Type EGP
public static final Ip4.Ip4Type IGP
public static final Ip4.Ip4Type BBN_RCC_MON
public static final Ip4.Ip4Type NVP_II
public static final Ip4.Ip4Type PUP
public static final Ip4.Ip4Type ARGUS
public static final Ip4.Ip4Type EMCON
public static final Ip4.Ip4Type XNET
public static final Ip4.Ip4Type CHAOS
public static final Ip4.Ip4Type UDP
public static final Ip4.Ip4Type MUX
public static final Ip4.Ip4Type DCN_MEAS
public static final Ip4.Ip4Type HMP
public static final Ip4.Ip4Type PRM
public static final Ip4.Ip4Type XNS_IDP
public static final Ip4.Ip4Type TRUNK_1
public static final Ip4.Ip4Type TRUNK_2
public static final Ip4.Ip4Type LEAF_1
public static final Ip4.Ip4Type LEAF_2
public static final Ip4.Ip4Type RDP
public static final Ip4.Ip4Type IRTP
public static final Ip4.Ip4Type ISO_TP4
public static final Ip4.Ip4Type NETBLT
public static final Ip4.Ip4Type MFE_NSP
public static final Ip4.Ip4Type MERIT_INP
public static final Ip4.Ip4Type DCCP
public static final Ip4.Ip4Type THIRD_PC
public static final Ip4.Ip4Type IDPR
public static final Ip4.Ip4Type XTP
public static final Ip4.Ip4Type DDP
public static final Ip4.Ip4Type IDPR_CMTP
public static final Ip4.Ip4Type TP_PLUS
public static final Ip4.Ip4Type IL
public static final Ip4.Ip4Type IPv6
public static final Ip4.Ip4Type SDRP
public static final Ip4.Ip4Type IPv6_ROUTE
public static final Ip4.Ip4Type IPv6_FRAG
public static final Ip4.Ip4Type IDRP
public static final Ip4.Ip4Type RSVP
public static final Ip4.Ip4Type GRE
public static final Ip4.Ip4Type DSR
public static final Ip4.Ip4Type BNA
public static final Ip4.Ip4Type ESP
public static final Ip4.Ip4Type AH
public static final Ip4.Ip4Type I_NLSP
public static final Ip4.Ip4Type SWIPE
public static final Ip4.Ip4Type NARP
public static final Ip4.Ip4Type MOBILE
public static final Ip4.Ip4Type TLSP
public static final Ip4.Ip4Type SKIP
public static final Ip4.Ip4Type IPv6_ICMP
public static final Ip4.Ip4Type IPv6_NoNxt
public static final Ip4.Ip4Type IPv6_Opts
public static final Ip4.Ip4Type ANY_LOC
public static final Ip4.Ip4Type IPIP
public static final Ip4.Ip4Type PIM
public static final Ip4.Ip4Type IPX_In_IP
public static final Ip4.Ip4Type STP
public static final Ip4.Ip4Type FC
public static final Ip4.Ip4Type MPLS_in_IP
| Method Detail |
|---|
public static Ip4.Ip4Type[] values()
for (Ip4.Ip4Type c : Ip4.Ip4Type.values()) System.out.println(c);
public static Ip4.Ip4Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static java.lang.String toString(int type)
type - ip type number
public static Ip4.Ip4Type valueOf(int type)
type - Ip4 type number
public final java.lang.String getDescription()
public final int[] getTypeValues()
getTypeValues in interface JHeaderType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||