/freebsd/contrib/unbound/services/ |
H A D | listen_dnsport.c | 1122 port_insert(struct listen_port** list, int s, enum listen_type ftype, in port_insert() 1125 struct listen_port* item = (struct listen_port*)malloc( in port_insert() 1126 sizeof(struct listen_port)); in port_insert() 1264 struct addrinfo *hints, const char* port, struct listen_port** list, in ports_create_if() 1445 listen_create(struct comm_base* base, struct listen_port* ports, in listen_create() 1793 struct listen_port* 1797 struct listen_port* list = NULL; in listening_ports_open() 1957 void listening_ports_free(struct listen_port* list) in listening_ports_free() 1959 struct listen_port* nx; in listening_ports_free()
|
H A D | listen_dnsport.h | 126 struct listen_port { struct 128 struct listen_port* next; argument 153 struct listen_port* listening_ports_open(struct config_file* cfg, argument 159 void listening_ports_free(struct listen_port* list); 197 listen_create(struct comm_base* base, struct listen_port* ports,
|
/freebsd/contrib/unbound/daemon/ |
H A D | daemon.c | 327 struct listen_port* port_list) in setup_acl_for_ports() 355 struct listen_port* p0; in daemon_open_shared_ports() 390 if(!(daemon->ports = (struct listen_port**)calloc( in daemon_open_shared_ports()
|
H A D | remote.c | 237 add_open(const char* ip, int nr, struct listen_port** list, int noproto_is_err, in add_open() 242 struct listen_port* n; in add_open() 314 n = (struct listen_port*)calloc(1, sizeof(*n)); in add_open() 326 struct listen_port* daemon_remote_open_ports(struct config_file* cfg) in daemon_remote_open_ports() 328 struct listen_port* l = NULL; in daemon_remote_open_ports() 383 struct listen_port* ports, struct worker* worker) in daemon_remote_open_accept() 385 struct listen_port* p; in daemon_remote_open_accept()
|
H A D | worker.c | 2100 struct listen_port* ports, int do_sigs) in worker_init()
|
H A D | remote.h | 53 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 D | daemon.h | 50 struct listen_port; 87 struct listen_port** ports; 95 struct listen_port* rc_ports;
|
H A D | worker.h | 59 struct listen_port; 159 struct listen_port* ports, int do_sigs);
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_cm.c | 1530 u16 listen_port; in irdma_find_listener() local 1537 listen_port = listen_node->loc_port; in irdma_find_listener() 1538 if (listen_node->ipv4 != ipv4 || listen_port != dst_port || in irdma_find_listener()
|
/freebsd/crypto/openssh/ |
H A D | ssh.c | 951 fwd.listen_port == PORT_STREAMLOCAL ? in main() 953 options.stdio_forward_port = fwd.listen_port; in main() 1908 rfwd->listen_port, rfwd->connect_path ? rfwd->connect_path : in ssh_confirm_remote_forward() 1910 if (rfwd->listen_path == NULL && rfwd->listen_port == 0) { in ssh_confirm_remote_forward() 1944 "for listen port %d", rfwd->listen_port); in ssh_confirm_remote_forward() 1951 "for listen port %d", rfwd->listen_port); in ssh_confirm_remote_forward() 2064 options.local_forwards[i].listen_port, in ssh_init_forwarding() 2085 options.remote_forwards[i].listen_port, in ssh_init_forwarding()
|
H A D | channels.c | 702 (*permp)[n].listen_port = listen_port; in permission_set_add() 3150 u_int id, remote_id, listen_port; in channel_proxy_downstream() local 3242 if (listen_port > 65535) { in channel_proxy_downstream() 3244 listen_host, listen_port); in channel_proxy_downstream() 3925 fwd->listen_port == 0 && in channel_setup_fwd_listener_tcpip() 4187 allowed_open->listen_port != fwd->listen_port) in remote_open_match() 4297 int port_to_connect, listen_port; in channel_request_remote_forwarding() local 4335 listen_port = PORT_STREAMLOCAL; in channel_request_remote_forwarding() 4338 listen_port = fwd->listen_port; in channel_request_remote_forwarding() 4489 fwd->listen_port ? fwd->listen_port : fwd->allocated_port); in channel_request_rforward_cancel() [all …]
|
H A D | clientloop.c | 1710 u_int listen_port, originator_port; in client_request_forwarded_tcpip() local 1715 (r = sshpkt_get_u32(ssh, &listen_port)) != 0 || in client_request_forwarded_tcpip() 1722 listen_address, listen_port, originator_address, originator_port); in client_request_forwarded_tcpip() 1724 if (listen_port > 0xffff) in client_request_forwarded_tcpip() 1730 listen_address, listen_port, "forwarded-tcpip", in client_request_forwarded_tcpip() 1747 (r = sshbuf_put_u32(b, listen_port)) != 0 || in client_request_forwarded_tcpip()
|
H A D | misc.c | 1979 if (a->listen_port != b->listen_port) in forward_equals()
|
H A D | misc.h | 27 int listen_port; /* Port to forward. */ member
|
H A D | readconf.c | 394 fwd->listen_port = newfwd->listen_port; in add_local_forward() 423 fwd->listen_port = newfwd->listen_port; in add_remote_forward() 3144 fwd->listen_port = PORT_STREAMLOCAL; in parse_forward() 3147 fwd->listen_port = a2port(fwdargs[0].arg); in parse_forward() 3155 fwd->listen_port = PORT_STREAMLOCAL; in parse_forward() 3173 fwd->listen_port = PORT_STREAMLOCAL; in parse_forward() 3191 fwd->listen_port = a2port(fwdargs[1].arg); in parse_forward() 3215 (!remotefwd && fwd->listen_port == 0)) in parse_forward() 3473 if (fwd->listen_port == PORT_STREAMLOCAL) in dump_cfg_forwards() 3476 printf(" %d", fwd->listen_port); in dump_cfg_forwards() [all …]
|
H A D | mux.c | 540 fwd->listen_host, fwd->listen_port, in format_forward() 555 fwd->listen_port, in format_forward() 582 if (a->listen_port != b->listen_port) in compare_forward() 624 if (rfwd->listen_port == 0) { in mux_confirm_remote_forward() 649 if (rfwd->listen_port == 0) in mux_confirm_remote_forward() 659 "connect %s:%d", rfwd->listen_port, in mux_confirm_remote_forward() 717 fwd.listen_port = lport; in mux_master_process_open_fwd() 718 if (fwd.listen_port == PORT_STREAMLOCAL) in mux_master_process_open_fwd() 746 if (fwd.listen_port != PORT_STREAMLOCAL && fwd.listen_port >= 65536) { in mux_master_process_open_fwd() 782 if (fwd.listen_port != 0) in mux_master_process_open_fwd() [all …]
|
H A D | serverloop.c | 789 fwd.listen_port = (int)port; in server_input_global_request() 795 (!want_reply && fwd.listen_port == 0) || in server_input_global_request() 796 (fwd.listen_port != 0 && in server_input_global_request() 797 !bind_permitted(fwd.listen_port, pw->pw_uid))) { in server_input_global_request() 818 fwd.listen_port = (int)port; in server_input_global_request()
|
/freebsd/contrib/pf/ftp-proxy/ |
H A D | ftp-proxy.c | 124 const char *fixed_server, *fixed_server_port, *fixed_proxy, *listen_ip, *listen_port, variable 613 listen_port = "8021"; in main() 658 listen_port = optarg; in main() 738 error = getaddrinfo(listen_ip, listen_port, &hints, &res); in main() 785 logmsg(LOG_NOTICE, "listening on %s port %s", listen_ip, listen_port); in main()
|
/freebsd/tools/regression/sockets/accept_fd_leak/ |
H A D | accept_fd_leak.c | 68 int fd1, fd2, fd3, i, listen_port, s, status; in main() local 93 listen_port = MAX((int)random() % 65535, 1025); in main() 94 sin.sin_port = htons(listen_port); in main() 97 warn("bind with %d failed", listen_port); in main() 160 sin.sin_port = htons(listen_port); in main()
|
/freebsd/contrib/wireguard-tools/ |
H A D | ipc-freebsd.h | 90 dev->listen_port = number; in kernel_get_device() 274 nvlist_add_number(nvl_device, "listen-port", dev->listen_port); in kernel_set_device()
|
H A D | show.c | 219 if (device->listen_port) in pretty_print() 220 terminal_printf(" " TERMINAL_BOLD "listening port" TERMINAL_RESET ": %u\n", device->listen_port); in pretty_print() 262 printf("%u\t", device->listen_port); in dump_print() 306 printf("%u\n", device->listen_port); in ugly_print()
|
H A D | containers.h | 87 uint16_t listen_port; member
|
H A D | ipc-uapi.h | 49 fprintf(f, "listen_port=%u\n", dev->listen_port); in userspace_set_device() 181 dev->listen_port = NUM(0xffffU); in userspace_get_device()
|
H A D | showconf.c | 41 if (device->listen_port) in showconf_main() 42 printf("ListenPort = %u\n", device->listen_port); in showconf_main()
|
H A D | config.c | 446 ret = parse_port(&ctx->device->listen_port, &ctx->device->flags, value); in process_line() 576 if (!parse_port(&device->listen_port, &device->flags, argv[1])) in config_read_cmd()
|