1#!/bin/sh 2# SPDX-License-Identifier: GPL-2.0-or-later 3# Copyright (c) 2019-2021 Petr Vorel <[email protected]> 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 <[email protected]> 7 8TST_TESTFUNC="do_test" 9 10do_test() 11{ 12 # not supported on IPv6 13 TST_IPV6= 14 TST_IPVER=4 15 16 tst_res TINFO "Sending ICMPv4 with wrong proto field for $NS_DURATION sec" 17 tst_icmp -t $NS_DURATION -s "0 100 500 1000 $NS_ICMPV4_SENDER_DATA_MAXSIZE" -p 18 tst_ping 19} 20 21. tst_net.sh 22tst_run 23