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

/freebsd-12-stable/contrib/unbound/daemon/
H A Ddaemon.h50 struct listen_port;
87 struct listen_port** ports;
95 struct listen_port* rc_ports;
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 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-12-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-12-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-12-stable/crypto/openssh/
H A Dserverloop.c776 fwd.listen_port = (u_short)packet_get_int();
778 fwd.listen_host, fwd.listen_port);
784 (!want_reply && fwd.listen_port == 0) ||
785 (fwd.listen_port != 0 &&
786 !bind_permitted(fwd.listen_port, pw->pw_uid))) {
805 fwd.listen_port = (u_short)packet_get_int();
807 fwd.listen_host, fwd.listen_port);
H A Dmux.c552 fwd->listen_host, fwd->listen_port,
560 fwd->listen_host, fwd->listen_port);
567 fwd->listen_port,
594 if (a->listen_port != b->listen_port)
632 rfwd->listen_port, rfwd->connect_path ? rfwd->connect_path :
635 if (rfwd->listen_port == 0) {
653 if (rfwd->listen_port == 0)
660 "listen port %d", rfwd->listen_port);
663 "connect %s:%d", __func__, rfwd->listen_port,
[all...]
H A Dchannels.c119 int listen_port; /* Remote side should listen port. */ member in struct:permission
525 const char *listen_host, const char *listen_path, int listen_port,
543 (*permp)[n].listen_port = listen_port;
565 c->self, perm->listen_host, perm->listen_port);
572 (r = sshpkt_put_u32(ssh, perm->listen_port)) != 0 ||
2721 u_int id, remote_id, listen_port; local
2809 (r = sshbuf_get_u32(original, &listen_port)) != 0) {
2813 if (listen_port > 65535) {
2815 __func__, listen_host, listen_port);
523 permission_set_add(struct ssh *ssh, int who, int where, const char *host_to_connect, int port_to_connect, const char *listen_host, const char *listen_path, int listen_port, Channel *downstream) argument
3835 int port_to_connect, listen_port; local
4307 channel_connect_by_listen_address(struct ssh *ssh, const char *listen_host, u_short listen_port, char *ctype, char *rname) argument
[all...]
H A Dreadconf.c352 fwd->listen_port = newfwd->listen_port;
381 fwd->listen_port = newfwd->listen_port;
2317 fwd->listen_port = PORT_STREAMLOCAL;
2320 fwd->listen_port = a2port(fwdargs[0].arg);
2328 fwd->listen_port = PORT_STREAMLOCAL;
2333 fwd->listen_port = a2port(fwdargs[0].arg);
2338 fwd->listen_port = a2port(fwdargs[1].arg);
2346 fwd->listen_port
[all...]
H A Dmisc.h24 int listen_port; /* Port to forward. */ member in struct:Forward
H A Dssh.c845 options.stdio_forward_port = fwd.listen_port;
1621 rfwd->listen_port, rfwd->connect_path ? rfwd->connect_path :
1623 if (rfwd->listen_path == NULL && rfwd->listen_port == 0) {
1643 "for listen port %d", rfwd->listen_port);
1650 "for listen port %d", rfwd->listen_port);
1711 options.local_forwards[i].listen_port,
1732 options.remote_forwards[i].listen_port,
H A Dclientloop.c1491 u_short listen_port, originator_port; local
1496 listen_port = packet_get_int();
1502 listen_address, listen_port, originator_address, originator_port);
1504 c = channel_connect_by_listen_address(ssh, listen_address, listen_port,
1520 (r = sshbuf_put_u32(b, listen_port)) != 0 ||
H A Dmisc.c1569 if (a->listen_port != b->listen_port)
/freebsd-12-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-12-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 316 milliseconds