/third_party/mbedtls/programs/ssl/ |
D | ssl_fork_server.c | 99 mbedtls_net_context listen_fd, client_fd; in main() local 110 mbedtls_net_init( &listen_fd ); in main() 208 if( ( ret = mbedtls_net_bind( &listen_fd, NULL, "4433", MBEDTLS_NET_PROTO_TCP ) ) != 0 ) in main() 227 if( ( ret = mbedtls_net_accept( &listen_fd, &client_fd, in main() 265 mbedtls_net_close( &listen_fd ); in main() 401 mbedtls_net_free( &listen_fd ); in main()
|
D | ssl_server.c | 93 mbedtls_net_context listen_fd, client_fd; in main() local 107 mbedtls_net_init( &listen_fd ); in main() 183 if( ( ret = mbedtls_net_bind( &listen_fd, NULL, "4433", MBEDTLS_NET_PROTO_TCP ) ) != 0 ) in main() 250 if( ( ret = mbedtls_net_accept( &listen_fd, &client_fd, in main() 377 mbedtls_net_free( &listen_fd ); in main()
|
D | dtls_server.c | 102 mbedtls_net_context listen_fd, client_fd; in main() local 120 mbedtls_net_init( &listen_fd ); in main() 196 if( ( ret = mbedtls_net_bind( &listen_fd, BIND_IP, "4433", MBEDTLS_NET_PROTO_UDP ) ) != 0 ) in main() 277 if( ( ret = mbedtls_net_accept( &listen_fd, &client_fd, in main() 406 mbedtls_net_free( &listen_fd ); in main()
|
D | ssl_pthread_server.c | 316 mbedtls_net_context listen_fd, client_fd; in main() local 346 mbedtls_net_init( &listen_fd ); in main() 455 if( ( ret = mbedtls_net_bind( &listen_fd, NULL, "4433", MBEDTLS_NET_PROTO_TCP ) ) != 0 ) in main() 479 if( ( ret = mbedtls_net_accept( &listen_fd, &client_fd, in main() 510 mbedtls_net_free( &listen_fd ); in main()
|
D | ssl_server2.c | 957 static mbedtls_net_context listen_fd, client_fd; variable 966 mbedtls_net_free( &listen_fd ); /* causes mbedtls_net_accept() to abort */ in term_handler() 1411 mbedtls_net_init( &listen_fd ); in main() 3065 if( ( ret = mbedtls_net_bind( &listen_fd, opt.server_addr, opt.server_port, in main() 3111 if( ( ret = mbedtls_net_accept( &listen_fd, &client_fd, in main() 3949 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 | 77 mbedtls_net_context listen_fd, client_fd; in main() local 92 mbedtls_net_init( &listen_fd ); in main() 187 if( ( ret = mbedtls_net_bind( &listen_fd, NULL, SERVER_PORT, MBEDTLS_NET_PROTO_TCP ) ) != 0 ) in main() 193 if( ( ret = mbedtls_net_accept( &listen_fd, &client_fd, in main() 317 mbedtls_net_free( &listen_fd ); in main()
|
/third_party/mbedtls/programs/test/ |
D | udp_proxy.c | 807 mbedtls_net_context listen_fd, client_fd, server_fd; in main() local 818 mbedtls_net_init( &listen_fd ); in main() 863 if( ( ret = mbedtls_net_bind( &listen_fd, opt.listen_addr, opt.listen_port, in main() 881 if( ( ret = mbedtls_net_accept( &listen_fd, &client_fd, in main() 899 if( nb_fds < listen_fd.fd ) in main() 900 nb_fds = listen_fd.fd; in main() 959 FD_SET( listen_fd.fd, &read_fds ); in main() 967 if( FD_ISSET( listen_fd.fd, &read_fds ) ) in main() 1008 mbedtls_net_free( &listen_fd ); in main()
|
/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/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/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()
|
/third_party/skia/third_party/externals/microhttpd/src/include/ |
D | microhttpd.h | 2511 MHD_socket listen_fd; member
|