Create IkeNattKeepalive to manage hardware and software keepalive

This commit adds support for starting NATT keepalives to ensure
that dynamic NAT tables are kept updated. If hardware keepalives
are supported, the IKE library will attempt to use it. If not,
the IKE library will fallback to doing keepalives in software.

Bug: 148794150
Test: FrameworksIkeTests
Test: Done in the following CL
Change-Id: Icdd55dd26989791bca00dfcb604e84942c10a2a5
3 files changed
tree: 19086b7b9517cd42115a8a3982fe250ea345c805
  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.