summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/udpgso.sh
blob: fec24f584fe93aa5ef4ab045091a72be347d95b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
#
# Run a series of udpgso regression tests

echo "ipv4 cmsg"
./in_netns.sh ./udpgso -4 -C

echo "ipv4 setsockopt"
./in_netns.sh ./udpgso -4 -C -s

echo "ipv6 cmsg"
./in_netns.sh ./udpgso -6 -C

echo "ipv6 setsockopt"
./in_netns.sh ./udpgso -6 -C -s

echo "ipv4 connected"
./in_netns.sh ./udpgso -4 -c

# blocked on 2nd loopback address
# echo "ipv6 connected"
# ./in_netns.sh ./udpgso -6 -c

echo "ipv4 msg_more"
./in_netns.sh ./udpgso -4 -C -m

echo "ipv6 msg_more"
./in_netns.sh ./udpgso -6 -C -m