Home
last modified time | relevance | path

Searched full:connect (Results 1 – 25 of 1369) sorted by relevance

12345678910>>...55

/linux/tools/testing/selftests/net/netfilter/
H A Dnf_nat_edemux.sh25 # Connect the namespaces using a veth pair
60 echo test | ip netns exec "$ns2" socat -t 3 -u STDIN TCP:10.96.0.1:443,connect-timeout=3 >/dev/null
63 # Check socat can connect to 10.96.0.1:443 (aka 192.168.1.1:5201).
65 echo "PASS: socat can connect via NAT'd address"
67 echo "FAIL: socat cannot connect via NAT'd address"
74 sleep 5 | ip netns exec "$ns2" socat -t 5 -u STDIN TCP:192.168.1.1:5202,connect-timeout=5 >/dev/nul…
76 # if connect succeeds, client closes instantly due to EOF on stdin.
77 # if connect hangs, it will time out after 5s.
78 echo | ip netns exec "$ns2" socat -t 3 -u STDIN TCP:192.168.1.1:5203,connect-timeout=5 >/dev/null &
87 # 'cpid2' to connect and then exit (and no connect delay).
[all …]
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_mbx.h45 * +----------+ connect() +----------+
46 * | CLOSED | --------------> | CONNECT |
50 * | Connect Disconnect | | Connect
63 * this state is for the system to make the connect() call for the
64 * mailbox, it will then transition to the connect state.
65 * Connect: In this state the mailbox is seeking a connection. It will
66 * post a connect message with no specified destination and will
68 * is exited when either a connect with the local mailbox as the
72 * entity and the remote. It will fall back to connect in the event of
78 * remote endpoint has fallen back into connect.
[all …]
/linux/tools/testing/selftests/net/
H A Dsctp_vrf.sh118 echo -n "TEST 01: nobind, connect from client 1, l3mdev_accept=1, Y "
122 echo -n "TEST 02: nobind, connect from client 2, l3mdev_accept=1, N "
127 echo -n "TEST 03: nobind, connect from client 1, l3mdev_accept=0, N "
131 echo -n "TEST 04: nobind, connect from client 2, l3mdev_accept=0, N "
135 echo -n "TEST 05: bind veth2 in server, connect from client 1, N "
139 echo -n "TEST 06: bind veth1 in server, connect from client 1, Y "
143 echo -n "TEST 07: bind vrf-1 in server, connect from client 1, Y "
147 echo -n "TEST 08: bind vrf-2 in server, connect from client 1, N "
151 echo -n "TEST 09: bind vrf-2 in server, connect from client 2, Y "
155 echo -n "TEST 10: bind vrf-1 in server, connect from client 2, N "
[all …]
H A Dfib_rule_tests.sh378 echo "IPv6 FIB rule connect tests"
389 log_test $? 0 "rule6 dsfield udp connect (dsfield ${dsfield})"
393 log_test $? 0 "rule6 dsfield tcp connect (dsfield ${dsfield})"
400 log_test $? 1 "rule6 dsfield udp no connect (dsfield 0x20)"
404 log_test $? 1 "rule6 dsfield tcp no connect (dsfield 0x20)"
419 log_test $? 0 "rule6 dscp udp connect"
423 log_test $? 0 "rule6 dscp tcp connect"
427 log_test $? 1 "rule6 dscp udp no connect"
431 log_test $? 1 "rule6 dscp tcp no connect"
654 echo "IPv4 FIB rule connect tests"
[all …]
/linux/include/uapi/linux/
H A Dmei.h41 * IOCTL Connect Client Data structure
72 * @in_client_uuid: UUID of client to connect
83 * struct mei_connect_client_data_vtag - IOCTL connect data union
85 * @connect: input connect data
90 struct mei_connect_client_vtag connect; member
/linux/net/wireless/
H A Dsme.c5 * (for nl80211's connect() and wext)
27 * driver. This is for implementing nl80211's connect/disconnect
554 struct cfg80211_connect_params *connect, in cfg80211_sme_connect() argument
581 memcpy(&wdev->conn->params, connect, sizeof(*connect)); in cfg80211_sme_connect()
582 if (connect->bssid) { in cfg80211_sme_connect()
584 memcpy(wdev->conn->bssid, connect->bssid, ETH_ALEN); in cfg80211_sme_connect()
587 if (cfg80211_sme_get_conn_ies(wdev, connect->ie, connect->ie_len, in cfg80211_sme_connect()
596 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in cfg80211_sme_connect()
731 * API calls for drivers implementing connect/disconnect and
804 if (!wiphy_to_rdev(wdev->wiphy)->ops->connect) { in __cfg80211_connect_result()
[all …]
/linux/scripts/kconfig/
H A Dqconf.cc315 connect(this, &ConfigList::itemSelectionChanged, in ConfigList()
323 connect(configApp, &QApplication::aboutToQuit, in ConfigList()
875 connect(action, &QAction::toggled, in contextMenuEvent()
877 connect(this, &ConfigList::showNameChanged, in contextMenuEvent()
923 connect(configApp, &QApplication::aboutToQuit, in ConfigInfoView()
931 connect(action, &QAction::toggled, in ConfigInfoView()
933 connect(this, &ConfigInfoView::showDebugChanged, in ConfigInfoView()
1172 connect(editField, &QLineEdit::returnPressed, in ConfigSearchWindow()
1177 connect(searchButton, &QPushButton::clicked, in ConfigSearchWindow()
1186 connect(list, &ConfigList::menuChanged, in ConfigSearchWindow()
[all …]
/linux/tools/testing/vsock/
H A Dvsock_test.c55 ret = connect(fd, &addr.sa, sizeof(addr.svm)); in test_stream_connection_reset()
56 timeout_check("connect"); in test_stream_connection_reset()
61 fprintf(stderr, "expected connect(2) failure, got %d\n", ret); in test_stream_connection_reset()
65 fprintf(stderr, "unexpected connect(2) errno %d\n", errno); in test_stream_connection_reset()
94 ret = connect(fd, &addr.sa, sizeof(addr.svm)); in test_stream_bind_only_client()
95 timeout_check("connect"); in test_stream_bind_only_client()
100 fprintf(stderr, "expected connect(2) failure, got %d\n", ret); in test_stream_bind_only_client()
104 fprintf(stderr, "unexpected connect(2) errno %d\n", errno); in test_stream_bind_only_client()
135 perror("connect"); in test_stream_client_close_client()
170 perror("connect"); in test_stream_server_close_client()
[all …]
/linux/tools/testing/selftests/landlock/
H A Dnet_test.c230 ret = connect(sock_fd, &srv->ipv4_addr, addrlen); in connect_variant_addrlen()
234 ret = connect(sock_fd, &srv->ipv6_addr, addrlen); in connect_variant_addrlen()
238 ret = connect(sock_fd, &srv->unix_addr, addrlen); in connect_variant_addrlen()
543 /* Starts invalid addrlen tests with connect. */ in test_bind_and_connect()
547 /* Tries to connect with zero as addrlen. */ in test_bind_and_connect()
550 /* Tries to connect with too small addrlen. */ in test_bind_and_connect()
554 /* Tries to connect with minimal addrlen. */ in test_bind_and_connect()
566 TH_LOG("Failed to connect to socket: %s", in test_bind_and_connect()
660 /* Allows connect and bind for the first port. */ in TEST_F()
665 /* Allows connect an in TEST_F()
687 TEST_F(protocol,connect) TEST_F() argument
[all...]
H A Dscoped_abstract_unix_test.c82 * can_connect_to_parent is true if a child process can connect to its in TEST_F()
116 err = connect(stream_client, &self->stream_address.unix_addr, in TEST_F()
126 err = connect(dgram_client, &self->dgram_address.unix_addr, in TEST_F()
179 * can_connect_to_child is true if a parent process can connect to its in TEST_F()
222 /* Waits to connect. */ in TEST_F()
246 err_stream = connect(stream_client, &self->stream_address.unix_addr, in TEST_F()
249 err_dgram = connect(dgram_client, &self->dgram_address.unix_addr, in TEST_F()
339 /* Waits to connect. */ in TEST_F()
358 err_dgram = connect(dgram_client, &self->dgram_address.unix_addr, in TEST_F()
473 stream_err = connect( in FIXTURE()
[all...]
/linux/drivers/net/wireless/ath/ath6kl/
H A Dinit.c213 * it sends a new connect event
281 /* connect to a service */
293 ath6kl_err("failed to connect to %s service status:%d\n", in ath6kl_connectservice()
326 struct htc_service_connect_req connect; in ath6kl_init_service_ep() local
328 memset(&connect, 0, sizeof(connect)); in ath6kl_init_service_ep()
331 connect.ep_cb.tx_comp_multi = ath6kl_tx_complete; in ath6kl_init_service_ep()
332 connect.ep_cb.rx = ath6kl_rx; in ath6kl_init_service_ep()
333 connect.ep_cb.rx_refill = ath6kl_rx_refill; in ath6kl_init_service_ep()
334 connect.ep_cb.tx_full = ath6kl_tx_queue_full; in ath6kl_init_service_ep()
340 connect.max_txq_depth = MAX_DEFAULT_SEND_QUEUE_DEPTH; in ath6kl_init_service_ep()
[all …]
/linux/drivers/nfc/
H A Dmei_phy.c142 struct mei_nfc_connect *connect; in mei_nfc_connect() local
156 connect = (struct mei_nfc_connect *)cmd->data; in mei_nfc_connect()
169 connect->fw_ivn = phy->fw_ivn; in mei_nfc_connect()
170 connect->vendor_id = phy->vendor_id; in mei_nfc_connect()
172 MEI_DUMP_NFC_HDR("connect request", &cmd->hdr); in mei_nfc_connect()
175 pr_err("Could not send connect cmd %d\n", r); in mei_nfc_connect()
183 pr_err("Could not read connect response %d\n", r); in mei_nfc_connect()
187 MEI_DUMP_NFC_HDR("connect reply", &reply->hdr); in mei_nfc_connect()
336 pr_err("Could not connect to device %d\n", r); in nfc_mei_phy_enable()
/linux/tools/testing/selftests/net/tcp_ao/
H A Dself-connect.c70 test_error("failed to connect()"); in tcp_self_connect()
102 test_ok("%s: connect TCPAOGood %" PRIu64 " => %" PRIu64, in tcp_self_connect()
155 test_ok("%s: connect TCPAOGood %" PRIu64 " => %" PRIu64, in tcp_self_connect()
165 tcp_self_connect("self-connect(same keyids)", port++, false, false); in client_fn()
170 tcp_self_connect("self-connect(different keyids)", port++, true, false); in client_fn()
171 tcp_self_connect("self-connect(restore)", port, false, true); in client_fn()
178 tcp_self_connect("self-connect(restore, different keyids)", port, true, true); in client_fn()
/linux/tools/include/uapi/linux/
H A Dseg6_local.h37 /* adjacency segment (IPv6 cross-connect) */
41 /* decap and L2 cross-connect */
43 /* decap and IPv6 cross-connect */
45 /* decap and IPv4 cross-connect */
/linux/include/linux/
H A Dnvme-rdma.h58 * struct nvme_rdma_cm_req - rdma connect request
75 * struct nvme_rdma_cm_rep - rdma connect reply
87 * struct nvme_rdma_cm_rej - rdma connect reject
90 * @sts: error status for the associated connect request
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dconnect_ping.c56 if (!ASSERT_OK(connect(sock_fd, sa, sa_len), "connect")) in subtest()
142 /* Connect a v4 ping socket to localhost, assert that only v4 is called, in test_connect_ping()
149 /* Connect a v4 ping socket to localhost, assert that only v4 is called, in test_connect_ping()
156 /* Connect a v6 ping socket to localhost, assert that only v6 is called, in test_connect_ping()
163 /* Connect a v6 ping socket to localhost, assert that only v6 is called, in test_connect_ping()
H A Dcgroup_tcp_skb.c62 /* Connect to the server in a cgroup from the outside of the cgroup. */
88 /* Connect client to server */ in talk_to_cgroup()
108 /* Connect to the server out of a cgroup from inside the cgroup. */
138 /* Connect client to server */ in talk_to_outside()
223 * 1. Connect to the server from outside the cgroup and close the connection
225 * 2. Connect to the server from outside the cgroup and close the connection
227 * 3. Connect to the server from inside the cgroup and close the connection
229 * 4. Connect to the server from inside the cgroup and close the connection
/linux/include/net/
H A Dllc_if.h55 #define LLC_STATUS_CONN 0 /* connect confirm & reset confirm */
56 #define LLC_STATUS_DISC 1 /* connect confirm & reset confirm */
57 #define LLC_STATUS_FAILED 2 /* connect confirm & reset confirm */
58 #define LLC_STATUS_IMPOSSIBLE 3 /* connect confirm */
/linux/Documentation/devicetree/bindings/usb/
H A Dsmsc,usb3503.yaml22 connect-gpios:
25 GPIO for connect
116 connect-gpios = <&gpx3 0 1>;
134 connect-gpios = <&gpx3 0 1>;
155 connect-gpios = <&pio 4 17 GPIO_ACTIVE_HIGH>; /* PE17 */
/linux/Documentation/hwmon/
H A Dntc_thermistor.rst46 1. connect = NTC_CONNECTED_POSITIVE, pullup_ohm > 0::
58 2. connect = NTC_CONNECTED_POSITIVE, pullup_ohm = 0 (not-connected)::
70 3. connect = NTC_CONNECTED_GROUND, pulldown_ohm > 0::
82 4. connect = NTC_CONNECTED_GROUND, pulldown_ohm = 0 (not-connected)::
95 pulldown_ohm, and connect should be provided. When none of the four models
/linux/include/net/caif/
H A Dcaif_dev.h30 * @sockaddr: Socket address to connect.
34 * @param: Connect Request parameters (CAIF_SO_REQ_PARAM).
49 * caif_connect_client - Connect a client to CAIF Core Stack.
51 * to connect on the Modem.
62 * function will receive information about connect/disconnect responses,
/linux/drivers/net/wireless/ath/ath9k/
H A Dwmi.c265 struct htc_service_connreq connect; in ath9k_wmi_connect() local
270 memset(&connect, 0, sizeof(connect)); in ath9k_wmi_connect()
272 connect.ep_callbacks.priv = wmi; in ath9k_wmi_connect()
273 connect.ep_callbacks.tx = ath9k_wmi_ctrl_tx; in ath9k_wmi_connect()
274 connect.ep_callbacks.rx = ath9k_wmi_ctrl_rx; in ath9k_wmi_connect()
275 connect.service_id = WMI_CONTROL_SVC; in ath9k_wmi_connect()
277 ret = htc_connect_service(htc, &connect, &wmi->ctrl_epid); in ath9k_wmi_connect()
/linux/Documentation/admin-guide/media/
H A Ddvb-usb-ttusb2-cardlist.rst19 * - Technotrend TT-connect CT-3650
21 * - Technotrend TT-connect S-2400
23 * - Technotrend TT-connect S-2400 (8kB EEPROM)
/linux/drivers/usb/misc/
H A DKconfig31 connect anything other than a printer to it.
82 Say Y here if you want to connect a USB Lego Infrared Tower to your
94 Say Y here if you want to connect an USBLCD to your computer's
105 Say Y here if you want to connect a Cypress CY7C63xxx
118 Say Y here if you want to connect a Cypress USB thermometer
195 Say Y here if you want to connect a PlayStation 2 Trance Vibrator
252 Say Y here if you want to connect a YUREX to your computer's
300 Say Y here if you want to connect an AltusMetrum ChaosKey or
/linux/drivers/nvme/host/
H A Dfabrics.c300 * connect() errors.
317 "Connect command failed, errno: %d\n", errval); in nvmf_log_connect_error()
324 char *inv_data = "Connect Invalid Data Parameter"; in nvmf_log_connect_error()
349 char *inv_sqe = "Connect Invalid SQE Parameter"; in nvmf_log_connect_error()
355 inv_sqe, cmd->connect.qid); in nvmf_log_connect_error()
366 "Connect for subsystem %s is not allowed, hostnqn: %s\n", in nvmf_log_connect_error()
371 "Connect command failed: controller is busy or not available\n"); in nvmf_log_connect_error()
375 "Connect incompatible format: %d", in nvmf_log_connect_error()
376 cmd->connect.recfmt); in nvmf_log_connect_error()
380 "Connect command failed: host path error\n"); in nvmf_log_connect_error()
[all …]

12345678910>>...55