Home
last modified time | relevance | path

Searched refs:listen (Results 1 – 25 of 248) sorted by relevance

12345678910

/openbsd/usr.sbin/npppd/npppd/
H A Dnpppd_radius.c599 if (listen != NULL) in npppd_radius_dae_init()
603 if ((listen = calloc(1, sizeof(*listen))) == NULL) { in npppd_radius_dae_init()
608 listen->pppd = _this; in npppd_radius_dae_init()
609 listen->sock = -1; in npppd_radius_dae_init()
620 if (listen->sock == -1) in npppd_radius_dae_init()
628 free(listen); in npppd_radius_dae_init()
644 free(listen); in npppd_radius_dae_fini()
670 listen->sock = sock; in npppd_radius_dae_listen_start()
671 event_set(&listen->evsock, listen->sock, EV_READ | EV_PERSIST, in npppd_radius_dae_listen_start()
865 close(listen->sock); in npppd_radius_dae_listen_stop()
[all …]
H A Dnpppd.conf17 listen on 0.0.0.0
18 listen on ::
H A Dparse.y224 &curr_tunnconf->proto.l2tp.listen)) {
236 l2tp.listen, addr, entry);
257 pptp.listen, addr, entry);
305 .l2tp.listen, l_listen, entry);
324 .pptp.listen, p_listen, entry);
564 struct radlistenconf *listen; variable
570 if ((listen = calloc(1, sizeof(*listen))) == NULL) {
576 memcpy(&listen->addr, &$5,
580 memcpy(&listen->addr, &$5,
1614 TAILQ_INIT(&tun->proto.l2tp.listen);
[all …]
/openbsd/usr.bin/sndiod/
H A Dlisten.c56 listen_close(struct listen *f) in listen_close()
58 struct listen **pf; in listen_close()
83 struct listen *f; in listen_new_un()
102 if (listen(sock, 1) == -1) { in listen_new_un()
126 struct listen *f; in listen_new_tcp()
164 if (listen(s, 1) == -1) { in listen_new_tcp()
186 listen_init(struct listen *f) in listen_init()
194 struct listen *f = arg; in listen_pollfd()
207 struct listen *f = arg; in listen_revents()
217 struct listen *f = arg; in listen_in()
[all …]
H A Dlisten.h22 struct listen { struct
23 struct listen *next; argument
30 extern struct listen *listen_list; argument
34 int listen_init(struct listen *);
35 void listen_close(struct listen *);
/openbsd/regress/usr.sbin/snmpd/
H A Dsnmpd.sh92 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
200 listen on 127.0.0.1
201 listen on ::1
244 listen on 127.0.0.1
245 listen on ::1
280 listen on 127.0.0.1 snmpv1 snmpv2c
281 listen on ::1 snmpv1 snmpv2c
/openbsd/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;
232 die if( !defined( $listen));
233 my $serverport = $listen->sockport;
346 last SERVER_LOOP unless my $sock = $listen->accept;
[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/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"
/openbsd/sbin/unwind/libunbound/services/
H A Dlisten_dnsport.h208 void listen_delete(struct listen_dnsport* listen);
227 size_t listen_get_mem(struct listen_dnsport* listen);
233 void listen_stop_accept(struct listen_dnsport* listen);
239 void listen_start_accept(struct listen_dnsport* listen);
266 int snd, int listen, int* reuseport, int transparent, int freebind, int use_systemd, int dscp);
/openbsd/usr.sbin/unbound/services/
H A Dlisten_dnsport.h208 void listen_delete(struct listen_dnsport* listen);
227 size_t listen_get_mem(struct listen_dnsport* listen);
233 void listen_stop_accept(struct listen_dnsport* listen);
239 void listen_start_accept(struct listen_dnsport* listen);
266 int snd, int listen, int* reuseport, int transparent, int freebind, int use_systemd, int dscp);
/openbsd/etc/examples/
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
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
/openbsd/regress/lib/libc/sys/
H A Dt_listen.c74 ATF_REQUIRE_ERRNO(ENOTSOCK, listen(fdc, 1) == -1); in ATF_TC_BODY()
80 ATF_REQUIRE(listen(fda, 1) == 0); in ATF_TC_BODY()
87 ATF_REQUIRE_ERRNO(EINVAL, listen(fdb, 1) == -1); in ATF_TC_BODY()
120 if (listen(sd, 5) == -1) { in ATF_TC_BODY()
/openbsd/gnu/usr.bin/perl/t/lib/warnings/
H A Dpp_sys320 listen STDIN, 2;
331 listen STDIN, 2;
342 listen FOO, 2;
353 listen FOO, 2;
365 listen STDIN, 2;
386 listen FOO, 2;
397 listen FOO, 2;
482 listen FOO, 2;
493 listen FOO, 2;
526 listen FOO, 2;
[all …]
/openbsd/etc/mail/
H A Dsmtpd.conf8 listen on socket
12 listen on lo0
/openbsd/regress/usr.sbin/bgpd/config/
H A Dbgpd.conf.1.ok4 listen on 0.0.0.0
5 listen on ::
H A Dbgpd.conf.6.ok4 listen on 0.0.0.0
5 listen on ::
H A Dbgpd.conf.14.ok4 listen on 0.0.0.0
5 listen on ::
H A Dbgpd.conf.15.ok4 listen on 0.0.0.0
5 listen on ::
/openbsd/regress/usr.sbin/bgpd/integrationtests/
H A Dbgpd.maxattr.rdomain2_2.conf7 listen on 10.12.57.3
8 listen on 2001:db8:57::3
H A Dbgpd.maxattr.rdomain2_3.conf7 listen on 10.12.57.4
8 listen on 2001:db8:57::4
/openbsd/usr.bin/ssh/
H A DPROTOCOL.mux5 master. This will cause ssh(1) to listen on a Unix domain socket for
167 string listen host
168 uint32 listen port
174 If listen port is (unsigned int) -2, then the listen host is treated as
183 For dynamically allocated listen port the server replies with
187 uint32 allocated remote listen port
196 string listen host
197 uint32 listen port

12345678910