Searched refs:NetlinkConstants (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/net/java/android/net/netlink/ |
D | NetlinkMessage.java | 19 import android.net.netlink.NetlinkConstants; 52 int payloadLength = NetlinkConstants.alignedLengthOf(nlmsghdr.nlmsg_len); in parse() 62 case NetlinkConstants.NLMSG_ERROR: in parse() 64 case NetlinkConstants.NLMSG_DONE: in parse() 68 case NetlinkConstants.RTM_NEWNEIGH: in parse() 69 case NetlinkConstants.RTM_DELNEIGH: in parse() 70 case NetlinkConstants.RTM_GETNEIGH: in parse() 73 if (nlmsghdr.nlmsg_type <= NetlinkConstants.NLMSG_MAX_RESERVED) { in parse()
|
D | RtNetlinkNeighborMessage.java | 108 final int kAdditionalSpace = NetlinkConstants.alignedLengthOf( in parse() 130 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_GETNEIGH; in newGetNeighborsRequest() 148 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_NEWNEIGH; in newNewNeighborMessage() 207 spaceRequired += NetlinkConstants.alignedLengthOf( in getRequiredSpace() 211 spaceRequired += NetlinkConstants.alignedLengthOf( in getRequiredSpace() 246 + "linklayeraddr{" + NetlinkConstants.hexify(mLinkLayerAddr) + "} " in toString()
|
D | StructNlAttr.java | 19 import android.net.netlink.NetlinkConstants; 91 return NetlinkConstants.alignedLengthOf(nla_len); in getAlignedLength() 132 + "nla_value{" + NetlinkConstants.hexify(nla_value) + "}, " in toString()
|
D | NetlinkConstants.java | 35 public class NetlinkConstants { class 36 private NetlinkConstants() {} in NetlinkConstants() method in NetlinkConstants
|
D | StructNlMsgHdr.java | 19 import android.net.netlink.NetlinkConstants; 129 + "(" + NetlinkConstants.stringForNlMsgType(nlmsg_type) + ")"; in toString()
|
D | StructNdMsg.java | 19 import android.net.netlink.NetlinkConstants; 154 + "family{" + NetlinkConstants.stringForAddressFamily((int) ndm_family) + "}, " in toString()
|
D | StructNlMsgErr.java | 19 import android.net.netlink.NetlinkConstants;
|
/frameworks/base/services/tests/servicestests/src/android/net/netlink/ |
D | NetlinkErrorMessageTest.java | 23 import android.net.netlink.NetlinkConstants; 67 assertEquals(NetlinkConstants.NLMSG_ERROR, hdr.nlmsg_type); in testParseNlmErrorOk() 77 assertEquals(NetlinkConstants.RTM_NEWNEIGH, err.msg.nlmsg_type); in testParseNlmErrorOk()
|
D | RtNetlinkNeighborMessageTest.java | 19 import android.net.netlink.NetlinkConstants; 149 assertEquals(NetlinkConstants.RTM_DELNEIGH, hdr.nlmsg_type); in testParseRtmDelNeigh() 175 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testParseRtmNewNeigh() 203 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testParseRtmGetNeighResponse()
|
D | NetlinkSocketTest.java | 72 if (hdr.nlmsg_type == NetlinkConstants.NLMSG_DONE) { in testBasicWorkingGetNeighborsQuery() 77 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testBasicWorkingGetNeighborsQuery()
|
/frameworks/base/services/net/java/android/net/ip/ |
D | IpReachabilityMonitor.java | 28 import android.net.netlink.NetlinkConstants; 200 errmsg = "raw bytes: " + NetlinkConstants.hexify(bytes); in probeNeighbor() 496 Log.e(TAG, "unparsable netlink msg: " + NetlinkConstants.hexify(byteBuffer)); in parseNetlinkMessageBuffer() 537 + "[" + NetlinkConstants.hexify(neighMsg.getLinkLayerAddress()) + "], " in evaluateRtNetlinkNeighborMessage() 538 + NetlinkConstants.stringForNlMsgType(msgType) + ", " in evaluateRtNetlinkNeighborMessage() 551 (msgType == NetlinkConstants.RTM_DELNEIGH) in evaluateRtNetlinkNeighborMessage()
|