1#!/bin/sh 2# SPDX-License-Identifier: GPL-2.0-or-later 3# Copyright (c) 2019-2021 Petr Vorel <pvorel@suse.cz> 4# Copyright (c) 2014-2017 Oracle and/or its affiliates. All Rights Reserved. 5# Copyright (c) International Business Machines Corp., 2006 6# Author: Mitsuru Chinen <mitch@jp.ibm.com> 7 8TST_TESTFUNC="do_test" 9. tst_net.sh 10 11do_test() 12{ 13 # not supported on IPv6 14 TST_IPV6= 15 TST_IPVER=4 16 17 tst_res TINFO "Sending ICMPv4 with wrong header len field for $NS_DURATION sec" 18 tst_icmp -t $NS_DURATION -s "0 100 500 1000 $NS_ICMPV4_SENDER_DATA_MAXSIZE" -l 19 tst_ping 20} 21 22tst_run 23