Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/net/
H A Dreuseport_bpf_cpu.c60 rcv_fd[i] = socket(family, proto, 0); in build_rcv_group()
61 if (rcv_fd[i] < 0) in build_rcv_group()
175 if (ev.data.fd == rcv_fd[i]) in receive_on_cpu()
190 attach_bpf(rcv_fd[0]); in test()
197 ev.data.fd = rcv_fd[cpu]; in test()
228 close(rcv_fd[cpu]); in test()
233 int *rcv_fd, cpus; in main() local
239 rcv_fd = calloc(cpus, sizeof(int)); in main()
240 if (!rcv_fd) in main()
244 test(rcv_fd, cpus, AF_INET, SOCK_DGRAM); in main()
[all …]
H A Dreuseport_bpf_numa.c56 rcv_fd[i] = socket(family, proto, 0); in build_rcv_group()
57 if (rcv_fd[i] < 0) in build_rcv_group()
185 if (ev.data.fd == rcv_fd[i]) in receive_on_node()
200 attach_bpf(rcv_fd[0]); in test()
207 ev.data.fd = rcv_fd[node]; in test()
230 close(rcv_fd[node]); in test()
235 int *rcv_fd, nodes; in main() local
242 rcv_fd = calloc(nodes, sizeof(int)); in main()
243 if (!rcv_fd) in main()
247 test(rcv_fd, nodes, AF_INET, SOCK_DGRAM); in main()
[all …]