Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNlMsgHdr.java93 struct.nlmsg_flags = byteBuffer.getShort(); in parse()
106 public short nlmsg_flags; field in StructNlMsgHdr
113 nlmsg_flags = 0; in StructNlMsgHdr()
124 byteBuffer.putShort(nlmsg_flags); in pack()
148 final String flagsStr = "" + nlmsg_flags in toString()
149 + "(" + stringForNlMsgFlags(nlmsg_flags) + ")"; in toString()
DRtNetlinkNeighborMessage.java108 nlmsghdr.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; in newGetNeighborsRequest()
126 nlmsghdr.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE; in newNewNeighborMessage()
DInetDiagMessage.java93 nlMsgHdr.nlmsg_flags = flags; in InetDiagReqV2()
DConntrackMessage.java210 ctmsg.mHeader.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE; in newIPv4TimeoutUpdateRequest()
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DRtNetlinkNeighborMessageTest.java94 assertEquals(0, hdr.nlmsg_flags); in testParseRtmDelNeigh()
121 assertEquals(0, hdr.nlmsg_flags); in testParseRtmNewNeigh()
150 assertEquals(StructNlMsgHdr.NLM_F_MULTI, hdr.nlmsg_flags); in testParseRtmGetNeighResponse()
DNetlinkErrorMessageTest.java81 assertEquals(0, hdr.nlmsg_flags); in testParseNlmErrorOk()
91 assertEquals((NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE), err.msg.nlmsg_flags); in testParseNlmErrorOk()
DConntrackMessageTest.java161 | StructNlMsgHdr.NLM_F_ACK), hdr.nlmsg_flags); in testConntrackParseIPv4TcpTimeoutUpdate()
210 | StructNlMsgHdr.NLM_F_ACK), hdr.nlmsg_flags); in testConntrackParseIPv4UdpTimeoutUpdate()
304 hdr.nlmsg_flags); in testParseCtNew()
DStructNlMsgHdrTest.java54 struct.nlmsg_flags = TEST_NLMSG_FLAGS; in makeStructNlMsgHdr()
DNetlinkSocketTest.java92 assertTrue((hdr.nlmsg_flags & StructNlMsgHdr.NLM_F_MULTI) != 0); in testBasicWorkingGetNeighborsQuery()
DInetDiagSocketTest.java263 assertEquals(StructNlMsgHdr.NLM_F_MULTI, hdr.nlmsg_flags); in testParseInetDiagResponse()
/packages/modules/Connectivity/Tethering/jni/
Dcom_android_networkstack_tethering_BpfUtils.cpp235 .nlmsg_flags = NETLINK_REQUEST_FLAGS | NLM_F_EXCL | NLM_F_CREATE, in com_android_networkstack_tethering_BpfUtils_tcFilterAddDevBpf()
317 .nlmsg_flags = NETLINK_REQUEST_FLAGS, in com_android_networkstack_tethering_BpfUtils_tcFilterDelDev()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java337 nlh.nlmsg_flags = flags; in sendIpv4NfGenMsg()