Searched refs:client_sk (Results 1 – 2 of 2) sorted by relevance
/external/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_threads.c | 60 int client_sk; variable 117 test_sendmsg(client_sk, &outmessage, 0, strlen(message)+1); in t_send() 153 client_sk = test_socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP); in main() 168 test_connect(client_sk,(struct sockaddr *)&conn_addr,len); in main()
|
/external/linux-kselftest/tools/testing/selftests/cgroup/ |
D | test_memcontrol.c | 822 int sk, client_sk, ctl_fd, yes = 1, ret = -1; in tcp_server() local 852 client_sk = accept(sk, NULL, NULL); in tcp_server() 853 if (client_sk < 0) in tcp_server() 860 if (write(client_sk, buf, sizeof(buf)) <= 0) { in tcp_server() 867 close(client_sk); in tcp_server()
|