Home
last modified time | relevance | path

Searched refs:nlmsg_type (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/net/java/android/net/netlink/
DStructNlMsgHdr.java89 struct.nlmsg_type = byteBuffer.getShort(); in parse()
102 public short nlmsg_type; field in StructNlMsgHdr
109 nlmsg_type = 0; in StructNlMsgHdr()
120 byteBuffer.putShort(nlmsg_type); in pack()
128 final String typeStr = "" + nlmsg_type in toString()
129 + "(" + NetlinkConstants.stringForNlMsgType(nlmsg_type) + ")"; in toString()
DNetlinkMessage.java60 switch (nlmsghdr.nlmsg_type) { in parse()
73 if (nlmsghdr.nlmsg_type <= NetlinkConstants.NLMSG_MAX_RESERVED) { in parse()
DRtNetlinkNeighborMessage.java130 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_GETNEIGH; in newGetNeighborsRequest()
148 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_NEWNEIGH; in newNewNeighborMessage()
/frameworks/base/services/tests/servicestests/src/android/net/netlink/
DRtNetlinkNeighborMessageTest.java149 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()
DNetlinkErrorMessageTest.java67 assertEquals(NetlinkConstants.NLMSG_ERROR, hdr.nlmsg_type); in testParseNlmErrorOk()
77 assertEquals(NetlinkConstants.RTM_NEWNEIGH, err.msg.nlmsg_type); in testParseNlmErrorOk()
DNetlinkSocketTest.java72 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/
DIpReachabilityMonitor.java532 final short msgType = neighMsg.getHeader().nlmsg_type; in evaluateRtNetlinkNeighborMessage()