Searched refs:nlSocket (Results 1 – 1 of 1) sorted by relevance
283 FileDescriptor nlSocket = Libcore.os.socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in test_NetlinkSocket() local284 Libcore.os.bind(nlSocket, new NetlinkSocketAddress()); in test_NetlinkSocket()285 NetlinkSocketAddress address = (NetlinkSocketAddress) Libcore.os.getsockname(nlSocket); in test_NetlinkSocket()290 Libcore.os.connect(nlSocket, nlKernel); in test_NetlinkSocket()291 NetlinkSocketAddress nlPeer = (NetlinkSocketAddress) Libcore.os.getpeername(nlSocket); in test_NetlinkSocket()294 Libcore.os.close(nlSocket); in test_NetlinkSocket()