|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NAPFlag>
jnetpcap.capture.file.nap.NAPFlag
public enum NAPFlag
Flags that are set within the packet header. The flags are used to mark the packet data to contain certain specific aspects or user defined significance.
| Enum Constant Summary | |
|---|---|
FrameCRC
Packet data contains CRC |
|
FramePreamble
Packet data contains frame pre-amble octets |
|
Imported
Packet was imported from another file or format |
|
MarkedForDeletion
Packet is marked for deletion by the user |
|
ProtocolError
Packet data is marked to contain Protocol error when packet content is decoded. |
|
StructuralError
Packet data is marked to contain structural errors, that is invalid CRC, corrupt headers or other such errors. |
|
UserCustom
A custom flag that is user defined and has no other special meaning. |
|
UserHidden
User has marked the packet to be hidden, that it should not be reported to the user, although the packet is still contained within the file. |
|
UserMark
The user has marked the packet. |
|
UserNoDecode
Decoding of this packet should be skipped. |
|
| Method Summary | |
|---|---|
int |
getFlag()
|
static NAPFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NAPFlag[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NAPFlag Imported
public static final NAPFlag MarkedForDeletion
public static final NAPFlag FramePreamble
public static final NAPFlag FrameCRC
public static final NAPFlag ProtocolError
public static final NAPFlag StructuralError
public static final NAPFlag UserMark
public static final NAPFlag UserHidden
public static final NAPFlag UserNoDecode
public static final NAPFlag UserCustom
| Method Detail |
|---|
public static final NAPFlag[] values()
for(NAPFlag c : NAPFlag.values())
System.out.println(c);
public static NAPFlag 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 namepublic int getFlag()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||