Searched refs:shouldDelete (Results 1 – 3 of 3) sorted by relevance
158 const NetlinkDumpFilter& shouldDelete) { in rtNetlinkFlush() argument170 NetlinkDumpCallback callback = [writeSock, deleteAction, shouldDelete, what] (nlmsghdr *nlh) { in rtNetlinkFlush()171 if (!shouldDelete(nlh)) return; in rtNetlinkFlush()
66 const NetlinkDumpFilter& shouldDelete);
1115 NetlinkDumpFilter shouldDelete = [] (nlmsghdr *nlh) { in flushRules() local1119 return rtNetlinkFlush(RTM_GETRULE, RTM_DELRULE, "rules", shouldDelete); in flushRules()1123 NetlinkDumpFilter shouldDelete = [table] (nlmsghdr *nlh) { in flushRoutes() local1127 return rtNetlinkFlush(RTM_GETROUTE, RTM_DELROUTE, "routes", shouldDelete); in flushRoutes()