Package one.nio.os.bpf
Enum ProgType
- java.lang.Object
-
- java.lang.Enum<ProgType>
-
- one.nio.os.bpf.ProgType
-
- All Implemented Interfaces:
Serializable,Comparable<ProgType>
public enum ProgType extends Enum<ProgType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CGROUP_DEVICECGROUP_SKBCGROUP_SOCKCGROUP_SOCK_ADDRFLOW_DISSECTORKPROBELIRC_MODE2LWT_INLWT_OUTLWT_SEG6LOCALLWT_XMITPERF_EVENTRAW_TRACEPOINTSCHED_ACTSCHED_CLSSK_MSGSK_REUSEPORTSK_SKBSOCK_OPSSOCKET_FILTERTRACEPOINTUNSPECXDP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProgTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ProgType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPEC
public static final ProgType UNSPEC
-
SOCKET_FILTER
public static final ProgType SOCKET_FILTER
-
KPROBE
public static final ProgType KPROBE
-
SCHED_CLS
public static final ProgType SCHED_CLS
-
SCHED_ACT
public static final ProgType SCHED_ACT
-
TRACEPOINT
public static final ProgType TRACEPOINT
-
XDP
public static final ProgType XDP
-
PERF_EVENT
public static final ProgType PERF_EVENT
-
CGROUP_SKB
public static final ProgType CGROUP_SKB
-
CGROUP_SOCK
public static final ProgType CGROUP_SOCK
-
LWT_IN
public static final ProgType LWT_IN
-
LWT_OUT
public static final ProgType LWT_OUT
-
LWT_XMIT
public static final ProgType LWT_XMIT
-
SOCK_OPS
public static final ProgType SOCK_OPS
-
SK_SKB
public static final ProgType SK_SKB
-
CGROUP_DEVICE
public static final ProgType CGROUP_DEVICE
-
SK_MSG
public static final ProgType SK_MSG
-
RAW_TRACEPOINT
public static final ProgType RAW_TRACEPOINT
-
CGROUP_SOCK_ADDR
public static final ProgType CGROUP_SOCK_ADDR
-
LWT_SEG6LOCAL
public static final ProgType LWT_SEG6LOCAL
-
LIRC_MODE2
public static final ProgType LIRC_MODE2
-
SK_REUSEPORT
public static final ProgType SK_REUSEPORT
-
FLOW_DISSECTOR
public static final ProgType FLOW_DISSECTOR
-
-
Method Detail
-
values
public static ProgType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ProgType c : ProgType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProgType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-