Home
last modified time | relevance | path

Searched refs:nlmsg_flags (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/net/java/android/net/netlink/
DStructNlMsgHdr.java90 struct.nlmsg_flags = byteBuffer.getShort(); in parse()
103 public short nlmsg_flags; field in StructNlMsgHdr
110 nlmsg_flags = 0; in StructNlMsgHdr()
121 byteBuffer.putShort(nlmsg_flags); in pack()
130 final String flagsStr = "" + nlmsg_flags in toString()
131 + "(" + stringForNlMsgFlags(nlmsg_flags) + ")"; in toString()
DRtNetlinkNeighborMessage.java131 nlmsghdr.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; in newGetNeighborsRequest()
149 nlmsghdr.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE; in newNewNeighborMessage()
/frameworks/base/services/tests/servicestests/src/android/net/netlink/
DRtNetlinkNeighborMessageTest.java150 assertEquals(0, hdr.nlmsg_flags); in testParseRtmDelNeigh()
176 assertEquals(0, hdr.nlmsg_flags); in testParseRtmNewNeigh()
204 assertEquals(StructNlMsgHdr.NLM_F_MULTI, hdr.nlmsg_flags); in testParseRtmGetNeighResponse()
DNetlinkErrorMessageTest.java68 assertEquals(0, hdr.nlmsg_flags); in testParseNlmErrorOk()
78 assertEquals((NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE), err.msg.nlmsg_flags); in testParseNlmErrorOk()
DNetlinkSocketTest.java79 assertTrue((hdr.nlmsg_flags & StructNlMsgHdr.NLM_F_MULTI) != 0); in testBasicWorkingGetNeighborsQuery()