Searched refs:downstream (Results 1 – 14 of 14) sorted by relevance
109 const bool downstream) {168 if (!downstream && (src32 == dst32) && (ip6->saddr.s6_addr32[1] == ip6->daddr.s6_addr32[1]))179 if (is_ethernet) __builtin_memcpy(downstream ? kd.dstMac : ku.dstMac, eth->h_dest, ETH_ALEN);181 Tether6Value* v = downstream ? bpf_tether_downstream6_map_lookup_elem(&kd)187 uint32_t stat_and_limit_k = downstream ? skb->ifindex : v->oif;232 __sync_fetch_and_add(downstream ? &stat_v->rxErrors : &stat_v->txErrors, 1);244 __sync_fetch_and_add(downstream ? &stat_v->rxErrors : &stat_v->txErrors, 1);264 __sync_fetch_and_add(downstream ? &stat_v->rxPackets : &stat_v->txPackets, packets);265 __sync_fetch_and_add(downstream ? &stat_v->rxBytes : &stat_v->txBytes, bytes);356 const bool downstream, const bool updatetime) { in do_forward4() argument[all …]
128 void onUiEntitlementFailed(int downstream); in onUiEntitlementFailed() argument262 for (int downstream = mCurrentDownstreams.nextSetBit(0); downstream >= 0; in maybeRunProvisioning()263 downstream = mCurrentDownstreams.nextSetBit(downstream + 1)) { in maybeRunProvisioning()264 if (mCurrentEntitlementResults.indexOfKey(downstream) < 0) { in maybeRunProvisioning()267 runUiTetherProvisioning(downstream, config); in maybeRunProvisioning()269 runSilentTetherProvisioning(downstream, config); in maybeRunProvisioning()617 public void requestLatestTetheringEntitlementResult(int downstream, ResultReceiver receiver, in requestLatestTetheringEntitlementResult() argument619 if (!isValidDownstreamType(downstream)) { in requestLatestTetheringEntitlementResult()631 downstream, TETHER_ERROR_ENTITLEMENT_UNKNOWN); in requestLatestTetheringEntitlementResult()635 ResultReceiver proxy = buildProxyReceiver(downstream, false/* notifyFail */, receiver); in requestLatestTetheringEntitlementResult()[all …]
136 for (IpServer downstream : mDownstreams) { in handleMaybePrefixConflict()137 final IpPrefix target = getDownstreamPrefix(downstream); in handleMaybePrefixConflict()141 downstream.sendMessage(IpServer.CMD_NOTIFY_PREFIX_CONFLICT); in handleMaybePrefixConflict()365 final IpPrefix downstream = asIpPrefix(mCachedAddresses.valueAt(i)); in getInUseDownstreamPrefix() local366 if (isConflictPrefix(prefix, downstream)) return downstream; in getInUseDownstreamPrefix()371 for (IpServer downstream : mDownstreams) { in getInUseDownstreamPrefix()372 final IpPrefix target = getDownstreamPrefix(downstream); in getInUseDownstreamPrefix()381 private IpPrefix getDownstreamPrefix(final IpServer downstream) { in getDownstreamPrefix() argument382 final LinkAddress address = downstream.getAddress(); in getDownstreamPrefix()
61 private static String makeProgPath(boolean downstream, int ipVersion, boolean ether) { in makeProgPath() argument63 + (downstream ? "downstream" : "upstream") in makeProgPath()74 public static void attachProgram(@NonNull String iface, boolean downstream) in attachProgram() argument92 makeProgPath(downstream, 6, ether)); in attachProgram()102 makeProgPath(downstream, 4, ether)); in attachProgram()
86 public void addActiveDownstream(IpServer downstream, int mode) { in addActiveDownstream() argument87 if (findDownstream(downstream) == null) { in addActiveDownstream()92 if (mActiveDownstreams.offer(new Downstream(downstream, mode, mNextSubnetId))) { in addActiveDownstream()102 public void removeActiveDownstream(IpServer downstream) { in removeActiveDownstream() argument103 stopIPv6TetheringOn(downstream); in removeActiveDownstream()104 if (mActiveDownstreams.remove(findDownstream(downstream))) { in removeActiveDownstream()
123 private static String makeMapPath(boolean downstream, int ipVersion) { in makeMapPath() argument124 return makeMapPath((downstream ? "downstream" : "upstream") + ipVersion); in makeMapPath()553 final int downstream = rule.downstreamIfindex; in tetherOffloadRuleAdd() local557 if (!mBpfCoordinatorShim.startUpstreamIpv6Forwarding(downstream, upstream, rule.srcMac, in tetherOffloadRuleAdd()560 + mInterfaceNames.get(downstream) + " to " + mInterfaceNames.get(upstream)); in tetherOffloadRuleAdd()596 final int downstream = rule.downstreamIfindex; in tetherOffloadRuleRemove() local598 if (!mBpfCoordinatorShim.stopUpstreamIpv6Forwarding(downstream, upstream, in tetherOffloadRuleRemove()601 + mInterfaceNames.get(downstream) + " to " + mInterfaceNames.get(upstream)); in tetherOffloadRuleRemove()1060 private String ipv4RuleToString(long now, boolean downstream, in ipv4RuleToString() argument1066 if (downstream) { in ipv4RuleToString()[all …]
305 mEntitlementMgr.setOnUiEntitlementFailedListener((int downstream) -> { in Tethering() argument307 stopTethering(downstream); in Tethering()
353 public boolean tetherOffloadRuleAdd(boolean downstream, @NonNull Tether4Key key, in tetherOffloadRuleAdd() argument358 if (downstream) { in tetherOffloadRuleAdd()379 public boolean tetherOffloadRuleRemove(boolean downstream, @NonNull Tether4Key key) { in tetherOffloadRuleRemove() argument383 if (downstream) { in tetherOffloadRuleRemove()412 public void tetherOffloadRuleForEach(boolean downstream, in tetherOffloadRuleForEach() argument417 if (downstream) { in tetherOffloadRuleForEach()428 public boolean attachProgram(String iface, boolean downstream) { in attachProgram() argument432 BpfUtils.attachProgram(iface, downstream); in attachProgram()
145 public abstract boolean tetherOffloadRuleAdd(boolean downstream, @NonNull Tether4Key key, in tetherOffloadRuleAdd() argument155 public abstract boolean tetherOffloadRuleRemove(boolean downstream, @NonNull Tether4Key key); in tetherOffloadRuleRemove() argument165 public abstract void tetherOffloadRuleForEach(boolean downstream, in tetherOffloadRuleForEach() argument178 public abstract boolean attachProgram(@NonNull String iface, boolean downstream); in attachProgram() argument
153 public boolean tetherOffloadRuleAdd(boolean downstream, @NonNull Tether4Key key, in tetherOffloadRuleAdd() argument160 public boolean tetherOffloadRuleRemove(boolean downstream, @NonNull Tether4Key key) { in tetherOffloadRuleRemove() argument166 public void tetherOffloadRuleForEach(boolean downstream, in tetherOffloadRuleForEach() argument172 public boolean attachProgram(String iface, boolean downstream) { in attachProgram() argument
21 // to system/sepolicy in a downstream branch.
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...