Searched refs:InetDiagMessage (Results 1 – 4 of 4) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | InetDiagSocketTest.java | 78 final byte[] msg = InetDiagMessage.InetDiagReqV2(IPPROTO_UDP, local, remote, AF_INET, in testInetDiagReqV2UdpInet4() 113 byte[] msg = InetDiagMessage.InetDiagReqV2(IPPROTO_TCP, local, remote, AF_INET6, in testInetDiagReqV2TcpInet6() 150 byte[] msg = InetDiagMessage.InetDiagReqV2(IPPROTO_TCP, local, remote, AF_INET, in testInetDiagReqV2TcpInetWithExt() 159 msg = InetDiagMessage.InetDiagReqV2(IPPROTO_TCP, local, remote, AF_INET6, in testInetDiagReqV2TcpInetWithExt() 197 byte[] msgExt = InetDiagMessage.InetDiagReqV2(IPPROTO_TCP, null, null, AF_INET6, in testInetDiagReqV2TcpInet6NoIdSpecified() 201 msg = InetDiagMessage.InetDiagReqV2(IPPROTO_TCP, null, remote, AF_INET6, in testInetDiagReqV2TcpInet6NoIdSpecified() 208 msg = InetDiagMessage.InetDiagReqV2(IPPROTO_TCP, local, null, AF_INET6, in testInetDiagReqV2TcpInet6NoIdSpecified() 214 msg = InetDiagMessage.InetDiagReqV2(IPPROTO_TCP, null, null, AF_INET6, in testInetDiagReqV2TcpInet6NoIdSpecified() 255 assertTrue(msg instanceof InetDiagMessage); in testParseInetDiagResponse() 256 final InetDiagMessage inetDiagMsg = (InetDiagMessage) msg; in testParseInetDiagResponse()
|
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/ |
D | InetDiagMessage.java | 52 public class InetDiagMessage extends NetlinkMessage { class 104 private InetDiagMessage(StructNlMsgHdr header) { in InetDiagMessage() method in InetDiagMessage 109 public static InetDiagMessage parse(StructNlMsgHdr header, ByteBuffer byteBuffer) { in parse() 110 final InetDiagMessage msg = new InetDiagMessage(header); in parse() 128 if (nlMsg instanceof InetDiagMessage) { in lookupUidByFamily() 129 return ((InetDiagMessage) nlMsg).mStructInetDiagMsg.idiag_uid; in lookupUidByFamily()
|
D | NetlinkMessage.java | 66 return (NetlinkMessage) InetDiagMessage.parse(nlmsghdr, byteBuffer); in parse()
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 18 import static android.net.netlink.InetDiagMessage.InetDiagReqV2;
|