Home
last modified time | relevance | path

Searched refs:SO_ATTACH_FILTER (Results 1 – 5 of 5) sorted by relevance

/tools/include/uapi/asm-generic/
Dsocket.h45 #define SO_ATTACH_FILTER 26 macro
47 #define SO_GET_FILTER SO_ATTACH_FILTER
/tools/testing/selftests/net/
Dpsock_lib.h68 if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, &bpf_prog, in pair_udp_setfilter()
Dtoeplitz.c301 if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, &prog, sizeof(prog))) in __set_filter()
330 if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, &prog, sizeof(prog))) in set_filter_null()
Dgro.c140 if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, &bpf, sizeof(bpf)) < 0) in setup_sock_filter()
/tools/bpf/
Dbpf_dbg.c511 ret = setsockopt(sock, SOL_SOCKET, SO_ATTACH_FILTER, &bpf, sizeof(bpf)); in bpf_runnable()