Revert^2 "Expose the flag to enable rekey based mobility"

This commit relands ag/18244681 that exposes
IKE_OPTION_REKEY_MOBILITY to allow the IKE Session to
update the IPsec SA's addresses by initiating a standard Rekey
Child procedure.

f83a6ff554798563f41a49f6356df2146b55c2a6

Revert submission revert-18244681-MXZXLATNXK

Reason for revert: Reland it with the fix in its parent commit
Reverted Changes:
I08874d609:Revert "Allow callers to use REKEY_MOBILITY with i...
I3f0699d6b:Revert "Expose the flag to enable rekey based mobi...

Bug: 232360778
Bug: 230841280
Test: make update-api && make
Test: atest FrameworksIkeTests, CtsIkeTestCases
Test: S based tests: verified on sunfish
Test: R based tests: verified on sunfish
Original Change: https://android-review.googlesource.com/c/platform/packages/modules/IPsec/+/2096785
Merged-In: If77ebadeabe30b7761c717d127d6ee78f3a3e62c

Change-Id: If77ebadeabe30b7761c717d127d6ee78f3a3e62c
4 files changed
tree: df80811a28a3f84c5b432b7ae6dae1b15d242326
  1. apex/
  2. api/
  3. src/
  4. tests/
  5. Android.bp
  6. jarjar-rules-shared.txt
  7. jarjar-rules-test.txt
  8. OWNERS
  9. PREUPLOAD.cfg
  10. README.md
  11. 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.