/third_party/mbedtls/programs/ssl/ |
D | ssl_fork_server.c | 88 mbedtls_net_context listen_fd, client_fd; in main() local 99 mbedtls_net_init(&listen_fd); in main() 191 if ((ret = mbedtls_net_bind(&listen_fd, NULL, "4433", MBEDTLS_NET_PROTO_TCP)) != 0) { in main() 208 if ((ret = mbedtls_net_accept(&listen_fd, &client_fd, in main() 242 mbedtls_net_close(&listen_fd); in main() 368 mbedtls_net_free(&listen_fd); in main()
|
D | ssl_server.c | 81 mbedtls_net_context listen_fd, client_fd; in main() local 95 mbedtls_net_init(&listen_fd); in main() 167 if ((ret = mbedtls_net_bind(&listen_fd, NULL, "4433", MBEDTLS_NET_PROTO_TCP)) != 0) { in main() 229 if ((ret = mbedtls_net_accept(&listen_fd, &client_fd, in main() 345 mbedtls_net_free(&listen_fd); in main()
|
D | dtls_server.c | 91 mbedtls_net_context listen_fd, client_fd; in main() local 109 mbedtls_net_init(&listen_fd); in main() 186 if ((ret = mbedtls_net_bind(&listen_fd, BIND_IP, "4433", MBEDTLS_NET_PROTO_UDP)) != 0) { in main() 261 if ((ret = mbedtls_net_accept(&listen_fd, &client_fd, in main() 385 mbedtls_net_free(&listen_fd); in main()
|
D | ssl_pthread_server.c | 293 mbedtls_net_context listen_fd, client_fd; in main() local 323 mbedtls_net_init(&listen_fd); in main() 426 if ((ret = mbedtls_net_bind(&listen_fd, NULL, "4433", MBEDTLS_NET_PROTO_TCP)) != 0) { in main() 448 if ((ret = mbedtls_net_accept(&listen_fd, &client_fd, in main() 477 mbedtls_net_free(&listen_fd); in main()
|
D | ssl_server2.c | 1055 static mbedtls_net_context listen_fd, client_fd; variable 1064 mbedtls_net_free(&listen_fd); /* causes mbedtls_net_accept() to abort */ in term_handler() 1597 mbedtls_net_init(&listen_fd); in main() 3290 if ((ret = mbedtls_net_bind(&listen_fd, opt.server_addr, opt.server_port, in main() 3333 if ((ret = mbedtls_net_accept(&listen_fd, &client_fd, in main() 4165 mbedtls_net_free(&listen_fd); in main()
|
/third_party/ltp/testcases/network/lib6/ |
D | asapi_01.c | 336 static int listen_fd, connect_fd; variable 340 connect_fd = accept(listen_fd, 0, 0); in ilistener() 341 close(listen_fd); in ilistener() 351 listen_fd = SAFE_SOCKET(NULL, pf, type, proto); in isocketpair() 355 SAFE_BIND(NULL, listen_fd, (struct sockaddr *)&sin4, sizeof(sin4)); in isocketpair() 357 SAFE_LISTEN(NULL, listen_fd, 10); in isocketpair() 360 SAFE_GETSOCKNAME(NULL, listen_fd, (struct sockaddr *)&sin4, &namelen); in isocketpair()
|
/third_party/mbedtls/programs/pkey/ |
D | dh_server.c | 67 mbedtls_net_context listen_fd, client_fd; in main() local 82 mbedtls_net_init(&listen_fd); in main() 170 if ((ret = mbedtls_net_bind(&listen_fd, NULL, SERVER_PORT, MBEDTLS_NET_PROTO_TCP)) != 0) { in main() 175 if ((ret = mbedtls_net_accept(&listen_fd, &client_fd, in main() 294 mbedtls_net_free(&listen_fd); in main()
|
/third_party/mbedtls/programs/test/ |
D | udp_proxy.c | 778 mbedtls_net_context listen_fd, client_fd, server_fd; in main() local 789 mbedtls_net_init(&listen_fd); in main() 836 if ((ret = mbedtls_net_bind(&listen_fd, opt.listen_addr, opt.listen_port, in main() 853 if ((ret = mbedtls_net_accept(&listen_fd, &client_fd, in main() 871 if (nb_fds < listen_fd.fd) { in main() 872 nb_fds = listen_fd.fd; in main() 927 FD_SET(listen_fd.fd, &read_fds); in main() 934 if (FD_ISSET(listen_fd.fd, &read_fds)) { in main() 974 mbedtls_net_free(&listen_fd); in main()
|
/third_party/EGL/extensions/KHR/ |
D | EGL_KHR_stream_cross_process_fd.txt | 352 int listen_fd; 363 listen_fd = socket(PF_UNIX, SOCK_STREAM, 0); 364 if (listen_fd < 0) FATAL_ERROR(); 374 if (bind(listen_fd, 379 if (listen(listen_fd, 1)) FATAL_ERROR(); 382 listen_fd, 385 close(listen_fd);
|
/third_party/skia/third_party/externals/egl-registry/extensions/KHR/ |
D | EGL_KHR_stream_cross_process_fd.txt | 352 int listen_fd; 363 listen_fd = socket(PF_UNIX, SOCK_STREAM, 0); 364 if (listen_fd < 0) FATAL_ERROR(); 374 if (bind(listen_fd, 379 if (listen(listen_fd, 1)) FATAL_ERROR(); 382 listen_fd, 385 close(listen_fd);
|
/third_party/skia/third_party/externals/microhttpd/src/include/ |
D | microhttpd.h | 2511 MHD_socket listen_fd; member
|
/third_party/skia/third_party/externals/microhttpd/src/testcurl/ |
D | test_get_sendfile.c | 417 if (0 != getsockname(di->listen_fd, (struct sockaddr *) &addr, &addr_len)) in testUnknownPortGet()
|
D | test_get.c | 415 if (0 != getsockname(di->listen_fd, (struct sockaddr *) &addr, &addr_len)) in testUnknownPortGet()
|