Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/
H A Drtnetlink.sh661 dstip=192.168.123.2
674 ipsecid="proto esp src $srcip dst $dstip spi 0x07"
677 $algo sel src $srcip/24 dst $dstip/24
680 lines=`ip x s list | grep $srcip | grep $dstip | wc -l`
684 lines=`ip x s get $ipsecid | grep $srcip | grep $dstip | wc -l`
691 ipsecsel="dir out src $srcip/24 dst $dstip/24"
693 tmpl proto esp src $srcip dst $dstip \
697 lines=`ip x p list | grep $srcip | grep $dstip | wc -l`
702 lines=`ip x p get $ipsecsel | grep $srcip | grep $dstip | wc -l`
745 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"