Lines Matching defs:ret

261     if (int ret = padInterfaceName(iif, iifName, &iifLength, &iifPadding)) {  in modifyIpRule()  local
264 if (int ret = padInterfaceName(oif, oifName, &oifLength, &oifPadding)) { in modifyIpRule() local
319 if (int ret = sendNetlinkRequest(action, flags, iov, ARRAY_SIZE(iov), nullptr)) { in modifyIpRule() local
442 int ret = sendNetlinkRequest(action, flags, iov, ARRAY_SIZE(iov), nullptr); in modifyIpRoute() local
583 if (int ret = modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_VPN_OVERRIDE_OIF, in modifyOutputInterfaceRules() local
652 if (int ret = modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LEGACY_SYSTEM, ROUTE_TABLE_LEGACY_SYSTEM, in addLegacyRouteRules() local
656 if (int ret = modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LEGACY_NETWORK, in addLegacyRouteRules() local
671 if (int ret = modifyExplicitNetworkRule(localNetId, ROUTE_TABLE_LOCAL_NETWORK, PERMISSION_NONE, in addLocalNetworkRules() local
697 int ret = ifc_up(interface); in configureDummyNetwork() local
734 if (int ret = modifyIncomingPacketMark(netId, interface, PERMISSION_NONE, add)) { in modifyLocalNetwork() local
804 if (int ret = modifyUidNetworkRule(netId, table, range.start, range.stop, subPriority, in modifyPhysicalNetwork() local
808 if (int ret = modifyUidNetworkRule(netId, table, range.start, range.stop, subPriority, in modifyPhysicalNetwork() local
812 if (int ret = modifyUidDefaultNetworkRule(table, range.start, range.stop, subPriority, in modifyPhysicalNetwork() local
824 if (int ret = modifyIncomingPacketMark(netId, interface, permission, add)) { in modifyPhysicalNetwork() local
827 if (int ret = modifyExplicitNetworkRule(netId, table, permission, INVALID_UID, INVALID_UID, in modifyPhysicalNetwork() local
831 if (int ret = modifyOutputInterfaceRules(interface, table, permission, INVALID_UID, INVALID_UID, in modifyPhysicalNetwork() local
917 if (int ret = modifyUidUnreachableRule(netId, range.start, range.stop, subPriority, add, in modifyUnreachableNetwork() local
921 if (int ret = modifyUidUnreachableRule(netId, range.start, range.stop, subPriority, add, in modifyUnreachableNetwork() local
925 if (int ret = modifyUidDefaultUnreachableRule(range.start, range.stop, subPriority, in modifyUnreachableNetwork() local
942 if (int ret = modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_PROHIBIT_NON_VPN, in modifyRejectNonSecureNetworkRule() local
962 if (int ret = modifyVpnUidRangeRule(table, range.start, range.stop, subPriority, secure, in modifyVirtualNetwork() local
966 if (int ret = modifyExplicitNetworkRule(netId, table, PERMISSION_NONE, range.start, in modifyVirtualNetwork() local
970 if (int ret = modifyOutputInterfaceRules(interface, table, PERMISSION_NONE, range.start, in modifyVirtualNetwork() local
978 if (int ret = modifyIncomingPacketMark(netId, interface, PERMISSION_NONE, add)) { in modifyVirtualNetwork() local
981 if (int ret = modifyVpnOutputToLocalRule(interface, add)) { in modifyVirtualNetwork() local
984 if (int ret = modifyVpnSystemPermissionRule(netId, table, secure, add)) { in modifyVirtualNetwork() local
1053 int ret = modifyIpRoute(action, flags, table, interface, destination, nexthop, mtu); in modifyRoute() local
1078 if (int ret = tcQdiscAddDevClsact(ifindex)) { in maybeModifyQdiscClsact() local
1083 if (int ret = tcQdiscDelDevClsact(ifindex)) { in maybeModifyQdiscClsact() local
1093 int ret = 0; in clearTetheringRules() local
1139 int ret = flushRoutes(table); in flushRoutes() local
1151 if (int ret = flushRules()) { in Init() local
1154 if (int ret = addLegacyRouteRules()) { in Init() local
1157 if (int ret = addLocalNetworkRules(localNetId)) { in Init() local
1160 if (int ret = addUnreachableRule()) { in Init() local
1171 if (int ret = modifyLocalNetwork(netId, interface, ACTION_ADD)) { in addInterfaceToLocalNetwork() local
1180 if (int ret = modifyLocalNetwork(netId, interface, ACTION_DEL)) { in removeInterfaceFromLocalNetwork() local
1191 if (int ret = modifyPhysicalNetwork(netId, interface, uidRangeMap, permission, ACTION_ADD, in addInterfaceToPhysicalNetwork() local
1203 if (int ret = modifyPhysicalNetwork(netId, interface, uidRangeMap, permission, ACTION_DEL, in removeInterfaceFromPhysicalNetwork() local
1207 if (int ret = flushRoutes(interface)) { in removeInterfaceFromPhysicalNetwork() local
1210 if (int ret = clearTetheringRules(interface)) { in removeInterfaceFromPhysicalNetwork() local
1220 if (int ret = modifyVirtualNetwork(netId, interface, uidRangeMap, secure, ACTION_ADD, in addInterfaceToVirtualNetwork() local
1231 if (int ret = modifyVirtualNetwork(netId, interface, uidRangeMap, secure, ACTION_DEL, in removeInterfaceFromVirtualNetwork() local
1235 if (int ret = flushRoutes(interface)) { in removeInterfaceFromVirtualNetwork() local
1249 if (int ret = modifyPhysicalNetwork(netId, interface, emptyUidRangeMap, newPermission, in modifyPhysicalNetworkPermission() local