Home
last modified time | relevance | path

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

12345678910>>...16

/linux-5.10/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-5.10/drivers/staging/vt6655/
Dpower.c70 /* clear always listen beacon */ in PSvEnablePowerSaving()
72 /* first time set listen next beacon */ in PSvEnablePowerSaving()
75 /* always listen beacon */ in PSvEnablePowerSaving()
108 /* set always listen beacon */ in PSvDisablePowerSaving()
139 /* Turn on wake up to listen next beacon */ in PSbIsNextTBTTWakeUp()
Dpower.h22 #define PS_FAST_INTERVAL 1 /* Fast power saving listen interval */
23 #define PS_MAX_INTERVAL 4 /* MAX power saving listen interval */
/linux-5.10/include/xen/interface/io/
Dpvcalls.h8 /* "1" means socket, connect, release, bind, listen, accept and poll */
67 } listen; member
105 } listen; member
/linux-5.10/drivers/staging/vt6656/
Dpower.c66 /* always listen beacon */ in vnt_enable_power_saving()
85 /* set always listen beacon */ in vnt_disable_power_saving()
108 /* Turn on wake up to listen next beacon */ in vnt_next_tbtt_wakeup()
/linux-5.10/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.
Dp2p.c536 * @listen_ms: duration to listen (for state @WL_P2P_DISC_ST_LISTEN only).
846 * brcmf_p2p_find_listen_channel() - find listen channel in ie string.
866 /* listen channel subel length format: */ in brcmf_p2p_find_listen_channel()
873 brcmf_dbg(INFO, "Found my Listen Channel %d\n", listen_channel); in brcmf_p2p_find_listen_channel()
900 /* find my listen channel */ in brcmf_p2p_scan_prep()
923 * brcmf_p2p_discover_listen() - set firmware to discover listen state.
926 * @channel: channel nr for discover listen.
946 bphy_err(drvr, "Previous LISTEN is not completed yet\n"); in brcmf_p2p_discover_listen()
1004 * brcmf_p2p_notify_listen_complete() - p2p listen has completed.
1025 brcmf_dbg(INFO, "Listen DONE, wake up wait_next_af\n"); in brcmf_p2p_notify_listen_complete()
[all …]
/linux-5.10/net/nfc/nci/
Dntf.c407 struct activation_params_listen_nfc_dep *listen; in nci_extract_activation_params_nfc_dep() local
422 listen = &ntf->activation_params.listen_nfc_dep; in nci_extract_activation_params_nfc_dep()
423 listen->atr_req_len = min_t(__u8, *data++, in nci_extract_activation_params_nfc_dep()
425 pr_debug("atr_req_len %d\n", listen->atr_req_len); in nci_extract_activation_params_nfc_dep()
426 if (listen->atr_req_len > 0) in nci_extract_activation_params_nfc_dep()
427 memcpy(listen->atr_req, data, listen->atr_req_len); in nci_extract_activation_params_nfc_dep()
537 goto listen; in nci_rf_intf_activated_ntf_packet()
650 listen: in nci_rf_intf_activated_ntf_packet()
651 /* Listen mode */ in nci_rf_intf_activated_ntf_packet()
/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsockopt_inherit.c73 err = listen(fd, 1); in server_thread()
84 err += verify_sockopt(fd, CUSTOM_INHERIT1, "listen", 1); in server_thread()
85 err += verify_sockopt(fd, CUSTOM_INHERIT2, "listen", 1); in server_thread()
86 err += verify_sockopt(fd, CUSTOM_LISTENER, "listen", 1); in server_thread()
Dsockmap_ktls.c22 err = listen(s, SOMAXCONN); in tcp_server()
24 perror("listen"); in tcp_server()
Dbpf_tcp_ca.c118 /* bind, listen and start server thread to accept */ in do_test()
127 err = listen(lfd, 1); in do_test()
128 if (CHECK(err == -1, "listen", "errno:%d\n", errno)) in do_test()
/linux-5.10/tools/testing/selftests/net/
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()
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()
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-5.10/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()
Dani.h68 * @listen_time: Listen time
72 * @last_listen: Listen time from previous run (for stats)
/linux-5.10/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-5.10/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-5.10/tools/testing/vsock/
Dvsock_diag_test.c59 return "LISTEN"; in sock_state_str()
362 if (listen(fd, 1) < 0) { in test_listen_socket_server()
363 perror("listen"); in test_listen_socket_server()
433 .name = "Listen socket",
497 "listen address and the client requires an address to\n" in usage()
505 " --control-port <port> Server port to listen on/connect to\n" in usage()
/linux-5.10/tools/testing/selftests/wireguard/
Dnetns.sh100 listen-port 1 \
106 listen-port 2 \
200 n1 wg set wg0 listen-port 9999
206 n1 wg set wg0 listen-port 9998
221 n2 wg set wg0 listen-port 9997
233 n2 wg set wg0 private-key <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") a…
246 n2 wg set wg0 private-key <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") a…
255 n1 wg set wg1 listen-port 5 private-key <(echo "$key3") peer "$pub4" allowed-ips 192.168.241.2/32,f…
256 n2 wg set wg1 listen-port 5 private-key <(echo "$key4") peer "$pub3" allowed-ips 192.168.241.1/32,f…
332 n2 wg set wg1 private-key <(echo "$key3") listen-port 5 peer "$pub1" allowed-ips 192.168.242.1/32
/linux-5.10/net/rds/
Dtcp_listen.c228 rdsdebug("listen data ready sk %p\n", sk); in rds_tcp_listen_data_ready()
240 * data_ready.. we only want to queue listen work for our listening in rds_tcp_listen_data_ready()
244 * the listen socket is being torn down. in rds_tcp_listen_data_ready()
305 ret = sock->ops->listen(sock, 64); in rds_tcp_listen_init()
/linux-5.10/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
/linux-5.10/include/net/nfc/
Ddigital.h110 * @tg_listen: Put the device in listen mode waiting for data from the peer
112 * @tg_listen_mdaa: If supported, put the device in automatic listen mode with
121 * @tg_listen_md: If supported, put the device in automatic listen mode with
/linux-5.10/net/dccp/
Dminisocks.c82 * Step 3: Process LISTEN state in dccp_create_openreq_child()
104 * Step 3: Process LISTEN state in dccp_create_openreq_child()
249 DCCP_BUG("DCCP-ACK packets are never sent in LISTEN/RESPOND state"); in dccp_reqsk_send_ack()
/linux-5.10/tools/testing/selftests/bpf/
Dtest_socket_cookie.c47 if (listen(fd, 128) == -1) { in start_server()
48 log_err("Failed to listen on server socket"); in start_server()

12345678910>>...16