Searched refs:listen_port (Results 1 - 18 of 18) sorted by relevance

/freebsd-10.3-release/contrib/unbound/services/
H A Dlisten_dnsport.h95 struct listen_port { struct
97 struct listen_port* next;
115 struct listen_port* listening_ports_open(struct config_file* cfg,
121 void listening_ports_free(struct listen_port* list);
139 struct listen_port* ports, size_t bufsize, int tcp_accept_count,
H A Dlisten_dnsport.c766 port_insert(struct listen_port** list, int s, enum listen_type ftype)
768 struct listen_port* item = (struct listen_port*)malloc(
769 sizeof(struct listen_port));
854 struct addrinfo *hints, const char* port, struct listen_port** list,
952 listen_create(struct comm_base* base, struct listen_port* ports,
1029 struct listen_port*
1032 struct listen_port* list = NULL;
1114 void listening_ports_free(struct listen_port* list)
1116 struct listen_port* n
[all...]
/freebsd-10.3-release/contrib/unbound/daemon/
H A Ddaemon.h53 struct listen_port;
82 struct listen_port** ports;
90 struct listen_port* rc_ports;
H A Dremote.h53 struct listen_port;
132 struct listen_port* daemon_remote_open_ports(struct config_file* cfg);
142 struct listen_port* ports, struct worker* worker);
H A Dworker.h59 struct listen_port;
152 struct listen_port* ports, int do_sigs);
H A Ddaemon.c261 struct listen_port* p0;
289 if(!(daemon->ports = (struct listen_port**)calloc(
H A Dremote.c338 add_open(const char* ip, int nr, struct listen_port** list, int noproto_is_err,
343 struct listen_port* n;
409 n = (struct listen_port*)calloc(1, sizeof(*n));
425 struct listen_port* daemon_remote_open_ports(struct config_file* cfg)
427 struct listen_port* l = NULL;
475 struct listen_port* ports, struct worker* worker)
477 struct listen_port* p;
H A Dworker.c1152 struct listen_port* ports, int do_sigs)
/freebsd-10.3-release/tools/regression/sockets/accept_fd_leak/
H A Daccept_fd_leak.c70 int fd1, fd2, fd3, i, listen_port, s, status; local
95 listen_port = MAX((int)random() % 65535, 1025);
96 sin.sin_port = htons(listen_port);
99 warn("bind with %d failed", listen_port);
162 sin.sin_port = htons(listen_port);
/freebsd-10.3-release/crypto/openssh/
H A Dmisc.h21 int listen_port; /* Port to forward. */ member in struct:Forward
H A Dmux.c528 fwd->listen_host, fwd->listen_port,
536 fwd->listen_host, fwd->listen_port);
543 fwd->listen_port,
570 if (a->listen_port != b->listen_port)
606 rfwd->listen_port, rfwd->connect_path ? rfwd->connect_path :
609 if (rfwd->listen_port == 0) {
625 if (rfwd->listen_port == 0)
632 "listen port %d", rfwd->listen_port);
635 "connect %s:%d", __func__, rfwd->listen_port,
[all...]
H A Dreadconf.c322 if (newfwd->listen_port < ipport_reserved && original_real_uid != 0)
323 if (newfwd->listen_port < ipport_reserved && original_real_uid != 0 &&
333 fwd->listen_port = newfwd->listen_port;
356 fwd->listen_port = newfwd->listen_port;
2089 fwd->listen_port = PORT_STREAMLOCAL;
2092 fwd->listen_port = a2port(fwdargs[0].arg);
2100 fwd->listen_port = PORT_STREAMLOCAL;
2105 fwd->listen_port
[all...]
H A Dchannels.c123 int listen_port; /* Remote side should listen port. */ member in struct:__anon5340
2858 snprintf(strport, sizeof strport, "%d", fwd->listen_port);
2889 if (type == SSH_CHANNEL_RPORT_LISTENER && fwd->listen_port == 0 &&
2932 * fwd->listen_port == 0 requests a dynamically allocated port -
2935 if (type == SSH_CHANNEL_RPORT_LISTENER && fwd->listen_port == 0 &&
2950 if (fwd->listen_port == 0 && allocated_listen_port != NULL &&
2954 c->listening_port = fwd->listen_port;
2959 fwd->listen_port);
3086 return channel_cancel_rport_listener_tcpip(fwd->listen_host, fwd->listen_port);
3157 return channel_cancel_lport_listener_tcpip(fwd->listen_host, fwd->listen_port, cpor
3764 channel_connect_by_listen_address(const char *listen_host, u_short listen_port, char *ctype, char *rname) argument
[all...]
H A Dserverloop.c1235 fwd.listen_port = (u_short)packet_get_int();
1237 fwd.listen_host, fwd.listen_port);
1242 (!want_reply && fwd.listen_port == 0)
1244 || (fwd.listen_port != 0 && fwd.listen_port < IPPORT_RESERVED &&
1266 fwd.listen_port = (u_short)packet_get_int();
1268 fwd.listen_host, fwd.listen_port);
H A Dssh.c779 stdio_forward_port = fwd.listen_port;
1473 rfwd->listen_port, rfwd->connect_path ? rfwd->connect_path :
1475 if (rfwd->listen_path == NULL && rfwd->listen_port == 0) {
1495 "for listen port %d", rfwd->listen_port);
1502 "for listen port %d", rfwd->listen_port);
1564 options.local_forwards[i].listen_port,
1585 options.remote_forwards[i].listen_port,
H A Dclientloop.c1888 u_short listen_port, originator_port; local
1892 listen_port = packet_get_int();
1898 listen_address, listen_port, originator_address, originator_port);
1900 c = channel_connect_by_listen_address(listen_address, listen_port,
/freebsd-10.3-release/contrib/pf/ftp-proxy/
H A Dftp-proxy.c127 const char *fixed_server, *fixed_server_port, *fixed_proxy, *listen_ip, *listen_port, variable
616 listen_port = "8021";
661 listen_port = optarg;
741 error = getaddrinfo(listen_ip, listen_port, &hints, &res);
788 logmsg(LOG_NOTICE, "listening on %s port %s", listen_ip, listen_port);
/freebsd-10.3-release/contrib/apr/
H A Dconfigure27163 int listen_port, rc;
27198 listen_port = sa.sin_port;
27211 sa.sin_port = listen_port;
27313 int listen_port, rc;
27342 listen_port = sa.sin_port;
27360 sa.sin_port = listen_port;

Completed in 281 milliseconds