Searched refs:NetlinkSocket (Results 1 – 6 of 6) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | NetlinkSocketTest.java | 19 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/ |
D | InetDiagMessage.java | 20 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()
|
D | NetlinkSocket.java | 51 public class NetlinkSocket { class
|
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/ |
D | NetlinkMonitor.java | 28 import android.net.netlink.NetlinkSocket; 73 super(h, NetlinkSocket.DEFAULT_RECV_BUFSIZE); in NetlinkMonitor() 87 NetlinkSocket.connectToKernel(fd); in createFd()
|
D | IpNeighborMonitor.java | 26 import android.net.netlink.NetlinkSocket; 69 NetlinkSocket.sendOneShotKernelMessage(NETLINK_ROUTE, msg); in startKernelNeighborProbe()
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 46 import android.net.netlink.NetlinkSocket; 589 return NetlinkSocket.recvMessage(fd, DEFAULT_RECV_BUFSIZE, IO_TIMEOUT); in recvMessage()
|