Home
last modified time | relevance | path

Searched refs:dstip (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/drivers/net/bonding/
H A Dbond_ipsec_offload.sh30 dstip=192.0.2.2
50 ip netns exec "$ns" ping -I bond0 -c 3 -W 1 -i 0 "$dstip" >/dev/null
64 grep -q "SA count=2 tx=3" "$sysfs" && grep -q "tx ipaddr=$dstip" "$sysfs"
106 ip -n "$ns" neigh add "$dstip" dev bond0 lladdr 00:11:22:33:44:55
109 ip -n "$ns" x p add dir out src "$srcip/24" dst "$dstip/24" \
110 tmpl proto esp src "$srcip" dst "$dstip" spi 9 \
113 ip -n "$ns" x p add dir in src "$dstip/24" dst "$srcip/24" \
114 tmpl proto esp src "$dstip" dst "$srcip" spi 9 \
117 ip -n "$ns" x s add proto esp src "$srcip" dst "$dstip" spi 9 \
120 sel src "$srcip/24" dst "$dstip/24" \
[all …]
/linux/tools/testing/selftests/net/
H A Drtnetlink.sh662 dstip=192.168.123.2
675 ipsecid="proto esp src $srcip dst $dstip spi 0x07"
678 $algo sel src $srcip/24 dst $dstip/24
681 lines=`ip x s list | grep $srcip | grep $dstip | wc -l`
685 lines=`ip x s get $ipsecid | grep $srcip | grep $dstip | wc -l`
692 ipsecsel="dir out src $srcip/24 dst $dstip/24"
694 tmpl proto esp src $srcip dst $dstip \
698 lines=`ip x p list | grep $srcip | grep $dstip | wc -l`
703 lines=`ip x p get $ipsecsel | grep $srcip | grep $dstip | wc -l`
746 dstip=192.168.123.4
[all …]
H A Dtun.c669 void **dstip, void **srcmac, void **dstmac) in assign_ifaddr_vars() argument
674 *dstip = (void *)&param_ipaddr4_outer_dst; in assign_ifaddr_vars()
677 *dstip = (void *)&param_ipaddr6_outer_dst; in assign_ifaddr_vars()
684 *dstip = (void *)&param_ipaddr4_inner_dst; in assign_ifaddr_vars()
687 *dstip = (void *)&param_ipaddr6_inner_dst; in assign_ifaddr_vars()
/linux/tools/testing/selftests/net/netfilter/
H A Dbr_netfilter.sh35 dstip="$2"
37 if ! ip netns exec "$fromns" ping -c 1 -q "$dstip" > /dev/null; then
38 echo "ERROR: ping from $fromns to $dstip"
47 dstip="$2"
54 if ! ip netns exec "$fromns" ping -q -f -b -c 1 -q "$dstip" > /dev/null 2>&1; then
55 echo "ERROR: ping -b from $fromns to $dstip"
H A Dnft_flowtable.sh360 local dstip=$5
378 TCP"${proto}":"$dstip":"$dstport" STDIO < "$infile" > "$ns1out"
405 local dstip="$5"
408 test_tcp_forwarding_ip "$1" "$2" "$pmtu" "$proto" "$dstip" "$dstport"
417 local dstip="$5"
429 test_tcp_forwarding_ip "$1" "$2" "$pmtu" "$proto" "$dstip" "$dstport"
446 test_tcp_forwarding_ip "$1" "$2" "$pmtu" "$proto" "$dstip" "$dstport"
457 test_tcp_forwarding_ip "$1" "$2" "$pmtu" "$proto" "$dstip" "$dstport"