Lines Matching refs:rnet
36 local rnet=$5
39 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu…
41 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu…
49 local rnet=$5
53 …me proto esp spi $spi_in enc aes $KEY_AES auth sha1 $KEY_SHA mode tunnel sel src $rnet dst $lnet
54 …mote proto esp spi $spi_out enc aes $KEY_AES auth sha1 $KEY_SHA mode tunnel sel src $lnet dst $rnet
56 do_esp_policy $ns $me $remote $lnet $rnet
121 local rnet=$3
123 ip -net $ns xfrm policy get src $lnet dst $rnet dir out > /dev/null
126 echo "FAIL: ip -net $ns xfrm policy get src $lnet dst $rnet dir out"
130 ip -net $ns xfrm policy get src $rnet dst $lnet dir fwd > /dev/null
133 echo "FAIL: ip -net $ns xfrm policy get src $rnet dst $lnet dir fwd"