Home
last modified time | relevance | path

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

/system/netd/server/
DNetlinkCommands.cpp157 int writeSock = openNetlinkSocket(NETLINK_ROUTE); in rtNetlinkFlush() local
158 if (writeSock < 0) { in rtNetlinkFlush()
159 return writeSock; in rtNetlinkFlush()
162 NetlinkDumpCallback callback = [writeSock, deleteAction, shouldDelete, what] (nlmsghdr *nlh) { in rtNetlinkFlush()
167 if (write(writeSock, nlh, nlh->nlmsg_len) == -1) { in rtNetlinkFlush()
172 int ret = recvNetlinkAck(writeSock); in rtNetlinkFlush()
199 close(writeSock); in rtNetlinkFlush()