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/tests/net/java/android/net/netlink/
DNetlinkErrorMessageTest.java70 assertEquals(0, hdr.nlmsg_flags); in testParseNlmErrorOk()
80 assertEquals((NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE), err.msg.nlmsg_flags); in testParseNlmErrorOk()
DRtNetlinkNeighborMessageTest.java152 assertEquals(0, hdr.nlmsg_flags); in testParseRtmDelNeigh()
179 assertEquals(0, hdr.nlmsg_flags); in testParseRtmNewNeigh()
208 assertEquals(StructNlMsgHdr.NLM_F_MULTI, hdr.nlmsg_flags); in testParseRtmGetNeighResponse()
DNetlinkSocketTest.java81 assertTrue((hdr.nlmsg_flags & StructNlMsgHdr.NLM_F_MULTI) != 0); in testBasicWorkingGetNeighborsQuery()