public class StructNdMsg extends Object
Modifier and Type | Field and Description |
---|---|
byte |
ndm_family |
byte |
ndm_flags |
int |
ndm_ifindex |
short |
ndm_state |
byte |
ndm_type |
static byte |
NTF_MASTER |
static byte |
NTF_PROXY |
static byte |
NTF_ROUTER |
static byte |
NTF_SELF |
static byte |
NTF_USE |
static short |
NUD_DELAY |
static short |
NUD_FAILED |
static short |
NUD_INCOMPLETE |
static short |
NUD_NOARP |
static short |
NUD_NONE |
static short |
NUD_PERMANENT |
static short |
NUD_PROBE |
static short |
NUD_REACHABLE |
static short |
NUD_STALE |
static int |
STRUCT_SIZE |
Constructor and Description |
---|
StructNdMsg() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isNudStateConnected(short nudState) |
boolean |
nudConnected() |
boolean |
nudValid() |
void |
pack(ByteBuffer byteBuffer) |
static StructNdMsg |
parse(ByteBuffer byteBuffer) |
static String |
stringForNudFlags(byte flags) |
static String |
stringForNudState(short nudState) |
String |
toString()
Returns a string representation of the object.
|
public static final int STRUCT_SIZE
public static final short NUD_NONE
public static final short NUD_INCOMPLETE
public static final short NUD_REACHABLE
public static final short NUD_STALE
public static final short NUD_DELAY
public static final short NUD_PROBE
public static final short NUD_FAILED
public static final short NUD_NOARP
public static final short NUD_PERMANENT
public static byte NTF_USE
public static byte NTF_SELF
public static byte NTF_MASTER
public static byte NTF_PROXY
public static byte NTF_ROUTER
public byte ndm_family
public int ndm_ifindex
public short ndm_state
public byte ndm_flags
public byte ndm_type
public static String stringForNudState(short nudState)
public static boolean isNudStateConnected(short nudState)
public static String stringForNudFlags(byte flags)
public static StructNdMsg parse(ByteBuffer byteBuffer)
public void pack(ByteBuffer byteBuffer)
public boolean nudConnected()
public boolean nudValid()
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())