public enum Protocol extends Enum<Protocol>
Enum Constant and Description |
---|
AH |
AX_25 |
DCCP |
DDP |
EGP |
EIGRP |
ENCAP |
ESP |
ETHERIP |
FC |
GGP |
GRE |
HIP |
HMP |
ICMP |
IDPR_CMTP |
IDRP |
IGMP |
IGP |
IP |
IPCOMP |
IPENCAP |
IPIP |
IPV6 |
IPV6_FRAG |
IPV6_ICMP |
IPV6_NONXT |
IPV6_OPTS |
IPV6_ROUTE |
ISIS |
ISO_TP4 |
L2TP |
MANET |
MOBILITY_HEADER |
MPLS_IN_IP |
OSPF |
PIM |
PUP |
RDP |
ROHC |
RSPF |
RSVP |
SCTP |
SHIM6 |
SKIP |
ST |
TCP |
UDP |
UDPLITE |
VMTP |
VRRP |
WESP |
XNS_IDP |
XTP |
Modifier and Type | Method and Description |
---|---|
String |
getAlias() |
static Protocol |
getByNumber(int number) |
String |
getName() |
int |
getNumber() |
static Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protocol IP
public static final Protocol ICMP
public static final Protocol IGMP
public static final Protocol GGP
public static final Protocol IPENCAP
public static final Protocol ST
public static final Protocol TCP
public static final Protocol EGP
public static final Protocol IGP
public static final Protocol PUP
public static final Protocol UDP
public static final Protocol HMP
public static final Protocol XNS_IDP
public static final Protocol RDP
public static final Protocol ISO_TP4
public static final Protocol DCCP
public static final Protocol XTP
public static final Protocol DDP
public static final Protocol IDPR_CMTP
public static final Protocol IPV6
public static final Protocol IPV6_ROUTE
public static final Protocol IPV6_FRAG
public static final Protocol IDRP
public static final Protocol RSVP
public static final Protocol GRE
public static final Protocol ESP
public static final Protocol AH
public static final Protocol SKIP
public static final Protocol IPV6_ICMP
public static final Protocol IPV6_NONXT
public static final Protocol IPV6_OPTS
public static final Protocol RSPF
public static final Protocol VMTP
public static final Protocol EIGRP
public static final Protocol OSPF
public static final Protocol AX_25
public static final Protocol IPIP
public static final Protocol ETHERIP
public static final Protocol ENCAP
public static final Protocol PIM
public static final Protocol IPCOMP
public static final Protocol VRRP
public static final Protocol L2TP
public static final Protocol ISIS
public static final Protocol SCTP
public static final Protocol FC
public static final Protocol MOBILITY_HEADER
public static final Protocol UDPLITE
public static final Protocol MPLS_IN_IP
public static final Protocol MANET
public static final Protocol HIP
public static final Protocol SHIM6
public static final Protocol WESP
public static final Protocol ROHC
public static Protocol[] values()
for (Protocol c : Protocol.values()) System.out.println(c);
public static Protocol valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getAlias()
public String getName()
public int getNumber()
public static Protocol getByNumber(int number)
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.