Searched refs:listen_addr (Results 1 – 5 of 5) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/net/ |
D | tcp_inq.c | 98 struct sockaddr_storage listen_addr, addr; in main() local 127 setup_loopback_addr(family, &listen_addr); in main() 131 if (bind(server_fd, (const struct sockaddr *)&listen_addr, in main()
|
/external/libevent/ |
D | evutil.c | 230 struct sockaddr_in listen_addr; in evutil_ersatz_socketpair_() local 253 memset(&listen_addr, 0, sizeof(listen_addr)); in evutil_ersatz_socketpair_() 254 listen_addr.sin_family = AF_INET; in evutil_ersatz_socketpair_() 255 listen_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in evutil_ersatz_socketpair_() 256 listen_addr.sin_port = 0; /* kernel chooses port. */ in evutil_ersatz_socketpair_() 257 if (bind(listener, (struct sockaddr *) &listen_addr, sizeof (listen_addr)) in evutil_ersatz_socketpair_() 279 size = sizeof(listen_addr); in evutil_ersatz_socketpair_() 280 acceptor = accept(listener, (struct sockaddr *) &listen_addr, &size); in evutil_ersatz_socketpair_() 283 if (size != sizeof(listen_addr)) in evutil_ersatz_socketpair_() 290 || listen_addr.sin_family != connect_addr.sin_family in evutil_ersatz_socketpair_() [all …]
|
/external/openssh/ |
D | mux.c | 700 char *listen_addr, *connect_addr; in mux_master_process_open_fwd() local 709 (r = sshbuf_get_cstring(m, &listen_addr, NULL)) != 0 || in mux_master_process_open_fwd() 719 if (*listen_addr == '\0') { in mux_master_process_open_fwd() 720 free(listen_addr); in mux_master_process_open_fwd() 721 listen_addr = NULL; in mux_master_process_open_fwd() 731 fwd.listen_path = listen_addr; in mux_master_process_open_fwd() 733 fwd.listen_host = listen_addr; in mux_master_process_open_fwd() 747 free(listen_addr); in mux_master_process_open_fwd() 868 char *listen_addr = NULL, *connect_addr = NULL; in mux_master_process_close_fwd() local 876 (r = sshbuf_get_cstring(m, &listen_addr, NULL)) != 0 || in mux_master_process_close_fwd() [all …]
|
D | channels.c | 3325 channel_fwd_bind_addr(struct ssh *ssh, const char *listen_addr, int *wildcardp, argument 3331 if (listen_addr == NULL) { 3337 strcmp(listen_addr, "0.0.0.0") == 0 && is_client == 0) || 3338 *listen_addr == '\0' || strcmp(listen_addr, "*") == 0 || 3345 if (*listen_addr != '\0' && 3346 strcmp(listen_addr, "0.0.0.0") != 0 && 3347 strcmp(listen_addr, "*") != 0) { 3351 "GatewayPorts", listen_addr); 3353 } else if (strcmp(listen_addr, "localhost") != 0 || 3354 strcmp(listen_addr, "127.0.0.1") == 0 || [all …]
|
/external/ipsec-tools/src/racoon/ |
D | cfparse.y | 165 static int listen_addr __P((struct sockaddr *addr, int udp_encap)); 446 listen_addr ($2, 0); 452 listen_addr ($2, 1); 2435 listen_addr (struct sockaddr *addr, int udp_encap) in listen_addr() function
|