Home
last modified time | relevance | path

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

/system/netd/server/
DNetlinkCommands.cpp156 int writeSock = openNetlinkSocket(NETLINK_ROUTE); in rtNetlinkFlush() local
157 if (writeSock < 0) { in rtNetlinkFlush()
158 return writeSock; in rtNetlinkFlush()
161 NetlinkDumpCallback callback = [writeSock, deleteAction, shouldDelete, what] (nlmsghdr *nlh) { in rtNetlinkFlush()
166 if (write(writeSock, nlh, nlh->nlmsg_len) == -1) { in rtNetlinkFlush()
171 int ret = recvNetlinkAck(writeSock); in rtNetlinkFlush()
198 close(writeSock); in rtNetlinkFlush()