summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedict Wong <benedictwong@google.com>2018-11-07 17:24:40 -0800
committerBenedict Wong <benedictwong@google.com>2019-05-08 18:46:19 +0000
commit740f01b0c35733f0b06fc4f8ff0bec1fef3f1d2a (patch)
tree62fd787b5373493c74dbdef2f9be1fdab9f8073d
parent22a3ef220a63a82e5fbef8aa53b6a67e7d03ff6b (diff)
downloadnative-740f01b0c35733f0b06fc4f8ff0bec1fef3f1d2a.tar.gz
Add IPsec tunnel mode feature flag
This patch adds a feature flag for IPsec Tunnel Mode. This implies VTI (with output-mark updating), or XFRM-I in the kernels. Bug: 117183273 Test: Compiles Change-Id: I9c1a84707366c841c27b74050d276cac9bd61460 Merged-In: I9c1a84707366c841c27b74050d276cac9bd61460 (cherry picked from commit 6300d068380d5b7bea498bfd0c86a841ebcb2034)
-rw-r--r--data/etc/android.software.ipsec_tunnels.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/data/etc/android.software.ipsec_tunnels.xml b/data/etc/android.software.ipsec_tunnels.xml
new file mode 100644
index 0000000000..f7ffc02edd
--- /dev/null
+++ b/data/etc/android.software.ipsec_tunnels.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2018 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!--
+ This is the feature indicating that the device has support for multinetworking-capable IPsec
+ tunnels
+-->
+
+<permissions>
+ <feature name="android.software.ipsec_tunnels" />
+</permissions>