Lines Matching full:rule
244 // Adds or removes a routing rule for IPv4 and IPv6.
246 // + If |table| is non-zero, the rule points at the specified routing table. Otherwise, the rule
248 // + If |mask| is non-zero, the rule matches the specified fwmark and mask. Otherwise, |fwmark| is
250 // + If |iif| is non-NULL, the rule matches the specified incoming interface.
251 // + If |oif| is non-NULL, the rule matches the specified outgoing interface.
252 // + If |uidStart| and |uidEnd| are not INVALID_UID, the rule matches packets from UIDs in that
253 // range (inclusive). Otherwise, the rule matches packets from all UIDs.
284 // Assemble a rule request and put it in an array of iovec structures.
285 fib_rule_hdr rule = {
295 { &rule, sizeof(rule) },
318 rule.family = AF_FAMILIES[i];
421 // An iptables rule to mark incoming packets on a network with the netId of the network.
442 ALOGE("failed to change iptables rule that sets incoming packet mark");
449 // A rule to route responses to the local network forwarded via the VPN.
459 // A rule to route all traffic from a given set of UIDs to go over the VPN.
461 // Notice that this rule doesn't use the netId. I.e., no matter what netId the user's socket may
487 // A rule to allow system apps to send traffic over this VPN even if they are not part of the target
509 // A rule to route traffic based on an explicitly chosen network.
535 // A rule to route traffic based on a chosen outgoing interface.
552 // A rule to route traffic based on the chosen network.
575 // A rule to enable split tunnel VPNs.
625 // A rule to allow legacy routes from system apps to override VPNs.
647 // Add a new rule to look up the 'main' table, with the same selectors as the "default network"
648 // rule, but with a lower priority. We will never create routes in the main table; it should only be
663 // Add an explicit unreachable rule close to the end of the prioriy list to make it clear that
664 // relying on the kernel-default "from all lookup main" rule at priority 32766 is not intended
666 // rule will hopefully make things even clearer.
776 "rule",