summaryrefslogtreecommitdiffstats
path: root/tests/expr/numgen/numgen-1-random_ok.t
blob: a34ea439561e5c10fdb40d4a8f27b7fdf1d30cd5 (plain)
1
2
3
4
5
6
7
add_table(NFPROTO_IPV4, "test", NULL, NULL, NULL);
add_chain("test", "0x1", NULL, NULL, NULL);
add_rule("test", "0x1", NULL, NULL, NULL);
numgen("NFT_REG32_15", "10", "1", "0");
byteorder("NFT_REG32_15", "NFT_REG32_15", "0", "4", "4");
cmp("NFT_REG32_15", "0", "01020304");
commit();