Searched refs:sock_filter (Results 1 – 6 of 6) sorted by relevance
26 struct sock_filter /* Filter block */ struct37 struct sock_filter __user *filter; argument45 struct sock_filter insns[0];50 return fp->len*sizeof(struct sock_filter) + sizeof(*fp); in sk_filter_len()146 extern unsigned int sk_run_filter(struct sk_buff *skb, struct sock_filter *filter, int flen);148 extern int sk_chk_filter(struct sock_filter *filter, int flen);
40 # define bpf_insn sock_filter
220 static struct sock_filter total_insn2004 fcode->filter = (struct sock_filter *) f; in fix_program()
1637 static struct sock_filter insns[] = { in install_filter()1657 insns[2] = (struct sock_filter)BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __constant_htons(ident), 0, 1); in install_filter()
1304 fp.filter = (struct sock_filter *) pass->bf_insns; in set_filters()1313 fp.filter = (struct sock_filter *) active->bf_insns; in set_filters()
4215 static struct sock_filter msock_filter_insns[] = {4327 struct sock_filter *insn = &msock_filter_insns[idx]; in add_monitor_filter()