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

/freebsd-11-stable/contrib/unbound/daemon/
H A Dremote.h53 struct listen_port;
147 struct listen_port* daemon_remote_open_ports(struct config_file* cfg);
157 struct listen_port* ports, struct worker* worker);
H A Ddaemon.h50 struct listen_port;
87 struct listen_port** ports;
95 struct listen_port* rc_ports;
H A Dworker.h59 struct listen_port;
153 struct listen_port* ports, int do_sigs);
H A Ddaemon.c314 struct listen_port* p0;
345 if(!(daemon->ports = (struct listen_port**)calloc(
H A Dremote.c273 add_open(const char* ip, int nr, struct listen_port** list, int noproto_is_err,
278 struct listen_port* n;
350 n = (struct listen_port*)calloc(1, sizeof(*n));
362 struct listen_port* daemon_remote_open_ports(struct config_file* cfg)
364 struct listen_port* l = NULL;
412 struct listen_port* ports, struct worker* worker)
414 struct listen_port* p;
H A Dworker.c1733 struct listen_port* ports, int do_sigs)
/freebsd-11-stable/contrib/unbound/services/
H A Dlisten_dnsport.h109 struct listen_port { struct
111 struct listen_port* next;
131 struct listen_port* listening_ports_open(struct config_file* cfg,
137 void listening_ports_free(struct listen_port* list);
172 listen_create(struct comm_base* base, struct listen_port* ports,
H A Dlisten_dnsport.c1008 port_insert(struct listen_port** list, int s, enum listen_type ftype)
1010 struct listen_port* item = (struct listen_port*)malloc(
1011 sizeof(struct listen_port));
1136 struct addrinfo *hints, const char* port, struct listen_port** list,
1244 listen_create(struct comm_base* base, struct listen_port* ports,
1564 struct listen_port*
1568 struct listen_port* list = NULL;
1662 void listening_ports_free(struct listen_port* list)
1664 struct listen_port* n
[all...]
/freebsd-11-stable/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-11-stable/crypto/openssh/
H A Dserverloop.c727 fwd.listen_port = (u_short)packet_get_int();
729 fwd.listen_host, fwd.listen_port);
734 (!want_reply && fwd.listen_port == 0) ||
735 (fwd.listen_port != 0 &&
736 !bind_permitted(fwd.listen_port, pw->pw_uid))) {
755 fwd.listen_port = (u_short)packet_get_int();
757 fwd.listen_host, fwd.listen_port);
H A Dchannels.c123 int listen_port; /* Remote side should listen port. */ member in struct:__anon4489
461 permitted_opens[i].listen_port);
467 packet_put_int(permitted_opens[i].listen_port);
470 permitted_opens[i].listen_port = 0;
2476 u_int id, remote_id, listen_port; local
2563 (r = sshbuf_get_u32(original, &listen_port)) != 0) {
2567 if (listen_port > 65535) {
2569 __func__, listen_host, listen_port);
2579 permitted_opens[idx].listen_port = (int)listen_port;
4116 channel_connect_by_listen_address(const char *listen_host, u_short listen_port, char *ctype, char *rname) argument
[all...]
H A Dmisc.h23 int listen_port; /* Port to forward. */ member in struct:Forward
H A Dmux.c531 fwd->listen_host, fwd->listen_port,
539 fwd->listen_host, fwd->listen_port);
546 fwd->listen_port,
573 if (a->listen_port != b->listen_port)
609 rfwd->listen_port, rfwd->connect_path ? rfwd->connect_path :
612 if (rfwd->listen_port == 0) {
628 if (rfwd->listen_port == 0)
635 "listen port %d", rfwd->listen_port);
638 "connect %s:%d", __func__, rfwd->listen_port,
[all...]
H A Dreadconf.c338 if (!bind_permitted(newfwd->listen_port, original_real_uid) &&
352 fwd->listen_port = newfwd->listen_port;
381 fwd->listen_port = newfwd->listen_port;
2240 fwd->listen_port = PORT_STREAMLOCAL;
2243 fwd->listen_port = a2port(fwdargs[0].arg);
2251 fwd->listen_port = PORT_STREAMLOCAL;
2256 fwd->listen_port = a2port(fwdargs[0].arg);
2261 fwd->listen_port
[all...]
H A Dssh.c792 options.stdio_forward_port = fwd.listen_port;
1551 rfwd->listen_port, rfwd->connect_path ? rfwd->connect_path :
1553 if (rfwd->listen_path == NULL && rfwd->listen_port == 0) {
1573 "for listen port %d", rfwd->listen_port);
1580 "for listen port %d", rfwd->listen_port);
1643 options.local_forwards[i].listen_port,
1664 options.remote_forwards[i].listen_port,
H A Dclientloop.c1892 u_short listen_port, originator_port; local
1897 listen_port = packet_get_int();
1903 listen_address, listen_port, originator_address, originator_port);
1905 c = channel_connect_by_listen_address(listen_address, listen_port,
1921 (r = sshbuf_put_u32(b, listen_port)) != 0 ||
H A Dmisc.c1238 if (a->listen_port != b->listen_port)
/freebsd-11-stable/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-11-stable/testcode/
H A Dfake_event.c869 listen_create(struct comm_base* base, struct listen_port* ATTR_UNUSED(ports),
1313 struct listen_port* listening_ports_open(struct config_file* ATTR_UNUSED(cfg),
1320 void listening_ports_free(struct listen_port* list)
/freebsd-11-stable/contrib/apr/
H A Dconfigure28768 int listen_port, rc;
28803 listen_port = sa.sin_port;
28816 sa.sin_port = listen_port;
28918 int listen_port, rc;
28947 listen_port = sa.sin_port;
28965 sa.sin_port = listen_port;

Completed in 250 milliseconds