Lines Matching refs:bpfRun
209 static struct bpf_insn bpfRun[] = { /* run PPPoE */ in initFilter() local
230 bpfRun[1].code = (u_short) BPF_JMP+BPF_JEQ+BPF_K; in initFilter()
231 bpfRun[1].jt = 5; in initFilter()
232 bpfRun[1].jf = 0; in initFilter()
233 bpfRun[1].k = Eth_PPPOE_Session; in initFilter()
235 bpfRun[2].code = (u_short) BPF_JMP+BPF_JEQ+BPF_K; in initFilter()
236 bpfRun[2].jt = 0; in initFilter()
237 bpfRun[2].jf = 9; in initFilter()
238 bpfRun[2].k = Eth_PPPOE_Discovery; in initFilter()
241 struct bpf_insn bpfInsn[sizeof(bpfRun) / sizeof(bpfRun[0])]; in initFilter()
243 memcpy(bpfInsn, bpfRun, sizeof(bpfRun)); in initFilter()