Searched refs:listen (Results 1 - 25 of 169) sorted by relevance

1234567

/openbsd-current/usr.bin/sndiod/
H A Dlisten.h1 /* $OpenBSD: listen.h,v 1.3 2016/01/08 13:14:11 ratchov Exp $ */
22 struct listen { struct
23 struct listen *next;
30 extern struct listen *listen_list;
34 int listen_init(struct listen *);
35 void listen_close(struct listen *);
H A Dlisten.c1 /* $OpenBSD: listen.c,v 1.14 2020/01/23 20:55:01 ratchov Exp $ */
33 #include "listen.h"
45 "listen",
53 struct listen *listen_list = NULL;
56 listen_close(struct listen *f)
58 struct listen **pf;
83 struct listen *f;
105 if (listen(sock, 1) == -1) {
107 log_puts(": failed to listen\n");
111 f = xmalloc(sizeof(struct listen));
[all...]
H A DMakefile4 SRCS= abuf.c dev.c dev_sioctl.c dsp.c fdpass.c file.c listen.c \
/openbsd-current/etc/examples/
H A Dldapd.conf8 listen on lo0
9 listen on "/var/run/ldapi"
H A Dhttpd.conf4 listen on * port 80
15 listen on * tls port 443
H A Drelayd.conf27 listen on $ext_addr port http interface trunk0
54 listen on $ext_addr port 443 tls
72 listen on $ext_addr port 2222
108 listen on 127.0.0.1 port 8080
/openbsd-current/regress/usr.sbin/ldapd/
H A Dldapd.conf5 listen on lo0 port 6636
6 listen on lo0 port 6639 secure
7 listen on "/tmp/ldapi"
H A Dnldapd.conf5 listen on lo0 port 6640 secure
/openbsd-current/regress/usr.sbin/acme-client/
H A Dhttpd.conf3 listen on "*" port 80
/openbsd-current/etc/mail/
H A Dsmtpd.conf8 listen on socket
10 # To accept external mail, replace with: listen on all
12 listen on lo0
/openbsd-current/usr.sbin/npppd/npppd/
H A Dnpppd.conf17 listen on 0.0.0.0
18 listen on ::
H A Dnpppd_radius.c581 struct npppd_radius_dae_listen *listen, *listent; local
587 TAILQ_FOREACH_SAFE(listen, &_this->raddae_listens, entry,
589 if ((listen->addr.sin4.sin_family == AF_INET &&
591 memcmp(&listen->addr.sin4, &listenconf->addr.sin4,
593 (listen->addr.sin6.sin6_family == AF_INET6 &&
595 memcmp(&listen->addr.sin6, &listenconf->addr.sin6,
599 if (listen != NULL)
601 TAILQ_REMOVE(&_this->raddae_listens, listen, entry);
603 if ((listen = calloc(1, sizeof(*listen)))
639 struct npppd_radius_dae_listen *listen, *listent; local
649 npppd_radius_dae_listen_start(struct npppd_radius_dae_listen *listen) argument
692 struct npppd_radius_dae_listen *listen = ctx; local
856 npppd_radius_dae_listen_stop(struct npppd_radius_dae_listen *listen) argument
[all...]
/openbsd-current/regress/usr.sbin/bgpd/integrationtests/
H A Dbgpd.pftable.rdomain2_1.conf7 listen on 10.12.57.2
H A Dbgpd.pftable.rdomain2_2.conf7 listen on 10.12.57.3
H A Dbgpd.ixp.rdomain2_4.conf3 listen on 192.0.2.41
H A Dbgpd.ixp.rdomain2_1.conf3 listen on 192.0.2.11
H A Dbgpd.capa.client.conf6 listen on $IP
H A Dbgpd.op.client.conf6 listen on $IP
/openbsd-current/regress/usr.sbin/snmpd/
H A Dsnmpd.sh91 # Restrict daemon to listen on localhost only
92 listen on 127.0.0.1 snmpv1 snmpv2c snmpv3
93 listen on 127.0.0.1 snmpv2c notify
94 listen on ::1 snmpv1 snmpv2c snmpv3
95 listen on ::1 snmpv2c notify
199 # Restrict daemon to listen on localhost only
200 listen on 127.0.0.1
201 listen on ::1
243 # Restrict daemon to listen on localhost only
244 listen o
[all...]
/openbsd-current/usr.sbin/npppd/pptp/
H A Dpptp_conf.h45 listen; member in struct:pptp_conf
/openbsd-current/gnu/usr.bin/perl/dist/IO/t/
H A Dio_sock.t40 my $listen = IO::Socket::INET->new(LocalAddr => 'localhost',
57 my $port = $listen->sockport;
61 my $sock = $listen->accept() or die "accept failed: $!";
102 $listen = IO::Socket::INET->new(LocalAddr => 'localhost', Listen => '', Timeout => 15) or die "$!";
103 $port = $listen->sockport;
108 last SERVER_LOOP unless my $sock = $listen->accept;
116 $listen->close;
229 $listen = IO::Socket::INET->new(LocalAddr => 'localhost', Listen => 2, Proto => 'tcp', Timeout => 15) ||
232 die if( !defined( $listen));
233 my $serverport = $listen
[all...]
H A Dio_unix.t67 my $listen = IO::Socket::UNIX->new(Local => $PATH, Listen => 0);
73 unless (defined $listen) {
80 last if $listen = IO::Socket::UNIX->new(Local => $PATH,
85 defined $listen or die "$PATH: $!";
91 my $sock = $listen->accept();
H A Dio_multihomed.t77 my $listen = IO::Socket::INET->new(LocalAddr => 'localhost',
85 my $port = $listen->sockport;
89 my $sock = $listen->accept() or die "$!";
/openbsd-current/usr.sbin/npppd/l2tp/
H A Dl2tp_conf.h43 listen; member in struct:l2tp_conf
/openbsd-current/regress/lib/libc/sys/
H A Dt_listen.c43 static const char *path = "listen";
49 "Checks errors from listen(2) (PR standards/46150)");
71 fdc = open("listen", O_RDWR | O_CREAT, 0600);
74 ATF_REQUIRE_ERRNO(ENOTSOCK, listen(fdc, 1) == -1);
80 ATF_REQUIRE(listen(fda, 1) == 0);
87 ATF_REQUIRE_ERRNO(EINVAL, listen(fdb, 1) == -1);
120 if (listen(sd, 5) == -1) {
122 atf_tc_fail("listen failed: %s%s",

Completed in 386 milliseconds

1234567