unit-tests: Add mock implementation of kernel_net_t
authorTobias Brunner <tobias@strongswan.org>
Wed, 23 May 2018 08:13:56 +0000 (10:13 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 22 Jun 2018 07:20:30 +0000 (09:20 +0200)
commit35e49ffd2fc08be051b771f323c6115cebb9dbc7
treea6c89af8e288f90e340f47581c3d8fb9078b0775
parentdaf8ed210aada971008c1a3c3cb4a222e031cbd7
unit-tests: Add mock implementation of kernel_net_t

This is required for DPDs via ike-mobike task to work (it does a source
address lookup).
src/libcharon/tests/Makefile.am
src/libcharon/tests/utils/exchange_test_helper.c
src/libcharon/tests/utils/mock_net.c [new file with mode: 0644]
src/libcharon/tests/utils/mock_net.h [new file with mode: 0644]