Lines Matching refs:lnet
35 local lnet=$4
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…
48 local lnet=$4
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
120 local lnet=$2
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"