Lines Matching refs:recv_socks
33 size_t recv_socks; member
157 for (i = 0; i < p.recv_socks; ++i) { in build_recv_group()
179 if (listen(fd[i], p.recv_socks * 10)) in build_recv_group()
223 for (i = 0; i < p.recv_socks; ++i) { in test_recv_order()
234 for (data = 0; data < p.recv_socks * 2; ++data) { in test_recv_order()
259 for (i = 0; i < p.recv_socks; ++i) in test_recv_order()
273 int i, fd[p.recv_socks]; in test_reuseport_ebpf()
275 fprintf(stderr, "Testing EBPF mod %zd...\n", p.recv_socks); in test_reuseport_ebpf()
276 build_recv_group(p, fd, p.recv_socks, attach_ebpf); in test_reuseport_ebpf()
277 test_recv_order(p, fd, p.recv_socks); in test_reuseport_ebpf()
279 p.send_port_min += p.recv_socks * 2; in test_reuseport_ebpf()
280 fprintf(stderr, "Reprograming, testing mod %zd...\n", p.recv_socks / 2); in test_reuseport_ebpf()
281 attach_ebpf(fd[0], p.recv_socks / 2); in test_reuseport_ebpf()
282 test_recv_order(p, fd, p.recv_socks / 2); in test_reuseport_ebpf()
284 for (i = 0; i < p.recv_socks; ++i) in test_reuseport_ebpf()
290 int i, fd[p.recv_socks]; in test_reuseport_cbpf()
292 fprintf(stderr, "Testing CBPF mod %zd...\n", p.recv_socks); in test_reuseport_cbpf()
293 build_recv_group(p, fd, p.recv_socks, attach_cbpf); in test_reuseport_cbpf()
294 test_recv_order(p, fd, p.recv_socks); in test_reuseport_cbpf()
296 p.send_port_min += p.recv_socks * 2; in test_reuseport_cbpf()
297 fprintf(stderr, "Reprograming, testing mod %zd...\n", p.recv_socks / 2); in test_reuseport_cbpf()
298 attach_cbpf(fd[0], p.recv_socks / 2); in test_reuseport_cbpf()
299 test_recv_order(p, fd, p.recv_socks / 2); in test_reuseport_cbpf()
301 for (i = 0; i < p.recv_socks; ++i) in test_reuseport_cbpf()
468 .recv_socks = 10, in main()
475 .recv_socks = 20, in main()
482 .recv_socks = 10, in main()
489 .recv_socks = 20, in main()
506 .recv_socks = 10, in main()
513 .recv_socks = 20, in main()
520 .recv_socks = 10, in main()
527 .recv_socks = 20, in main()
544 .recv_socks = 20, in main()
551 .recv_socks = 10, in main()
558 .recv_socks = 10, in main()
565 .recv_socks = 20, in main()
576 .recv_socks = 10, in main()
583 .recv_socks = 10, in main()
600 .recv_socks = 10, in main()
607 .recv_socks = 10, in main()
624 .recv_socks = 10, in main()
631 .recv_socks = 10, in main()