Home | History | Annotate | Download | only in multi-diffnic
      1 #!/bin/sh
      2 
      3 ################################################################################
      4 ##                                                                            ##
      5 ## Copyright (c) International Business Machines  Corp., 2005                 ##
      6 ##                                                                            ##
      7 ## This program is free software;  you can redistribute it and#or modify      ##
      8 ## it under the terms of the GNU General Public License as published by       ##
      9 ## the Free Software Foundation; either version 2 of the License, or          ##
     10 ## (at your option) any later version.                                        ##
     11 ##                                                                            ##
     12 ## This program is distributed in the hope that it will be useful, but        ##
     13 ## WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ##
     14 ## or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License   ##
     15 ## for more details.                                                          ##
     16 ##                                                                            ##
     17 ## You should have received a copy of the GNU General Public License          ##
     18 ## along with this program;  if not, write to the Free Software               ##
     19 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA    ##
     20 ##                                                                            ##
     21 ##                                                                            ##
     22 ################################################################################
     23 #
     24 # File:
     25 #   udp4-multi-diffnic02
     26 #
     27 # Description:
     28 #   Verify that the kernel is not crashed with receiving and sending UDP
     29 #   datagram at differnt NIC with the following conditions
     30 #     - The version of IP is IPv4
     31 #     - IPsec(AH), transport mode
     32 #
     33 # Setup:
     34 #   See ltp-yyyymmdd/testcases/network/stress/README
     35 #
     36 # Author:
     37 #   Mitsuru Chinen <mitch (at] jp.ibm.com>
     38 #
     39 # History:
     40 #	Oct 19 2005 - Created (Mitsuru Chinen)
     41 #
     42 #-----------------------------------------------------------------------
     43 # Uncomment line below for debug output.
     44 #trace_logic=${trace_logic:-"set -x"}
     45 $trace_logic
     46 
     47 #
     48 # Variables -- Changed by each multi-diffnic testcase
     49 #
     50 
     51 # The test case ID
     52 TCID=udp4-multi-diffnic02
     53 
     54 # The version of IP
     55 IP_VER=4
     56 
     57 # true, if ipsec is used
     58 DO_IPSEC=true
     59 
     60 # IPsec Protocol
     61 IPSEC_PROTO=ah
     62 
     63 # IPsec Mode
     64 IPSEC_MODE=transport
     65 
     66 . udp4-multi-diffnic01
     67