public class NetlinkConstants extends Object
Modifier and Type | Field and Description |
---|---|
static int |
NLA_ALIGNTO |
static short |
NLMSG_DONE |
static short |
NLMSG_ERROR |
static short |
NLMSG_MAX_RESERVED |
static short |
NLMSG_NOOP |
static short |
NLMSG_OVERRUN |
static short |
RTM_DELADDR |
static short |
RTM_DELLINK |
static short |
RTM_DELNEIGH |
static short |
RTM_DELROUTE |
static short |
RTM_DELRULE |
static short |
RTM_GETADDR |
static short |
RTM_GETLINK |
static short |
RTM_GETNEIGH |
static short |
RTM_GETROUTE |
static short |
RTM_GETRULE |
static short |
RTM_NEWADDR |
static short |
RTM_NEWLINK |
static short |
RTM_NEWNDUSEROPT |
static short |
RTM_NEWNEIGH |
static short |
RTM_NEWROUTE |
static short |
RTM_NEWRULE |
static short |
RTM_SETLINK |
Modifier and Type | Method and Description |
---|---|
static int |
alignedLengthOf(int length) |
static int |
alignedLengthOf(short length) |
static String |
hexify(byte[] bytes) |
static String |
hexify(ByteBuffer buffer) |
static String |
stringForAddressFamily(int family) |
static String |
stringForNlMsgType(short nlm_type) |
public static final int NLA_ALIGNTO
public static final short NLMSG_NOOP
public static final short NLMSG_ERROR
public static final short NLMSG_DONE
public static final short NLMSG_OVERRUN
public static final short NLMSG_MAX_RESERVED
public static final short RTM_NEWLINK
public static final short RTM_DELLINK
public static final short RTM_GETLINK
public static final short RTM_SETLINK
public static final short RTM_NEWADDR
public static final short RTM_DELADDR
public static final short RTM_GETADDR
public static final short RTM_NEWROUTE
public static final short RTM_DELROUTE
public static final short RTM_GETROUTE
public static final short RTM_NEWNEIGH
public static final short RTM_DELNEIGH
public static final short RTM_GETNEIGH
public static final short RTM_NEWRULE
public static final short RTM_DELRULE
public static final short RTM_GETRULE
public static final short RTM_NEWNDUSEROPT
public static final int alignedLengthOf(short length)
public static final int alignedLengthOf(int length)
public static String stringForAddressFamily(int family)
public static String hexify(byte[] bytes)
public static String hexify(ByteBuffer buffer)
public static String stringForNlMsgType(short nlm_type)