Home
last modified time | relevance | path

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

/system/netd/server/
DNetlinkCommands.cpp165 int writeSock = openNetlinkSocket(NETLINK_ROUTE); in rtNetlinkFlush() local
166 if (writeSock < 0) { in rtNetlinkFlush()
167 return writeSock; in rtNetlinkFlush()
170 NetlinkDumpCallback callback = [writeSock, deleteAction, shouldDelete, what] (nlmsghdr *nlh) { in rtNetlinkFlush()
175 if (write(writeSock, nlh, nlh->nlmsg_len) == -1) { in rtNetlinkFlush()
180 int ret = recvNetlinkAck(writeSock); in rtNetlinkFlush()
207 close(writeSock); in rtNetlinkFlush()