HomeSort by relevance Sort by last modified time
    Searched refs:NetlinkConstants (Results 1 - 11 of 11) sorted by null

  /frameworks/base/services/net/java/android/net/netlink/
NetlinkMessage.java 19 import android.net.netlink.NetlinkConstants;
52 int payloadLength = NetlinkConstants.alignedLengthOf(nlmsghdr.nlmsg_len);
61 //case NetlinkConstants.NLMSG_NOOP:
62 case NetlinkConstants.NLMSG_ERROR:
64 case NetlinkConstants.NLMSG_DONE:
67 //case NetlinkConstants.NLMSG_OVERRUN:
68 case NetlinkConstants.RTM_NEWNEIGH:
69 case NetlinkConstants.RTM_DELNEIGH:
70 case NetlinkConstants.RTM_GETNEIGH:
73 if (nlmsghdr.nlmsg_type <= NetlinkConstants.NLMSG_MAX_RESERVED)
    [all...]
NetlinkConstants.java 35 public class NetlinkConstants {
36 private NetlinkConstants() {}
StructNlAttr.java 19 import android.net.netlink.NetlinkConstants;
91 return NetlinkConstants.alignedLengthOf(nla_len);
132 + "nla_value{" + NetlinkConstants.hexify(nla_value) + "}, "
StructNlMsgErr.java 19 import android.net.netlink.NetlinkConstants;
RtNetlinkNeighborMessage.java 108 final int kAdditionalSpace = NetlinkConstants.alignedLengthOf(
130 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_GETNEIGH;
148 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_NEWNEIGH;
207 spaceRequired += NetlinkConstants.alignedLengthOf(
211 spaceRequired += NetlinkConstants.alignedLengthOf(
246 + "linklayeraddr{" + NetlinkConstants.hexify(mLinkLayerAddr) + "} "
StructNdMsg.java 19 import android.net.netlink.NetlinkConstants;
154 + "family{" + NetlinkConstants.stringForAddressFamily((int) ndm_family) + "}, "
StructNlMsgHdr.java 19 import android.net.netlink.NetlinkConstants;
129 + "(" + NetlinkConstants.stringForNlMsgType(nlmsg_type) + ")";
  /frameworks/base/services/tests/servicestests/src/android/net/netlink/
NetlinkErrorMessageTest.java 23 import android.net.netlink.NetlinkConstants;
67 assertEquals(NetlinkConstants.NLMSG_ERROR, hdr.nlmsg_type);
77 assertEquals(NetlinkConstants.RTM_NEWNEIGH, err.msg.nlmsg_type);
RtNetlinkNeighborMessageTest.java 19 import android.net.netlink.NetlinkConstants;
149 assertEquals(NetlinkConstants.RTM_DELNEIGH, hdr.nlmsg_type);
175 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type);
203 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type);
NetlinkSocketTest.java 72 if (hdr.nlmsg_type == NetlinkConstants.NLMSG_DONE) {
77 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type);
  /frameworks/base/services/net/java/android/net/ip/
IpReachabilityMonitor.java 29 import android.net.netlink.NetlinkConstants;
203 errmsg = "raw bytes: " + NetlinkConstants.hexify(bytes);
511 Log.e(TAG, "unparsable netlink msg: " + NetlinkConstants.hexify(byteBuffer));
552 + "[" + NetlinkConstants.hexify(neighMsg.getLinkLayerAddress()) + "], "
553 + NetlinkConstants.stringForNlMsgType(msgType) + ", "
566 (msgType == NetlinkConstants.RTM_DELNEIGH)

Completed in 3099 milliseconds