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

123456

/linux-master/net/ax25/
H A Dax25_iface.c103 struct listen_struct *listen; local
108 if ((listen = kmalloc(sizeof(*listen), GFP_ATOMIC)) == NULL)
111 listen->callsign = *callsign;
112 listen->dev = dev;
115 listen->next = listen_list;
116 listen_list = listen;
126 struct listen_struct *s, *listen; local
129 listen = listen_list;
130 if (listen
176 struct listen_struct *listen; local
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dskc_to_unix_sock.c44 err = listen(sockfd, 1);
45 if (!ASSERT_OK(err, "listen failed"))
H A Dmigrate_reuseport.c5 * 1. call listen() for 4 server sockets.
7 * 3. call listen() for 1 server socket. (migration target)
13 * 6. call listen() for the second server socket.
17 * 8. call listen() for the last server.
269 err = listen(test_case->servers[i], qlen);
270 if (!ASSERT_OK(err, "listen"))
373 * calling listen() again will bind() the first listener
378 * and SOCK_BINDPORT_LOCK is set. Thus, re-listen() will
381 err = listen(test_case->servers[1], QLEN);
382 if (!ASSERT_OK(err, "listen"))
[all...]
/linux-master/include/xen/interface/io/
H A Dpvcalls.h10 /* "1" means socket, connect, release, bind, listen, accept and poll */
69 } listen; member in union:xen_pvcalls_request::__anon189
107 } listen; member in union:xen_pvcalls_response::__anon190
/linux-master/tools/testing/selftests/net/
H A Dsk_bind_sendto_listen.c65 if (listen(fd2, 0)) {
66 error(1, errno, "listen");
H A Dsk_connect_zero_addr.c37 if (listen(fd1, 0)) {
38 error(1, errno, "listen");
H A Dreuseaddr_ports_exhausted.c149 ret = listen(fd[0], 5);
150 ASSERT_EQ(0, ret) TH_LOG("failed to listen.");
152 ret = listen(fd[1], 5);
153 EXPECT_EQ(-1, ret) TH_LOG("should fail to listen because only one uid reserves the port in TCP_LISTEN.");
H A Dbind_timewait.c55 ret = listen(server_fd, 1);
H A Dreuseaddr_conflict.c76 if (listen(fd, 1) < 0) {
77 perror("listen");
94 error(1, errno, "Couldn't open listen socket");
H A Dstress_reuseport_listen.c87 err = listen(lfds[i], 0);
89 error(1, errno, "listen(lfds[%d])", i);
96 printf("listen %d socks took %lu.%lu\n", nr_lsocks,
H A Dbind_bhash.c107 if (listen(listener_fd, 100) < 0) {
108 perror("listen failed");
H A Dsctp_hello.c116 ret = listen(lsk, 5);
118 printf("failed to listen on port\n");
H A Dreuseport_addr_any.c87 if (proto == SOCK_STREAM && listen(rcv_fds[i], 10))
88 error(1, errno, "tcp: failed to listen on receive port");
95 if (listen(rcv_fds[i], 10))
96 error(1, errno, "dccp: failed to listen on receive port");
H A Dtcp_inq.c134 if (listen(server_fd, 128) == -1)
135 error(1, errno, "listen");
H A Dfin_ack_lat.c137 if (listen(sock, 3) < 0)
138 error(-1, errno, "listen");
/linux-master/drivers/net/wireless/ath/ath5k/
H A Dani.c377 int listen; local
385 listen = ath_hw_get_listen_time(common);
389 return listen;
467 * receive ("listen" time) and raise or lower immunity accordingly.
478 int listen, ofdm_high, ofdm_low, cck_high, cck_low; local
480 /* get listen time since last call and add it to the counter because we
483 listen = ath5k_hw_ani_get_listen_time(ah, as);
484 as->listen_time += listen;
497 "listen %d (now %d)", as->listen_time, listen);
[all...]
/linux-master/net/nfc/nci/
H A Dntf.c437 struct activation_params_listen_nfc_dep *listen; local
452 listen = &ntf->activation_params.listen_nfc_dep;
453 listen->atr_req_len = min_t(__u8, *data++,
455 pr_debug("atr_req_len %d\n", listen->atr_req_len);
456 if (listen->atr_req_len > 0)
457 memcpy(listen->atr_req, data, listen->atr_req_len);
567 goto listen;
680 listen:
/linux-master/tools/testing/selftests/netfilter/
H A Dconnect_close.c63 listen(s, 16);
H A Dsctp_collision.c38 ret = listen(sd, 5);
40 printf("Failed to listen on port\n");
/linux-master/tools/testing/selftests/net/af_unix/
H A Dunix_connect.c134 err = listen(self->server, 32);
/linux-master/samples/bpf/
H A Dtest_probe_write_user_user.c82 assert(listen(serverfd, 5) == 0);
/linux-master/crypto/
H A Dalgif_rng.c171 .listen = sock_no_listen,
189 .listen = sock_no_listen,
/linux-master/tools/testing/selftests/net/mptcp/
H A Duserspace_pm.sh528 ip netns exec "$ns2" ./pm_nl_ctl listen 10.0.2.2\
565 ip netns exec "$ns2" ./pm_nl_ctl listen dead:beef:2::2\
604 ip netns exec "$ns2" ./pm_nl_ctl listen 10.0.2.2\
644 ip netns exec "$ns1" ./pm_nl_ctl listen 10.0.2.1\
680 ip netns exec "$ns1" ./pm_nl_ctl listen dead:beef:2::1\
719 ip netns exec "$ns1" ./pm_nl_ctl listen 10.0.2.1\
760 ip netns exec "$ns1" ./pm_nl_ctl listen 10.0.2.1\
859 ip netns exec $ns2 ./pm_nl_ctl listen 10.0.2.2\
/linux-master/tools/testing/selftests/wireguard/
H A Dnetns.sh102 listen-port 1 \
108 listen-port 2 \
213 n1 wg set wg0 listen-port 9999
219 n1 wg set wg0 listen-port 9998
234 n2 wg set wg0 listen-port 9997
246 n2 wg set wg0 private-key <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") allowed-ips 192.168.241.1/32
259 n2 wg set wg0 private-key <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") allowed-ips fd00::5:1/128 endpoint 127.212.121.99:9998
268 n1 wg set wg1 listen-port 5 private-key <(echo "$key3") peer "$pub4" allowed-ips 192.168.241.2/32,fd00::2/128 endpoint [fd00::5:2]:5
269 n2 wg set wg1 listen-port 5 private-key <(echo "$key4") peer "$pub3" allowed-ips 192.168.241.1/32,fd00::1/128 endpoint [fd00::5:1]:5
361 n2 wg set wg1 private-key <(echo "$key3") listen
[all...]
/linux-master/arch/um/drivers/
H A Dport_user.c135 if (listen(fd, 1) < 0) {

Completed in 418 milliseconds

123456