/openbsd-current/usr.bin/sndiod/ |
H A D | listen.h | 1 /* $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 D | listen.c | 1 /* $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 D | Makefile | 4 SRCS= abuf.c dev.c dev_sioctl.c dsp.c fdpass.c file.c listen.c \
|
/openbsd-current/etc/examples/ |
H A D | ldapd.conf | 8 listen on lo0 9 listen on "/var/run/ldapi"
|
H A D | httpd.conf | 4 listen on * port 80 15 listen on * tls port 443
|
H A D | relayd.conf | 27 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 D | ldapd.conf | 5 listen on lo0 port 6636 6 listen on lo0 port 6639 secure 7 listen on "/tmp/ldapi"
|
H A D | nldapd.conf | 5 listen on lo0 port 6640 secure
|
/openbsd-current/regress/usr.sbin/acme-client/ |
H A D | httpd.conf | 3 listen on "*" port 80
|
/openbsd-current/etc/mail/ |
H A D | smtpd.conf | 8 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 D | npppd.conf | 17 listen on 0.0.0.0 18 listen on ::
|
H A D | npppd_radius.c | 581 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 D | bgpd.pftable.rdomain2_1.conf | 7 listen on 10.12.57.2
|
H A D | bgpd.pftable.rdomain2_2.conf | 7 listen on 10.12.57.3
|
H A D | bgpd.ixp.rdomain2_4.conf | 3 listen on 192.0.2.41
|
H A D | bgpd.ixp.rdomain2_1.conf | 3 listen on 192.0.2.11
|
H A D | bgpd.capa.client.conf | 6 listen on $IP
|
H A D | bgpd.op.client.conf | 6 listen on $IP
|
/openbsd-current/regress/usr.sbin/snmpd/ |
H A D | snmpd.sh | 91 # 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 D | pptp_conf.h | 45 listen; member in struct:pptp_conf
|
/openbsd-current/gnu/usr.bin/perl/dist/IO/t/ |
H A D | io_sock.t | 40 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 D | io_unix.t | 67 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 D | io_multihomed.t | 77 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 D | l2tp_conf.h | 43 listen; member in struct:l2tp_conf
|
/openbsd-current/regress/lib/libc/sys/ |
H A D | t_listen.c | 43 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",
|