summaryrefslogtreecommitdiffstats
path: root/tools/regression/bpf/bpf_filter/tests/test0028.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/bpf/bpf_filter/tests/test0028.h')
-rw-r--r--tools/regression/bpf/bpf_filter/tests/test0028.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/regression/bpf/bpf_filter/tests/test0028.h b/tools/regression/bpf/bpf_filter/tests/test0028.h
index 7bcc455..7a34645 100644
--- a/tools/regression/bpf/bpf_filter/tests/test0028.h
+++ b/tools/regression/bpf/bpf_filter/tests/test0028.h
@@ -1,15 +1,15 @@
/*-
- * Test 0028: BPF_ALU|BPF_AND|BPF_X
+ * Test 0028: BPF_ALU+BPF_AND+BPF_X
*
* $FreeBSD$
*/
/* BPF program */
struct bpf_insn pc[] = {
- BPF_STMT(BPF_LD|BPF_IMM, 0xdeadc0de),
- BPF_STMT(BPF_LDX|BPF_IMM, 0xc0decafe),
- BPF_STMT(BPF_ALU|BPF_AND|BPF_X, 0),
- BPF_STMT(BPF_RET|BPF_A, 0),
+ BPF_STMT(BPF_LD+BPF_IMM, 0xdeadc0de),
+ BPF_STMT(BPF_LDX+BPF_IMM, 0xc0decafe),
+ BPF_STMT(BPF_ALU+BPF_AND+BPF_X, 0),
+ BPF_STMT(BPF_RET+BPF_A, 0),
};
/* Packet */
@@ -29,5 +29,5 @@ int invalid = 0;
/* Expected return value */
u_int expect = 0xc08cc0de;
-/* Expeced signal */
+/* Expected signal */
int expect_signal = 0;
OpenPOWER on IntegriCloud