Revert "Revert "Configure network & return IkeSocket according t..."

This is a clean cherry-pick from aosp/1230341

Revert submission 1228785

Reason for revert: These three CLs were previously reverted because they were checked in without the CLs that expose new API and then broke the API surface as a result. These three CLs still need to be merged in but together with the exposing new API CLs.
Reverted Changes:
Ie7dedfe53:Revert "Allow users to retrieve addresses and netw...
Iebd44468c:Revert "Allow user to set hostname of IKE server"
Ia7e3b0cce:Revert "Configure network & return IkeSocket accor...

Change-Id: I7b637fdb11aa6ea8e707e22f2a690a38dd7a9500
11 files changed
tree: 287c112290156541c9d13dfef741021dbddd0272
  1. apex/
  2. api/
  3. src/
  4. tests/
  5. Android.bp
  6. jarjar-rules-shared.txt
  7. OWNERS
  8. PREUPLOAD.cfg
  9. README.md
  10. TEST_MAPPING
README.md

IKEv2 Library for Android

Introduction

This IKEv2 library is an in-process client library implementing the IKEv2 protocol as well as extensions necessary for the support of IWLAN. It is designed to work in a non-privileged fashion on top of the Android IPsec API surface.