Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/net/
H A Dreuseport_bpf.c348 struct sock_fprog cprog; in test_filter_no_reuseport() local
360 memset(&cprog, 0, sizeof(cprog)); in test_filter_no_reuseport()
361 cprog.len = ARRAY_SIZE(ccode); in test_filter_no_reuseport()
362 cprog.filter = ccode; in test_filter_no_reuseport()
381 if (!setsockopt(fd, SOL_SOCKET, SO_ATTACH_REUSEPORT_CBPF, &cprog, in test_filter_no_reuseport()
382 sizeof(cprog)) || errno != EINVAL) in test_filter_no_reuseport()