Enum Class Protocol

java.lang.Object
java.lang.Enum<Protocol>
org.graylog.plugins.netflow.utils.Protocol
All Implemented Interfaces:
Serializable, Comparable<Protocol>, Constable

public enum Protocol extends Enum<Protocol>
Can be used to lookup protocol numbers. Generated from a /etc/protocols file on Ubuntu 14.04 LTS.
  • Enum Constant Details

    • IP

      public static final Protocol IP
    • ICMP

      public static final Protocol ICMP
    • IGMP

      public static final Protocol IGMP
    • GGP

      public static final Protocol GGP
    • IPENCAP

      public static final Protocol IPENCAP
    • ST

      public static final Protocol ST
    • TCP

      public static final Protocol TCP
    • EGP

      public static final Protocol EGP
    • IGP

      public static final Protocol IGP
    • PUP

      public static final Protocol PUP
    • UDP

      public static final Protocol UDP
    • HMP

      public static final Protocol HMP
    • XNS_IDP

      public static final Protocol XNS_IDP
    • RDP

      public static final Protocol RDP
    • ISO_TP4

      public static final Protocol ISO_TP4
    • DCCP

      public static final Protocol DCCP
    • XTP

      public static final Protocol XTP
    • DDP

      public static final Protocol DDP
    • IDPR_CMTP

      public static final Protocol IDPR_CMTP
    • IPV6

      public static final Protocol IPV6
    • IPV6_ROUTE

      public static final Protocol IPV6_ROUTE
    • IPV6_FRAG

      public static final Protocol IPV6_FRAG
    • IDRP

      public static final Protocol IDRP
    • RSVP

      public static final Protocol RSVP
    • GRE

      public static final Protocol GRE
    • ESP

      public static final Protocol ESP
    • AH

      public static final Protocol AH
    • SKIP

      public static final Protocol SKIP
    • IPV6_ICMP

      public static final Protocol IPV6_ICMP
    • IPV6_NONXT

      public static final Protocol IPV6_NONXT
    • IPV6_OPTS

      public static final Protocol IPV6_OPTS
    • RSPF

      public static final Protocol RSPF
    • VMTP

      public static final Protocol VMTP
    • EIGRP

      public static final Protocol EIGRP
    • OSPF

      public static final Protocol OSPF
    • AX_25

      public static final Protocol AX_25
    • IPIP

      public static final Protocol IPIP
    • ETHERIP

      public static final Protocol ETHERIP
    • ENCAP

      public static final Protocol ENCAP
    • PIM

      public static final Protocol PIM
    • IPCOMP

      public static final Protocol IPCOMP
    • VRRP

      public static final Protocol VRRP
    • L2TP

      public static final Protocol L2TP
    • ISIS

      public static final Protocol ISIS
    • SCTP

      public static final Protocol SCTP
    • FC

      public static final Protocol FC
    • MOBILITY_HEADER

      public static final Protocol MOBILITY_HEADER
    • UDPLITE

      public static final Protocol UDPLITE
    • MPLS_IN_IP

      public static final Protocol MPLS_IN_IP
    • MANET

      public static final Protocol MANET
    • HIP

      public static final Protocol HIP
    • SHIM6

      public static final Protocol SHIM6
    • WESP

      public static final Protocol WESP
    • ROHC

      public static final Protocol ROHC
  • Method Details

    • values

      public static Protocol[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Protocol valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getAlias

      public String getAlias()
    • getName

      public String getName()
    • getNumber

      public int getNumber()
    • getByNumber

      public static Protocol getByNumber(int number)