Debian Codegraph @

tests/shell/testcases/maps/vmap_unary

raw
1 #!/bin/bash
2
3 # NFT_TEST_REQUIRES(NFT_TEST_HAVE_pipapo)
4
5 set -e
6
7 RULESET="table ip filter {
8 map ipsec_in {
9 typeof ipsec in reqid . iif : verdict
10 flags interval
11 }
12
13 chain INPUT {
14 type filter hook input priority 0; policy drop
15 ipsec in reqid . iif vmap @ipsec_in
16 }
17 }"
18
19 $NFT -f - <<< $RULESET