Lines Matching defs:filter
67 bpf_jit_filter *filter;
70 /* Compile the BPF filter program and generate native code. */
71 if ((filter = bpf_jitter(pc, nins)) == NULL) {
80 hexdump(filter->func, filter->size, NULL, HD_OMIT_CHARS);
84 ret = (*(filter->func))(pkt, wirelen, buflen);
86 bpf_destroy_jit_filter(filter);
123 * Return true if the 'fcode' is a valid filter program.
127 * The kernel needs to be able to verify an application's filter code.
136 /* Do not accept negative length filter. */
140 /* An empty filter means accept all. */