Home
last modified time | relevance | path

Searched refs:NetlinkSocket (Results 1 – 6 of 6) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DNetlinkSocketTest.java19 import static android.net.netlink.NetlinkSocket.DEFAULT_RECV_BUFSIZE;
26 import android.net.netlink.NetlinkSocket;
51 final FileDescriptor fd = NetlinkSocket.forProto(NETLINK_ROUTE); in testBasicWorkingGetNeighborsQuery()
54 NetlinkSocket.connectToKernel(fd); in testBasicWorkingGetNeighborsQuery()
66 assertEquals(req.length, NetlinkSocket.sendMessage(fd, req, 0, req.length, TIMEOUT)); in testBasicWorkingGetNeighborsQuery()
72 ByteBuffer response = NetlinkSocket.recvMessage(fd, DEFAULT_RECV_BUFSIZE, TIMEOUT); in testBasicWorkingGetNeighborsQuery()
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DInetDiagMessage.java20 import static android.net.netlink.NetlinkSocket.DEFAULT_RECV_BUFSIZE;
120 NetlinkSocket.sendMessage(fd, msg, 0, msg.length, TIMEOUT_MS); in lookupUidByFamily()
121 ByteBuffer response = NetlinkSocket.recvMessage(fd, DEFAULT_RECV_BUFSIZE, TIMEOUT_MS); in lookupUidByFamily()
195 fd = NetlinkSocket.forProto(NETLINK_INET_DIAG); in getConnectionOwnerUid()
196 NetlinkSocket.connectToKernel(fd); in getConnectionOwnerUid()
DNetlinkSocket.java51 public class NetlinkSocket { class
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DNetlinkMonitor.java28 import android.net.netlink.NetlinkSocket;
73 super(h, NetlinkSocket.DEFAULT_RECV_BUFSIZE); in NetlinkMonitor()
87 NetlinkSocket.connectToKernel(fd); in createFd()
DIpNeighborMonitor.java26 import android.net.netlink.NetlinkSocket;
69 NetlinkSocket.sendOneShotKernelMessage(NETLINK_ROUTE, msg); in startKernelNeighborProbe()
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java46 import android.net.netlink.NetlinkSocket;
589 return NetlinkSocket.recvMessage(fd, DEFAULT_RECV_BUFSIZE, IO_TIMEOUT); in recvMessage()