Lines Matching defs:ret
276 if (int ret = padInterfaceName(iif, iifName, &iifLength, &iifPadding)) { in modifyIpRule() local
279 if (int ret = padInterfaceName(oif, oifName, &oifLength, &oifPadding)) { in modifyIpRule() local
334 if (int ret = sendNetlinkRequest(action, flags, iov, ARRAY_SIZE(iov), nullptr)) { in modifyIpRule() local
457 int ret = sendNetlinkRequest(action, flags, iov, ARRAY_SIZE(iov), nullptr); in modifyIpRoute() local
597 if (int ret = modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_VPN_OVERRIDE_OIF, in modifyOutputInterfaceRules() local
665 if (int ret = modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LEGACY_SYSTEM, ROUTE_TABLE_LEGACY_SYSTEM, in addLegacyRouteRules() local
669 if (int ret = modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_LEGACY_NETWORK, in addLegacyRouteRules() local
684 if (int ret = modifyExplicitNetworkRule(localNetId, ROUTE_TABLE_LOCAL_NETWORK, PERMISSION_NONE, in addLocalNetworkRules() local
709 int ret = ifc_up(interface); in configureDummyNetwork() local
745 if (int ret = modifyIncomingPacketMark(netId, interface, PERMISSION_NONE, add)) { in modifyLocalNetwork() local
760 if (int ret = modifyIncomingPacketMark(netId, interface, permission, add)) { in modifyPhysicalNetwork() local
763 if (int ret = modifyExplicitNetworkRule(netId, table, permission, INVALID_UID, INVALID_UID, in modifyPhysicalNetwork() local
767 if (int ret = modifyOutputInterfaceRules(interface, table, permission, INVALID_UID, INVALID_UID, in modifyPhysicalNetwork() local
805 if (int ret = modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_PROHIBIT_NON_VPN, in modifyRejectNonSecureNetworkRule() local
824 if (int ret = modifyVpnUidRangeRule(table, range.start, range.stop, secure, add)) { in modifyVirtualNetwork() local
827 if (int ret = modifyExplicitNetworkRule(netId, table, PERMISSION_NONE, range.start, in modifyVirtualNetwork() local
831 if (int ret = modifyOutputInterfaceRules(interface, table, PERMISSION_NONE, range.start, in modifyVirtualNetwork() local
838 if (int ret = modifyIncomingPacketMark(netId, interface, PERMISSION_NONE, add)) { in modifyVirtualNetwork() local
841 if (int ret = modifyVpnOutputToLocalRule(interface, add)) { in modifyVirtualNetwork() local
844 if (int ret = modifyVpnSystemPermissionRule(netId, table, secure, add)) { in modifyVirtualNetwork() local
912 int ret = modifyIpRoute(action, flags, table, interface, destination, nexthop, mtu); in modifyRoute() local
939 if (int ret = tcQdiscAddDevClsact(ifindex)) { in maybeModifyQdiscClsact() local
944 if (int ret = tcQdiscDelDevClsact(ifindex)) { in maybeModifyQdiscClsact() local
954 int ret = 0; in clearTetheringRules() local
1000 int ret = flushRoutes(table); in flushRoutes() local
1012 if (int ret = flushRules()) { in Init() local
1015 if (int ret = addLegacyRouteRules()) { in Init() local
1018 if (int ret = addLocalNetworkRules(localNetId)) { in Init() local
1021 if (int ret = addUnreachableRule()) { in Init() local
1032 if (int ret = modifyLocalNetwork(netId, interface, ACTION_ADD)) { in addInterfaceToLocalNetwork() local
1041 if (int ret = modifyLocalNetwork(netId, interface, ACTION_DEL)) { in removeInterfaceFromLocalNetwork() local
1051 if (int ret = modifyPhysicalNetwork(netId, interface, permission, ACTION_ADD)) { in addInterfaceToPhysicalNetwork() local
1061 if (int ret = modifyPhysicalNetwork(netId, interface, permission, ACTION_DEL)) { in removeInterfaceFromPhysicalNetwork() local
1064 if (int ret = flushRoutes(interface)) { in removeInterfaceFromPhysicalNetwork() local
1067 if (int ret = clearTetheringRules(interface)) { in removeInterfaceFromPhysicalNetwork() local
1077 if (int ret = modifyVirtualNetwork(netId, interface, uidRanges, secure, ACTION_ADD, in addInterfaceToVirtualNetwork() local
1087 if (int ret = modifyVirtualNetwork(netId, interface, uidRanges, secure, ACTION_DEL, in removeInterfaceFromVirtualNetwork() local
1091 if (int ret = flushRoutes(interface)) { in removeInterfaceFromVirtualNetwork() local
1102 if (int ret = modifyPhysicalNetwork(netId, interface, newPermission, ACTION_ADD)) { in modifyPhysicalNetworkPermission() local