Searched refs:nlSocket (Results 1 – 1 of 1) sorted by relevance
579 FileDescriptor nlSocket = Os.socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in test_NetlinkSocket() local581 Os.bind(nlSocket, new NetlinkSocketAddress()); in test_NetlinkSocket()590 Os.connect(nlSocket, nlKernel); in test_NetlinkSocket()591 NetlinkSocketAddress nlPeer = (NetlinkSocketAddress) Os.getpeername(nlSocket); in test_NetlinkSocket()594 Os.close(nlSocket); in test_NetlinkSocket()