68 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			Bash
		
	
	
	
			
		
		
	
	
			68 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			Bash
		
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
################################################################################
 | 
						|
##                                                                            ##
 | 
						|
## Copyright (c) International Business Machines  Corp., 2005                 ##
 | 
						|
##                                                                            ##
 | 
						|
## This program is free software;  you can redistribute it and#or modify      ##
 | 
						|
## it under the terms of the GNU General Public License as published by       ##
 | 
						|
## the Free Software Foundation; either version 2 of the License, or          ##
 | 
						|
## (at your option) any later version.                                        ##
 | 
						|
##                                                                            ##
 | 
						|
## This program is distributed in the hope that it will be useful, but        ##
 | 
						|
## WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ##
 | 
						|
## or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License   ##
 | 
						|
## for more details.                                                          ##
 | 
						|
##                                                                            ##
 | 
						|
## You should have received a copy of the GNU General Public License          ##
 | 
						|
## along with this program;  if not, write to the Free Software               ##
 | 
						|
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA    ##
 | 
						|
##                                                                            ##
 | 
						|
##                                                                            ##
 | 
						|
################################################################################
 | 
						|
#
 | 
						|
# File:
 | 
						|
#   udp6-multi-diffip06
 | 
						|
#
 | 
						|
# Description:
 | 
						|
#   Verify that the kernel is not crashed with receiving and sending UDP
 | 
						|
#   datagram at different IP address(alias) with the following conditions
 | 
						|
#
 | 
						|
#     - The version of IP is IPv6
 | 
						|
#     - IPcomp, transport mode
 | 
						|
#
 | 
						|
# Setup:
 | 
						|
#   See testcases/network/stress/README
 | 
						|
#
 | 
						|
# Author:
 | 
						|
#   Mitsuru Chinen <mitch@jp.ibm.com>
 | 
						|
#
 | 
						|
# History:
 | 
						|
#	Oct 19 2005 - Created (Mitsuru Chinen)
 | 
						|
#
 | 
						|
#-----------------------------------------------------------------------
 | 
						|
# Uncomment line below for debug output.
 | 
						|
#trace_logic=${trace_logic:-"set -x"}
 | 
						|
$trace_logic
 | 
						|
 | 
						|
#
 | 
						|
# Variables -- Changed by each multi-diffip testcase
 | 
						|
#
 | 
						|
 | 
						|
# The test case ID
 | 
						|
TCID=udp6-multi-diffip06
 | 
						|
 | 
						|
# The version of IP
 | 
						|
IP_VER=6
 | 
						|
 | 
						|
# true, if ipsec is used
 | 
						|
DO_IPSEC=true
 | 
						|
 | 
						|
# IPsec Protocol
 | 
						|
IPSEC_PROTO=ipcomp
 | 
						|
 | 
						|
# IPsec Mode
 | 
						|
IPSEC_MODE=transport
 | 
						|
 | 
						|
. udp4-multi-diffip01
 |