1f08c3bdfSopenharmony_ci#!/bin/sh 2f08c3bdfSopenharmony_ci# SPDX-License-Identifier: GPL-2.0-or-later 3f08c3bdfSopenharmony_ci# Copyright (c) 2018-2022 Petr Vorel <pvorel@suse.cz> 4f08c3bdfSopenharmony_ci# Copyright (c) 2016 Oracle and/or its affiliates. All Rights Reserved. 5f08c3bdfSopenharmony_ci# Author: Alexey Kodanev <alexey.kodanev@oracle.com> 6f08c3bdfSopenharmony_ci 7f08c3bdfSopenharmony_ciTST_TESTFUNC=do_test 8f08c3bdfSopenharmony_ciTST_SETUP=do_setup 9f08c3bdfSopenharmony_ciTST_CLEANUP=tst_ipsec_cleanup 10f08c3bdfSopenharmony_ci 11f08c3bdfSopenharmony_cido_setup() 12f08c3bdfSopenharmony_ci{ 13f08c3bdfSopenharmony_ci tst_ipsec_setup_vti 14f08c3bdfSopenharmony_ci PING_MAX="$IPSEC_REQUESTS" 15f08c3bdfSopenharmony_ci tst_res TINFO "Sending ICMP messages" 16f08c3bdfSopenharmony_ci} 17f08c3bdfSopenharmony_ci 18f08c3bdfSopenharmony_cido_test() 19f08c3bdfSopenharmony_ci{ 20f08c3bdfSopenharmony_ci tst_ping -I $tst_vti -H $ip_rmt_tun -s $2 21f08c3bdfSopenharmony_ci} 22f08c3bdfSopenharmony_ci 23f08c3bdfSopenharmony_ci. ipsec_lib.sh 24f08c3bdfSopenharmony_citst_run 25