2 * Test 0049: Check boundary conditions (BPF_LD+BPF_W+BPF_ABS)
8 struct bpf_insn pc[] = {
9 BPF_STMT(BPF_LD+BPF_IMM, 0xdeadc0de),
10 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, 6),
11 BPF_STMT(BPF_RET+BPF_A, 0),
16 0x01, 0x23, 0x45, 0x67, 0x89,
19 /* Packet length seen on wire */
20 u_int wirelen = sizeof(pkt);
22 /* Packet length passed on buffer */
23 u_int buflen = sizeof(pkt);
25 /* Invalid instruction */
28 /* Expected return value */
32 int expect_signal = 0;