2 * Test 0083: Check that the last instruction is BPF_RET.
8 struct bpf_insn pc[] = {
9 BPF_JUMP(BPF_JMP+BPF_JA, 0, 0, 0),
17 /* Packet length seen on wire */
18 u_int wirelen = sizeof(pkt);
20 /* Packet length passed on buffer */
21 u_int buflen = sizeof(pkt);
23 /* Invalid instruction */
26 /* Expected return value */
30 #ifdef BPF_JIT_COMPILER
31 int expect_signal = SIGSEGV;
33 int expect_signal = SIGABRT;