public static enum BpfProgram.BpfCompileMode extends java.lang.Enum<BpfProgram.BpfCompileMode>
| Enum Constant and Description |
|---|
NONOPTIMIZE |
OPTIMIZE |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static BpfProgram.BpfCompileMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BpfProgram.BpfCompileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BpfProgram.BpfCompileMode OPTIMIZE
public static final BpfProgram.BpfCompileMode NONOPTIMIZE
public static BpfProgram.BpfCompileMode[] values()
for (BpfProgram.BpfCompileMode c : BpfProgram.BpfCompileMode.values()) System.out.println(c);
public static BpfProgram.BpfCompileMode 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 namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
Copyright © 2011 - 2018 Pcap4J.org. All rights reserved.