Lines Matching refs:proto
34 static void build_rcv_group(int *rcv_fd, size_t len, int family, int proto) in build_rcv_group() argument
60 rcv_fd[i] = socket(family, proto, 0); in build_rcv_group()
72 if (proto == SOCK_STREAM && listen(rcv_fd[i], len * 10)) in build_rcv_group()
94 static void send_from_cpu(int cpu_id, int family, int proto) in send_from_cpu() argument
134 fd = socket(family, proto, 0); in send_from_cpu()
151 void receive_on_cpu(int *rcv_fd, int len, int epfd, int cpu_id, int proto) in receive_on_cpu() argument
161 if (proto == SOCK_STREAM) { in receive_on_cpu()
184 static void test(int *rcv_fd, int len, int family, int proto) in test() argument
189 build_rcv_group(rcv_fd, len, family, proto); in test()
204 send_from_cpu(cpu, family, proto); in test()
205 receive_on_cpu(rcv_fd, len, epfd, cpu, proto); in test()
210 send_from_cpu(cpu, family, proto); in test()
211 receive_on_cpu(rcv_fd, len, epfd, cpu, proto); in test()
216 send_from_cpu(cpu, family, proto); in test()
217 receive_on_cpu(rcv_fd, len, epfd, cpu, proto); in test()
222 send_from_cpu(cpu, family, proto); in test()
223 receive_on_cpu(rcv_fd, len, epfd, cpu, proto); in test()