Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNlMsgHdr.java89 struct.nlmsg_flags = byteBuffer.getShort(); in parse()
102 public short nlmsg_flags; field in StructNlMsgHdr
109 nlmsg_flags = 0; in StructNlMsgHdr()
120 byteBuffer.putShort(nlmsg_flags); in pack()
129 final String flagsStr = "" + nlmsg_flags in toString()
130 + "(" + stringForNlMsgFlags(nlmsg_flags) + ")"; in toString()
DRtNetlinkNeighborMessage.java125 nlmsghdr.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; in newGetNeighborsRequest()
143 nlmsghdr.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE; in newNewNeighborMessage()
DConntrackMessage.java88 ctmsg.mHeader.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE; in newIPv4TimeoutUpdateRequest()
DInetDiagMessage.java93 nlMsgHdr.nlmsg_flags = flags; in InetDiagReqV2()
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DRtNetlinkNeighborMessageTest.java93 assertEquals(0, hdr.nlmsg_flags); in testParseRtmDelNeigh()
120 assertEquals(0, hdr.nlmsg_flags); in testParseRtmNewNeigh()
149 assertEquals(StructNlMsgHdr.NLM_F_MULTI, hdr.nlmsg_flags); in testParseRtmGetNeighResponse()
DNetlinkErrorMessageTest.java80 assertEquals(0, hdr.nlmsg_flags); in testParseNlmErrorOk()
90 assertEquals((NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE), err.msg.nlmsg_flags); in testParseNlmErrorOk()
DNetlinkSocketTest.java92 assertTrue((hdr.nlmsg_flags & StructNlMsgHdr.NLM_F_MULTI) != 0); in testBasicWorkingGetNeighborsQuery()
DInetDiagSocketTest.java262 assertEquals(StructNlMsgHdr.NLM_F_MULTI, hdr.nlmsg_flags); in testParseInetDiagResponse()