Home
last modified time | relevance | path

Searched refs:sock_filter (Results 1 – 6 of 6) sorted by relevance

/external/kernel-headers/original/linux/
Dfilter.h26 struct sock_filter /* Filter block */ struct
37 struct sock_filter __user *filter; argument
45 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);
/external/dhcpcd/
Dlpf.c40 # define bpf_insn sock_filter
/external/libpcap/
Dpcap-linux.c220 static struct sock_filter total_insn
2004 fcode->filter = (struct sock_filter *) f; in fix_program()
/external/ping/
Dping.c1637 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()
/external/ppp/pppd/
Dsys-linux.c1304 fp.filter = (struct sock_filter *) pass->bf_insns; in set_filters()
1313 fp.filter = (struct sock_filter *) active->bf_insns; in set_filters()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c4215 static struct sock_filter msock_filter_insns[] = {
4327 struct sock_filter *insn = &msock_filter_insns[idx]; in add_monitor_filter()