linux/tools/testing/selftests/net/udpgso.sh
<<
>>
Prefs
   1#!/bin/sh
   2# SPDX-License-Identifier: GPL-2.0
   3#
   4# Run a series of udpgso regression tests
   5
   6echo "ipv4 cmsg"
   7./in_netns.sh ./udpgso -4 -C
   8
   9echo "ipv4 setsockopt"
  10./in_netns.sh ./udpgso -4 -C -s
  11
  12echo "ipv6 cmsg"
  13./in_netns.sh ./udpgso -6 -C
  14
  15echo "ipv6 setsockopt"
  16./in_netns.sh ./udpgso -6 -C -s
  17
  18echo "ipv4 connected"
  19./in_netns.sh ./udpgso -4 -c
  20
  21# blocked on 2nd loopback address
  22# echo "ipv6 connected"
  23# ./in_netns.sh ./udpgso -6 -c
  24
  25echo "ipv4 msg_more"
  26./in_netns.sh ./udpgso -4 -C -m
  27
  28echo "ipv6 msg_more"
  29./in_netns.sh ./udpgso -6 -C -m
  30