OSDN Git Service

Add APF black list for ether-type
authorAhmed ElArabawy <arabawy@google.com>
Wed, 2 Aug 2017 20:31:05 +0000 (13:31 -0700)
committerHugo Benichi <hugobenichi@google.com>
Fri, 1 Sep 2017 05:03:58 +0000 (14:03 +0900)
commitfd424169a1ffb549806f27e5478aa0700416296a
tree15e67f1c034bd1b8dd51612e213c2c98d53fa797
parentfd5cdfc924b3f63ed1a1f725e09112ca4ed8465e
Add APF black list for ether-type

Add a configurable black for protocols which packets are to be dropped
by APF. This enales an OEM to configure the APF to filter out un-needed
packets from reaching the host

Bug: 62415182
Test: runtest frameworks-net

Merged-In: I86335a0f854d5e83a2b2767978cd69b2cc25c2f8

Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
(cherry picked from commit caffbe127726c6a9ab5dd023a9b09cfa43eac617)

Change-Id: I15a758d18464d73d24ba8364a867904bb3cd3b34
core/res/res/values/config.xml
core/res/res/values/symbols.xml
services/net/java/android/net/apf/ApfFilter.java
services/net/java/android/net/ip/IpManager.java
tests/net/java/android/net/apf/ApfTest.java