summaryrefslogtreecommitdiffstats
path: root/tests/expr/bitwise/shift-xor_err.t
blob: 4906398665e6d62ff59f6fad13c7b73803a61812 (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);
payload(NULL, "NFT_REG_1", "1", "12", "4", NULL, NULL, NULL);
bitwise("NFT_REG_1", "NFT_REG_1", "1", "4", "ffffffff", NULL, "01000000");
cmp("NFT_REG_1", "0", "01020304");
commit();