Searched refs:NetlinkConstants (Results 1 – 19 of 19) sorted by relevance
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/ |
D | NetlinkMessage.java | 45 int payloadLength = NetlinkConstants.alignedLengthOf(nlmsghdr.nlmsg_len); in parse() 55 case NetlinkConstants.NLMSG_ERROR: in parse() 57 case NetlinkConstants.NLMSG_DONE: in parse() 61 case NetlinkConstants.RTM_NEWNEIGH: in parse() 62 case NetlinkConstants.RTM_DELNEIGH: in parse() 63 case NetlinkConstants.RTM_GETNEIGH: in parse() 65 case NetlinkConstants.SOCK_DIAG_BY_FAMILY: in parse() 67 case NetlinkConstants.RTM_NEWNDUSEROPT: in parse() 70 if (nlmsghdr.nlmsg_type <= NetlinkConstants.NLMSG_MAX_RESERVED) { in parse()
|
D | RtNetlinkNeighborMessage.java | 102 final int kAdditionalSpace = NetlinkConstants.alignedLengthOf( in parse() 124 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_GETNEIGH; in newGetNeighborsRequest() 142 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_NEWNEIGH; in newNewNeighborMessage() 201 spaceRequired += NetlinkConstants.alignedLengthOf( in getRequiredSpace() 205 spaceRequired += NetlinkConstants.alignedLengthOf( in getRequiredSpace() 240 + "linklayeraddr{" + NetlinkConstants.hexify(mLinkLayerAddr) + "} " in toString()
|
D | StructInetDiagReqV2.java | 85 final String familyStr = NetlinkConstants.stringForAddressFamily(mSdiagFamily); in toString() 86 final String protocolStr = NetlinkConstants.stringForAddressFamily(mSdiagProtocol); in toString()
|
D | NetlinkConstants.java | 34 public class NetlinkConstants { class 35 private NetlinkConstants() {} in NetlinkConstants() method in NetlinkConstants
|
D | StructNlAttr.java | 152 return NetlinkConstants.alignedLengthOf(nla_len); in getAlignedLength() 205 + "nla_value{" + NetlinkConstants.hexify(nla_value) + "}, " in toString()
|
D | InetDiagMessage.java | 19 import static android.net.netlink.NetlinkConstants.SOCK_DIAG_BY_FAMILY; 125 if (hdr.nlmsg_type == NetlinkConstants.NLMSG_DONE) { in lookupUidByFamily()
|
D | StructNlMsgHdr.java | 128 + "(" + NetlinkConstants.stringForNlMsgType(nlmsg_type) + ")"; in toString()
|
D | StructNdMsg.java | 158 + "family{" + NetlinkConstants.stringForAddressFamily((int) ndm_family) + "}, " in toString()
|
D | NetlinkSocket.java | 84 errmsg = "raw bytes: " + NetlinkConstants.hexify(bytes); in sendOneShotKernelMessage()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | RtNetlinkNeighborMessageTest.java | 28 import android.net.netlink.NetlinkConstants; 92 assertEquals(NetlinkConstants.RTM_DELNEIGH, hdr.nlmsg_type); in testParseRtmDelNeigh() 119 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testParseRtmNewNeigh() 148 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testParseRtmGetNeighResponse()
|
D | NetlinkErrorMessageTest.java | 27 import android.net.netlink.NetlinkConstants; 79 assertEquals(NetlinkConstants.NLMSG_ERROR, hdr.nlmsg_type); in testParseNlmErrorOk() 89 assertEquals(NetlinkConstants.RTM_NEWNEIGH, err.msg.nlmsg_type); in testParseNlmErrorOk()
|
D | NetlinkTestUtils.kt | 19 import android.net.netlink.NetlinkConstants.RTM_DELNEIGH 20 import android.net.netlink.NetlinkConstants.RTM_NEWNEIGH
|
D | NetlinkSocketTest.java | 85 if (hdr.nlmsg_type == NetlinkConstants.NLMSG_DONE) { in testBasicWorkingGetNeighborsQuery() 90 assertEquals(NetlinkConstants.RTM_NEWNEIGH, hdr.nlmsg_type); in testBasicWorkingGetNeighborsQuery()
|
D | InetDiagSocketTest.java | 261 assertEquals(NetlinkConstants.SOCK_DIAG_BY_FAMILY, hdr.nlmsg_type); in testParseInetDiagResponse()
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 19 import static android.net.netlink.NetlinkConstants.INET_DIAG_MEMINFO; 20 import static android.net.netlink.NetlinkConstants.NLMSG_DONE; 21 import static android.net.netlink.NetlinkConstants.SOCKDIAG_MSG_HEADER_SIZE; 22 import static android.net.netlink.NetlinkConstants.SOCK_DIAG_BY_FAMILY; 45 import android.net.netlink.NetlinkConstants; 427 buffer.position(cur + NetlinkConstants.alignedLengthOf(len)); in skipRemainingAttributesBytesAligned()
|
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/ |
D | IpNeighborMonitor.java | 19 import static android.net.netlink.NetlinkConstants.RTM_DELNEIGH; 20 import static android.net.netlink.NetlinkConstants.hexify; 21 import static android.net.netlink.NetlinkConstants.stringForNlMsgType;
|
D | NetlinkMonitor.java | 19 import static android.net.netlink.NetlinkConstants.hexify;
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClientLinkObserver.java | 31 import android.net.netlink.NetlinkConstants; 303 super(h, log, tag, OsConstants.NETLINK_ROUTE, NetlinkConstants.RTMGRP_ND_USEROPT); in MyNetlinkMonitor()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/ |
D | TcpSocketTrackerTest.java | 19 import static android.net.netlink.NetlinkConstants.SOCKDIAG_MSG_HEADER_SIZE;
|