Home
last modified time | relevance | path

Searched full:listen (Results 1 – 25 of 420) sorted by relevance

12345678910>>...17

/Linux-v6.1/net/ax25/
Dax25_iface.c103 struct listen_struct *listen; in ax25_listen_register() local
108 if ((listen = kmalloc(sizeof(*listen), GFP_ATOMIC)) == NULL) in ax25_listen_register()
111 listen->callsign = *callsign; in ax25_listen_register()
112 listen->dev = dev; in ax25_listen_register()
115 listen->next = listen_list; in ax25_listen_register()
116 listen_list = listen; in ax25_listen_register()
126 struct listen_struct *s, *listen; in ax25_listen_release() local
129 listen = listen_list; in ax25_listen_release()
130 if (listen == NULL) { in ax25_listen_release()
135 if (ax25cmp(&listen->callsign, callsign) == 0 && listen->dev == dev) { in ax25_listen_release()
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
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); in start_servers()
270 if (!ASSERT_OK(err, "listen")) in start_servers()
373 * calling listen() again will bind() the first listener in migrate_dance()
378 * and SOCK_BINDPORT_LOCK is set. Thus, re-listen() will in migrate_dance()
381 err = listen(test_case->servers[1], QLEN); in migrate_dance()
382 if (!ASSERT_OK(err, "listen")) in migrate_dance()
[all …]
Dsockopt_inherit.c73 err = listen(fd, 1); in server_thread()
82 err += verify_sockopt(fd, CUSTOM_INHERIT1, "listen", 1); in server_thread()
83 err += verify_sockopt(fd, CUSTOM_INHERIT2, "listen", 1); in server_thread()
84 err += verify_sockopt(fd, CUSTOM_LISTENER, "listen", 1); in server_thread()
Dskc_to_unix_sock.c44 err = listen(sockfd, 1); in test_skc_to_unix_sock()
45 if (!ASSERT_OK(err, "listen failed")) in test_skc_to_unix_sock()
Dbpf_iter_setsockopt.c129 /* Prepare reuseport listen fds */ in do_bpf_iter_setsockopt()
155 /* Check reuseport listen fds for dctcp */ in do_bpf_iter_setsockopt()
160 /* Check non reuseport listen fd for dctcp */ in do_bpf_iter_setsockopt()
/Linux-v6.1/tools/testing/selftests/net/mptcp/
Ddiag.sh115 nr=$(ss -N $ns -Ml "$filter" | grep -c LISTEN)
129 local msg="check for listen socket"
132 __chk_listen "dport $lport" 0 "listen match for dport $lport"
134 # should return 'our' mptcp listen socket
135 __chk_listen "sport $lport" 1 "listen match for sport $lport"
137 __chk_listen "src inet:0.0.0.0:$lport" 1 "listen match for saddr and sport"
139 __chk_listen "" 1 "all listen sockets"
/Linux-v6.1/drivers/staging/vt6655/
Dpower.c68 /* clear always listen beacon */ in PSvEnablePowerSaving()
70 /* first time set listen next beacon */ in PSvEnablePowerSaving()
73 /* always listen beacon */ in PSvEnablePowerSaving()
106 /* set always listen beacon */ in PSvDisablePowerSaving()
137 /* Turn on wake up to listen next beacon */ in PSbIsNextTBTTWakeUp()
Dpower.h20 #define PS_FAST_INTERVAL 1 /* Fast power saving listen interval */
21 #define PS_MAX_INTERVAL 4 /* MAX power saving listen interval */
/Linux-v6.1/include/xen/interface/io/
Dpvcalls.h10 /* "1" means socket, connect, release, bind, listen, accept and poll */
69 } listen; member
107 } listen; member
/Linux-v6.1/drivers/staging/vt6656/
Dpower.c64 /* always listen beacon */ in vnt_enable_power_saving()
83 /* set always listen beacon */ in vnt_disable_power_saving()
106 /* Turn on wake up to listen next beacon */ in vnt_next_tbtt_wakeup()
/Linux-v6.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dp2p.h51 * @BRCMF_P2P_STATUS_DISCOVER_LISTEN: P2P listen, remaining on channel.
53 * @BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN: extra listen time for af tx.
82 * @my_listen_chan: this peers listen channel.
83 * @peer_listen_chan: remote peers listen channel.
/Linux-v6.1/tools/testing/selftests/net/
Dstress_reuseport_listen.sh22 # 300 different vips listen on port 443
23 # Each vip:443 sockaddr has 80 LISTEN sock by using SO_REUSEPORT
Dreuseaddr_conflict.c76 if (listen(fd, 1) < 0) { in open_port()
77 perror("listen"); in open_port()
94 error(1, errno, "Couldn't open listen socket"); in main()
Dstress_reuseport_listen.c87 err = listen(lfds[i], 0); in main()
89 error(1, errno, "listen(lfds[%d])", i); in main()
96 printf("listen %d socks took %lu.%lu\n", nr_lsocks, in main()
Dreuseaddr_ports_exhausted.c149 ret = listen(fd[0], 5); in TEST()
150 ASSERT_EQ(0, ret) TH_LOG("failed to listen."); in TEST()
152 ret = listen(fd[1], 5); in TEST()
153 …EXPECT_EQ(-1, ret) TH_LOG("should fail to listen because only one uid reserves the port in TCP_LIS… in TEST()
Dsk_connect_zero_addr.c37 if (listen(fd1, 0)) { in main()
38 error(1, errno, "listen"); in main()
Dsk_bind_sendto_listen.c65 if (listen(fd2, 0)) { in main()
66 error(1, errno, "listen"); in main()
Dreuseport_addr_any.c87 if (proto == SOCK_STREAM && listen(rcv_fds[i], 10)) in build_rcv_fd()
88 error(1, errno, "tcp: failed to listen on receive port"); in build_rcv_fd()
95 if (listen(rcv_fds[i], 10)) in build_rcv_fd()
96 error(1, errno, "dccp: failed to listen on receive port"); in build_rcv_fd()
/Linux-v6.1/net/nfc/nci/
Dntf.c437 struct activation_params_listen_nfc_dep *listen; in nci_extract_activation_params_nfc_dep() local
452 listen = &ntf->activation_params.listen_nfc_dep; in nci_extract_activation_params_nfc_dep()
453 listen->atr_req_len = min_t(__u8, *data++, in nci_extract_activation_params_nfc_dep()
455 pr_debug("atr_req_len %d\n", listen->atr_req_len); in nci_extract_activation_params_nfc_dep()
456 if (listen->atr_req_len > 0) in nci_extract_activation_params_nfc_dep()
457 memcpy(listen->atr_req, data, listen->atr_req_len); in nci_extract_activation_params_nfc_dep()
567 goto listen; in nci_rf_intf_activated_ntf_packet()
680 listen: in nci_rf_intf_activated_ntf_packet()
681 /* Listen mode */ in nci_rf_intf_activated_ntf_packet()
/Linux-v6.1/drivers/net/wireless/ath/ath5k/
Dani.c377 int listen; in ath5k_hw_ani_get_listen_time() local
385 listen = ath_hw_get_listen_time(common); in ath5k_hw_ani_get_listen_time()
389 return listen; in ath5k_hw_ani_get_listen_time()
467 * receive ("listen" time) and raise or lower immunity accordingly.
478 int listen, ofdm_high, ofdm_low, cck_high, cck_low; in ath5k_ani_calibration() local
480 /* get listen time since last call and add it to the counter because we in ath5k_ani_calibration()
483 listen = ath5k_hw_ani_get_listen_time(ah, as); in ath5k_ani_calibration()
484 as->listen_time += listen; in ath5k_ani_calibration()
497 "listen %d (now %d)", as->listen_time, listen); in ath5k_ani_calibration()
/Linux-v6.1/drivers/net/wireless/ath/wil6210/
Dp2p.c152 wil_dbg_misc(wil, "Delaying p2p listen until scan done\n"); in wil_p2p_listen()
216 wil_err(wil, "listen not started\n"); in wil_p2p_cancel_listen()
302 wil_dbg_misc(wil, "Checking delayed p2p listen\n"); in wil_p2p_delayed_listen_work()
360 /* Search or listen on p2p device */ in wil_p2p_stop_radio_operations()
370 /* listen */ in wil_p2p_stop_radio_operations()
/Linux-v6.1/tools/testing/vsock/
Dvsock_diag_test.c59 return "LISTEN"; in sock_state_str()
360 if (listen(fd, 1) < 0) { in test_listen_socket_server()
361 perror("listen"); in test_listen_socket_server()
431 .name = "Listen socket",
495 "listen address and the client requires an address to\n" in usage()
503 " --control-port <port> Server port to listen on/connect to\n" in usage()
/Linux-v6.1/tools/gpio/
Dgpio-event-mon.c144 "Listen to events on GPIO lines, 0->1 1->0\n" in print_usage()
145 " -n <name> Listen on GPIOs on a named device (must be stated)\n" in print_usage()
149 " -r Listen for rising edges\n" in print_usage()
150 " -f Listen for falling edges\n" in print_usage()
/Linux-v6.1/tools/testing/selftests/wireguard/
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") a…
259 n2 wg set wg0 private-key <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") a…
268 n1 wg set wg1 listen-port 5 private-key <(echo "$key3") peer "$pub4" allowed-ips 192.168.241.2/32,f…
269 n2 wg set wg1 listen-port 5 private-key <(echo "$key4") peer "$pub3" allowed-ips 192.168.241.1/32,f…
361 n2 wg set wg1 private-key <(echo "$key3") listen-port 5 peer "$pub1" allowed-ips 192.168.242.1/32
/Linux-v6.1/include/net/
Dtls_toe.h52 * This function sets Inline driver for listen and program
56 * This function cleans listen state set by Inline TLS driver

12345678910>>...17