Searched refs:listen_addr (Results 1 – 5 of 5) sorted by relevance
/external/libmicrohttpd/src/platform/ |
D | w32functions.c | 567 struct sockaddr_in listen_addr; in MHD_W32_pair_of_sockets_() local 577 listen_addr.sin_family = AF_INET; in MHD_W32_pair_of_sockets_() 578 listen_addr.sin_port = htons(0); in MHD_W32_pair_of_sockets_() 579 listen_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in MHD_W32_pair_of_sockets_() 580 if (0 == bind(listen_s, (struct sockaddr*) &listen_addr, c_addinlen) in MHD_W32_pair_of_sockets_() 582 && 0 == getsockname(listen_s, (struct sockaddr*) &listen_addr, in MHD_W32_pair_of_sockets_() 589 && (0 == connect(client_s, (struct sockaddr*) &listen_addr, c_addinlen) in MHD_W32_pair_of_sockets_()
|
/external/libevent/ |
D | evutil.c | 211 struct sockaddr_in listen_addr; in evutil_ersatz_socketpair() local 233 memset(&listen_addr, 0, sizeof(listen_addr)); in evutil_ersatz_socketpair() 234 listen_addr.sin_family = AF_INET; in evutil_ersatz_socketpair() 235 listen_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in evutil_ersatz_socketpair() 236 listen_addr.sin_port = 0; /* kernel chooses port. */ in evutil_ersatz_socketpair() 237 if (bind(listener, (struct sockaddr *) &listen_addr, sizeof (listen_addr)) in evutil_ersatz_socketpair() 256 size = sizeof(listen_addr); in evutil_ersatz_socketpair() 257 acceptor = accept(listener, (struct sockaddr *) &listen_addr, &size); in evutil_ersatz_socketpair() 260 if (size != sizeof(listen_addr)) in evutil_ersatz_socketpair() 267 || listen_addr.sin_family != connect_addr.sin_family in evutil_ersatz_socketpair() [all …]
|
/external/openssh/ |
D | mux.c | 666 char *listen_addr, *connect_addr; in process_mux_open_fwd() local 675 (listen_addr = buffer_get_string_ret(m, NULL)) == NULL || in process_mux_open_fwd() 685 if (*listen_addr == '\0') { in process_mux_open_fwd() 686 free(listen_addr); in process_mux_open_fwd() 687 listen_addr = NULL; in process_mux_open_fwd() 697 fwd.listen_path = listen_addr; in process_mux_open_fwd() 699 fwd.listen_host = listen_addr; in process_mux_open_fwd() 713 free(listen_addr); in process_mux_open_fwd() 835 char *listen_addr = NULL, *connect_addr = NULL; in process_mux_close_fwd() local 843 (listen_addr = buffer_get_string_ret(m, NULL)) == NULL || in process_mux_close_fwd() [all …]
|
D | channels.c | 3135 channel_fwd_bind_addr(const char *listen_addr, int *wildcardp, argument 3141 if (listen_addr == NULL) { 3147 strcmp(listen_addr, "0.0.0.0") == 0 && is_client == 0) || 3148 *listen_addr == '\0' || strcmp(listen_addr, "*") == 0 || 3155 if (*listen_addr != '\0' && 3156 strcmp(listen_addr, "0.0.0.0") != 0 && 3157 strcmp(listen_addr, "*") != 0) { 3160 "GatewayPorts", listen_addr); 3162 } else if (strcmp(listen_addr, "localhost") != 0 || 3163 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
|