/kernel/linux/linux-5.10/net/ax25/ |
H A 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 in ax25_listen_release() 176 struct listen_struct *listen; ax25_listen_mine() local [all...] |
/kernel/linux/linux-6.6/net/ax25/ |
H A 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 in ax25_listen_release() 176 struct listen_struct *listen; ax25_listen_mine() local [all...] |
/kernel/linux/linux-5.10/net/nfc/nci/ |
H A D | ntf.c | 413 struct activation_params_listen_nfc_dep *listen; in nci_extract_activation_params_nfc_dep() local 428 listen = &ntf->activation_params.listen_nfc_dep; in nci_extract_activation_params_nfc_dep() 429 listen->atr_req_len = min_t(__u8, *data++, in nci_extract_activation_params_nfc_dep() 431 pr_debug("atr_req_len %d\n", listen->atr_req_len); in nci_extract_activation_params_nfc_dep() 432 if (listen->atr_req_len > 0) in nci_extract_activation_params_nfc_dep() 433 memcpy(listen->atr_req, data, listen->atr_req_len); in nci_extract_activation_params_nfc_dep() 543 goto listen; in nci_rf_intf_activated_ntf_packet() 656 listen: in nci_rf_intf_activated_ntf_packet()
|
/kernel/linux/linux-6.6/net/nfc/nci/ |
H A D | ntf.c | 437 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/ |
H A 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() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath5k/ |
H A 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() [all...] |
/kernel/linux/linux-5.10/include/xen/interface/io/ |
H A D | pvcalls.h | 8 /* "1" means socket, connect, release, bind, listen, accept and poll */ 67 } listen; member 105 } listen; member
|
/kernel/linux/linux-6.6/include/xen/interface/io/ |
H A D | pvcalls.h | 10 /* "1" means socket, connect, release, bind, listen, accept and poll */ 69 } listen; member 107 } listen; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A 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_LISTEN."); in TEST()
|
H A 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A 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_LISTEN."); in TEST()
|
H A D | sk_bind_sendto_listen.c | 65 if (listen(fd2, 0)) { in main() 66 error(1, errno, "listen"); in main()
|
H A D | sk_connect_zero_addr.c | 37 if (listen(fd1, 0)) { in main() 38 error(1, errno, "listen"); in main()
|
H A D | bind_timewait.c | 55 ret = listen(server_fd, 1); in create_timewait_socket()
|
H A 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/ |
H A D | userspace_pm.sh | 600 ip netns exec "$ns2" ./pm_nl_ctl listen 10.0.2.2\ 637 ip netns exec "$ns2" ./pm_nl_ctl listen dead:beef:2::2\ 676 ip netns exec "$ns2" ./pm_nl_ctl listen 10.0.2.2\ 716 ip netns exec "$ns1" ./pm_nl_ctl listen 10.0.2.1\ 752 ip netns exec "$ns1" ./pm_nl_ctl listen dead:beef:2::1\ 791 ip netns exec "$ns1" ./pm_nl_ctl listen 10.0.2.1\ 832 ip netns exec "$ns1" ./pm_nl_ctl listen 10.0.2.1\ 952 ip netns exec $ns2 ./pm_nl_ctl listen 10.0.2.2\
|
/kernel/linux/linux-5.10/tools/testing/selftests/wireguard/ |
H A 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") 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 349 n2 wg set wg1 private-key <(echo "$key3") listen [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/wireguard/ |
H A D | netns.sh | 102 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...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A 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...] |
H A D | skc_to_unix_sock.c | 44 err = listen(sockfd, 1); in test_skc_to_unix_sock() 45 if (!ASSERT_OK(err, "listen failed")) in test_skc_to_unix_sock()
|
/kernel/linux/common_modules/newip/examples/ |
H A D | nip_tcp_server_demo.c | 82 if (listen(fd, LISTEN_MAX) < 0) { in main() 83 perror("listen"); in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_ktls.c | 22 err = listen(s, SOMAXCONN); in tcp_server() 24 perror("listen"); in tcp_server()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | tcp_server.py | 57 serverSocket.listen(MAX_PORTS)
|
/kernel/linux/linux-5.10/crypto/ |
H A D | algif_skcipher.c | 189 .listen = sock_no_listen, 280 .listen = sock_no_listen,
|
H A D | algif_rng.c | 171 .listen = sock_no_listen, 190 .listen = sock_no_listen,
|