/Linux-v5.15/net/ax25/ |
D | ax25_iface.c | 103 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-v5.15/tools/testing/selftests/bpf/prog_tests/ |
D | migrate_reuseport.c | 5 * 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 …]
|
D | sockopt_inherit.c | 73 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()
|
D | bpf_iter_setsockopt.c | 129 /* 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()
|
D | sockmap_ktls.c | 22 err = listen(s, SOMAXCONN); in tcp_server() 24 perror("listen"); in tcp_server()
|
/Linux-v5.15/drivers/staging/vt6655/ |
D | power.c | 68 /* 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()
|
D | power.h | 20 #define PS_FAST_INTERVAL 1 /* Fast power saving listen interval */ 21 #define PS_MAX_INTERVAL 4 /* MAX power saving listen interval */
|
/Linux-v5.15/include/xen/interface/io/ |
D | pvcalls.h | 8 /* "1" means socket, connect, release, bind, listen, accept and poll */ 67 } listen; member 105 } listen; member
|
/Linux-v5.15/drivers/staging/vt6656/ |
D | power.c | 64 /* 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-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | p2p.h | 51 * @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.
|
D | p2p.c | 536 * @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-v5.15/tools/testing/selftests/net/ |
D | reuseaddr_conflict.c | 76 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()
|
D | reuseaddr_ports_exhausted.c | 149 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()
|
D | reuseport_addr_any.c | 87 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-v5.15/net/nfc/nci/ |
D | ntf.c | 431 struct activation_params_listen_nfc_dep *listen; in nci_extract_activation_params_nfc_dep() local 446 listen = &ntf->activation_params.listen_nfc_dep; in nci_extract_activation_params_nfc_dep() 447 listen->atr_req_len = min_t(__u8, *data++, in nci_extract_activation_params_nfc_dep() 449 pr_debug("atr_req_len %d\n", listen->atr_req_len); in nci_extract_activation_params_nfc_dep() 450 if (listen->atr_req_len > 0) in nci_extract_activation_params_nfc_dep() 451 memcpy(listen->atr_req, data, listen->atr_req_len); in nci_extract_activation_params_nfc_dep() 561 goto listen; in nci_rf_intf_activated_ntf_packet() 674 listen: in nci_rf_intf_activated_ntf_packet() 675 /* Listen mode */ in nci_rf_intf_activated_ntf_packet()
|
/Linux-v5.15/drivers/net/wireless/ath/ath5k/ |
D | ani.c | 377 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()
|
D | ani.h | 68 * @listen_time: Listen time 72 * @last_listen: Listen time from previous run (for stats)
|
/Linux-v5.15/drivers/net/wireless/ath/wil6210/ |
D | p2p.c | 152 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-v5.15/tools/testing/vsock/ |
D | vsock_diag_test.c | 59 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-v5.15/tools/gpio/ |
D | gpio-event-mon.c | 144 "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-v5.15/include/net/ |
D | tls_toe.h | 52 * This function sets Inline driver for listen and program 56 * This function cleans listen state set by Inline TLS driver
|
/Linux-v5.15/tools/testing/selftests/wireguard/ |
D | netns.sh | 100 listen-port 1 \ 106 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… 345 n2 wg set wg1 private-key <(echo "$key3") listen-port 5 peer "$pub1" allowed-ips 192.168.242.1/32
|
/Linux-v5.15/include/net/nfc/ |
D | digital.h | 110 * @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-v5.15/net/rds/ |
D | tcp_listen.c | 234 rdsdebug("listen data ready sk %p\n", sk); in rds_tcp_listen_data_ready() 246 * data_ready.. we only want to queue listen work for our listening in rds_tcp_listen_data_ready() 250 * the listen socket is being torn down. in rds_tcp_listen_data_ready() 311 ret = sock->ops->listen(sock, 64); in rds_tcp_listen_init()
|
/Linux-v5.15/net/dccp/ |
D | minisocks.c | 82 * Step 3: Process LISTEN state in dccp_create_openreq_child() 106 * Step 3: Process LISTEN state in dccp_create_openreq_child() 251 DCCP_BUG("DCCP-ACK packets are never sent in LISTEN/RESPOND state"); in dccp_reqsk_send_ack()
|