public enum ProtocolId extends Enum<ProtocolId>
Enum Constant and Description |
---|
ARP
Address Resolution Protocol (ARP).
|
BDDP
Broadcast Domain Discovery Protocol (BDDP).
|
DHCP
Dynamic Host Configuration Protocol version 4 (DHCP).
|
DHCPV6
Dynamic Host Configuration Protocol version 6 (DHCPv6).
|
DNS
Domain Name System Protocol version 4 (DNS).
|
ETHERNET
Ethernet protocol (Ethernet2, Ethernet 802.3, etc.).
|
GRE
Generic Routing Encapsulation (GRE).
|
ICMP
Internet Control Message Protocol version 4 (ICMPv4).
|
ICMPV6
Internet Control Message Protocol version 6 (ICMPv6).
|
IP
Internet Protocol version 4 (IPv4).
|
IPV6
Internet Protocol version 6 (IPv6).
|
LLDP
Link Layer Discovery Protocol (LLDP).
|
MPLS
MPLS protocol.
|
NONE
No protocol (indicates that no protocol follows - i.e.
|
PPP_ETHERNET
PPP-over-Ethernet protocol.
|
SCTP
Stream Control Transmission Protocol (SCTP).
|
TCP
Transmission Control Protocol (TCP).
|
UDP
User Datagram Protocol (UDP).
|
UNKNOWN
Unknown protocol.
|
Modifier and Type | Method and Description |
---|---|
static ProtocolId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolId NONE
public static final ProtocolId UNKNOWN
public static final ProtocolId ETHERNET
public static final ProtocolId PPP_ETHERNET
public static final ProtocolId MPLS
public static final ProtocolId ARP
public static final ProtocolId IP
public static final ProtocolId GRE
public static final ProtocolId IPV6
public static final ProtocolId BDDP
public static final ProtocolId LLDP
public static final ProtocolId ICMP
public static final ProtocolId ICMPV6
public static final ProtocolId TCP
public static final ProtocolId UDP
public static final ProtocolId SCTP
public static final ProtocolId DHCP
public static final ProtocolId DHCPV6
public static final ProtocolId DNS
public static ProtocolId[] values()
for (ProtocolId c : ProtocolId.values()) System.out.println(c);
public static ProtocolId 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 nullCopyright © 2015. All Rights Reserved.