[APR-6371]create XFRM device instead of tun if possible
authorDenis Vinogradov <denis.vinogradov@samsung.com>
Wed, 2 Dec 2020 08:09:09 +0000 (17:09 +0900)
committerI am Robot <robot_ap@samsung.com>
Thu, 10 Dec 2020 16:32:47 +0000 (01:32 +0900)
commit42555e6c657429e6ae94200e170e9e67bf39b4e0
tree8d51035478ac4dbe8bfcdd3550f9072b8b6bf3c6
parentc7297e28cf9057f5123a9a0312488f26cbbf7952
[APR-6371]create XFRM device instead of tun if possible

  If we can create XFRM vitrual device,
  it is possible to link it to CHILD_SA.
  It can allow to receive data packets
  after binding to created adapter.
  Note: adapter index will start with 10, i.e epdg10,
  in case successful creation.

Change-Id: I47414bda1748bfda858e2395e4ce2ded7b50ac77
Signed-off-by: Denis Vinogradov <denis.vinogradov@samsung.com>
src/libcharon/kernel/kernel_interface.c
src/libcharon/kernel/kernel_interface.h
src/libcharon/kernel/kernel_net.h
src/libcharon/plugins/kernel_netlink/kernel_netlink_net.c
src/libcharon/sa/child_sa.c
src/libcharon/sa/child_sa.h
src/libcharon/sa/ike_sa.c
src/libcharon/sa/ike_sa.h
src/libcharon/sa/ikev2/tasks/child_create.c
src/libstrongswan/networking/tun_device.c
src/libstrongswan/networking/tun_device.h