Lines Matching defs:ret
288 if (int ret = padInterfaceName(iif, iifName, &iifLength, &iifPadding)) { in modifyIpRule() local
291 if (int ret = padInterfaceName(oif, oifName, &oifLength, &oifPadding)) { in modifyIpRule() local
346 if (int ret = sendNetlinkRequest(action, flags, iov, ARRAY_SIZE(iov), nullptr)) { in modifyIpRule() local
468 int ret = sendNetlinkRequest(action, flags, iov, ARRAY_SIZE(iov), nullptr); in modifyIpRoute() local
612 if (const int ret = modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_LOCAL_NETWORK, in modifyLocalNetworkRule() local
646 if (int ret = modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_VPN_OVERRIDE_OIF, in modifyOutputInterfaceRules() local
703 if (int ret = modifyRoute(RTM_NEWROUTE, NETLINK_ROUTE_CREATE_FLAGS, interface, in addFixedLocalRoutes() local
748 if (int ret = modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LEGACY_SYSTEM, ROUTE_TABLE_LEGACY_SYSTEM, in addLegacyRouteRules() local
752 if (int ret = modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LEGACY_NETWORK, in addLegacyRouteRules() local
767 if (int ret = modifyExplicitNetworkRule(localNetId, ROUTE_TABLE_LOCAL_NETWORK, PERMISSION_NONE, in addLocalNetworkRules() local
793 int ret = ifc_up(interface); in configureDummyNetwork() local
830 if (int ret = modifyIncomingPacketMark(netId, interface, PERMISSION_NONE, add)) { in modifyLocalNetwork() local
900 if (int ret = modifyUidNetworkRule(netId, table, range.start, range.stop, subPriority, in modifyPhysicalNetwork() local
904 if (int ret = modifyUidNetworkRule(netId, table, range.start, range.stop, subPriority, in modifyPhysicalNetwork() local
911 if (int ret = modifyUidDefaultNetworkRule(table, range.start, range.stop, in modifyPhysicalNetwork() local
919 if (int ret = modifyUidLocalNetworkRule(interface, range.start, range.stop, add)) { in modifyPhysicalNetwork() local
931 if (int ret = modifyIncomingPacketMark(netId, interface, permission, add)) { in modifyPhysicalNetwork() local
934 if (int ret = modifyExplicitNetworkRule(netId, table, permission, INVALID_UID, INVALID_UID, in modifyPhysicalNetwork() local
939 if (const int ret = modifyLocalNetworkRule(table, add)) { in modifyPhysicalNetwork() local
943 if (int ret = modifyOutputInterfaceRules(interface, table, permission, INVALID_UID, INVALID_UID, in modifyPhysicalNetwork() local
1055 if (int ret = modifyUidUnreachableRule(netId, range.start, range.stop, subPriority, add, in modifyUnreachableNetwork() local
1059 if (int ret = modifyUidUnreachableRule(netId, range.start, range.stop, subPriority, add, in modifyUnreachableNetwork() local
1063 if (int ret = modifyUidDefaultUnreachableRule(range.start, range.stop, subPriority, in modifyUnreachableNetwork() local
1080 if (int ret = modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_PROHIBIT_NON_VPN, in modifyRejectNonSecureNetworkRule() local
1100 if (int ret = modifyVpnUidRangeRule(table, range.start, range.stop, subPriority, secure, in modifyVirtualNetwork() local
1104 if (int ret = modifyExplicitNetworkRule(netId, table, PERMISSION_NONE, range.start, in modifyVirtualNetwork() local
1108 if (int ret = modifyOutputInterfaceRules(interface, table, PERMISSION_NONE, range.start, in modifyVirtualNetwork() local
1116 if (int ret = modifyIncomingPacketMark(netId, interface, PERMISSION_NONE, add)) { in modifyVirtualNetwork() local
1119 if (int ret = modifyVpnOutputToLocalRule(interface, add)) { in modifyVirtualNetwork() local
1122 if (int ret = in modifyVirtualNetwork() local
1192 int ret = modifyIpRoute(action, flags, table, interface, destination, nexthop, mtu, priority); in modifyRoute() local
1217 if (int ret = tcQdiscAddDevClsact(ifindex)) { in maybeModifyQdiscClsact() local
1222 if (int ret = tcQdiscDelDevClsact(ifindex)) { in maybeModifyQdiscClsact() local
1232 int ret = 0; in clearTetheringRules() local
1275 int ret = flushRoutes(interface, true); in flushRoutes() local
1289 int ret = flushRoutes(table); in flushRoutes() local
1302 if (int ret = flushRules()) { in Init() local
1305 if (int ret = addLegacyRouteRules()) { in Init() local
1308 if (int ret = addLocalNetworkRules(localNetId)) { in Init() local
1311 if (int ret = addUnreachableRule()) { in Init() local
1322 if (int ret = modifyLocalNetwork(netId, interface, ACTION_ADD)) { in addInterfaceToLocalNetwork() local
1331 if (int ret = modifyLocalNetwork(netId, interface, ACTION_DEL)) { in removeInterfaceFromLocalNetwork() local
1342 if (int ret = modifyPhysicalNetwork(netId, interface, uidRangeMap, permission, ACTION_ADD, in addInterfaceToPhysicalNetwork() local
1350 if (int ret = addFixedLocalRoutes(interface)) { in addInterfaceToPhysicalNetwork() local
1361 if (int ret = modifyPhysicalNetwork(netId, interface, uidRangeMap, permission, ACTION_DEL, in removeInterfaceFromPhysicalNetwork() local
1366 if (int ret = flushRoutes(interface)) { in removeInterfaceFromPhysicalNetwork() local
1370 if (int ret = clearTetheringRules(interface)) { in removeInterfaceFromPhysicalNetwork() local
1382 if (int ret = modifyVirtualNetwork(netId, interface, uidRangeMap, secure, ACTION_ADD, in addInterfaceToVirtualNetwork() local
1393 if (int ret = modifyVirtualNetwork(netId, interface, uidRangeMap, secure, ACTION_DEL, in removeInterfaceFromVirtualNetwork() local
1397 if (int ret = flushRoutes(interface)) { in removeInterfaceFromVirtualNetwork() local
1411 if (int ret = modifyPhysicalNetwork(netId, interface, emptyUidRangeMap, newPermission, in modifyPhysicalNetworkPermission() local
1471 if (int ret = modifyRoute(RTM_NEWROUTE, NETLINK_ROUTE_CREATE_FLAGS, interface, destination, in addRoute() local
1486 if (int ret = modifyRoute(RTM_DELROUTE, NETLINK_REQUEST_FLAGS, interface, destination, nexthop, in removeRoute() local
1500 if (int ret = modifyRoute(RTM_NEWROUTE, NETLINK_ROUTE_REPLACE_FLAGS, interface, destination, in updateRoute() local
1522 if (int ret = modifyVpnFallthroughRule(RTM_NEWRULE, vpnNetId, physicalInterface, permission)) { in addVirtualNetworkFallthrough() local
1532 if (int ret = modifyVpnFallthroughRule(RTM_DELRULE, vpnNetId, physicalInterface, permission)) { in removeVirtualNetworkFallthrough() local