udp6-multi-diffport07 2.4 KB

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