Home
last modified time | relevance | path

Searched refs:bpf_filter (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/net/
Dpsock_lib.h50 struct sock_filter bpf_filter[] = { in pair_udp_setfilter() local
65 bpf_prog.filter = bpf_filter; in pair_udp_setfilter()
66 bpf_prog.len = sizeof(bpf_filter) / sizeof(struct sock_filter); in pair_udp_setfilter()
Dpsock_fanout.c100 struct sock_filter bpf_filter[] = { in sock_fanout_set_cbpf() local
106 bpf_prog.filter = bpf_filter; in sock_fanout_set_cbpf()
107 bpf_prog.len = sizeof(bpf_filter) / sizeof(struct sock_filter); in sock_fanout_set_cbpf()