Home
last modified time | relevance | path

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

12345678910>>...60

/linux/net/wireless/
H A Dwext-sme.c31 wdev->wext.connect.ie = wdev->wext.ie; in cfg80211_mgd_wext_connect()
32 wdev->wext.connect.ie_len = wdev->wext.ie_len; in cfg80211_mgd_wext_connect()
35 wdev->wext.connect.bg_scan_period = -1; in cfg80211_mgd_wext_connect()
40 wdev->wext.connect.privacy = true; in cfg80211_mgd_wext_connect()
43 if (!wdev->wext.connect.ssid_len) in cfg80211_mgd_wext_connect()
58 &wdev->wext.connect, ck, prev_bssid); in cfg80211_mgd_wext_connect()
93 if (wdev->wext.connect.channel == chan) in cfg80211_mgd_wext_siwfreq()
97 if (wdev->wext.connect.ssid_len) in cfg80211_mgd_wext_siwfreq()
105 wdev->wext.connect.channel = chan; in cfg80211_mgd_wext_siwfreq()
125 else if (wdev->wext.connect.channel) in cfg80211_mgd_wext_giwfreq()
[all …]
H A Dsme.c5 * (for nl80211's connect() and wext)
27 * driver. This is for implementing nl80211's connect/disconnect
555 struct cfg80211_connect_params *connect, in cfg80211_sme_connect() argument
582 memcpy(&wdev->conn->params, connect, sizeof(*connect)); in cfg80211_sme_connect()
583 if (connect->bssid) { in cfg80211_sme_connect()
585 memcpy(wdev->conn->bssid, connect->bssid, ETH_ALEN); in cfg80211_sme_connect()
588 if (cfg80211_sme_get_conn_ies(wdev, connect->ie, connect->ie_len, in cfg80211_sme_connect()
597 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in cfg80211_sme_connect()
732 * API calls for drivers implementing connect/disconnect and
805 if (!wiphy_to_rdev(wdev->wiphy)->ops->connect) { in __cfg80211_connect_result()
[all …]
/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.sh310 echo "IPv6 FIB rule connect tests"
321 log_test $? 0 "rule6 dsfield udp connect (dsfield ${dsfield})"
325 log_test $? 0 "rule6 dsfield tcp connect (dsfield ${dsfield})"
332 log_test $? 1 "rule6 dsfield udp no connect (dsfield 0x20)"
336 log_test $? 1 "rule6 dsfield tcp no connect (dsfield 0x20)"
351 log_test $? 0 "rule6 dscp udp connect"
355 log_test $? 0 "rule6 dscp tcp connect"
359 log_test $? 1 "rule6 dscp udp no connect"
363 log_test $? 1 "rule6 dscp tcp no connect"
549 echo "IPv4 FIB rule connect tests"
[all …]
/linux/drivers/usb/misc/
H A Dusb3503.c52 struct gpio_desc *connect; member
91 /* SP_LOCK: clear connect_n, config_n for hub connect */ in usb3503_connect()
101 if (hub->connect) in usb3503_connect()
102 gpiod_set_value_cansleep(hub->connect, 1); in usb3503_connect()
137 if (!conn && hub->connect) in usb3503_switch_mode()
138 gpiod_set_value_cansleep(hub->connect, 0); in usb3503_switch_mode()
253 hub->connect = devm_gpiod_get_optional(dev, "connect", GPIOD_OUT_LOW); in usb3503_probe()
254 if (IS_ERR(hub->connect)) { in usb3503_probe()
255 err = PTR_ERR(hub->connect); in usb3503_probe()
258 if (hub->connect) in usb3503_probe()
[all …]
/linux/sound/soc/sh/rcar/
H A Dctu.c24 * 0001: Connect input data of channel 0
25 * 0010: Connect input data of channel 1
26 * 0011: Connect input data of channel 2
27 * 0100: Connect input data of channel 3
28 * 0101: Connect input data of channel 4
29 * 0110: Connect input data of channel 5
30 * 0111: Connect input data of channel 6
31 * 1000: Connect input data of channel 7
32 * 1001: Connect calculated data by scale values of matrix row 0
33 * 1010: Connect calculated data by scale values of matrix row 1
[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/scripts/kconfig/
H A Dqconf.cc317 connect(this, &ConfigList::itemSelectionChanged, in ConfigList()
325 connect(configApp, &QApplication::aboutToQuit, in ConfigList()
896 connect(action, &QAction::toggled, in contextMenuEvent()
898 connect(this, &ConfigList::showNameChanged, in contextMenuEvent()
944 connect(configApp, &QApplication::aboutToQuit, in ConfigInfoView()
952 connect(action, &QAction::toggled, in ConfigInfoView()
954 connect(this, &ConfigInfoView::showDebugChanged, in ConfigInfoView()
1233 connect(editField, &QLineEdit::returnPressed, in ConfigSearchWindow()
1238 connect(searchButton, &QPushButton::clicked, in ConfigSearchWindow()
1248 connect(lis in ConfigSearchWindow()
[all...]
/linux/tools/testing/selftests/landlock/
H A Dnet_test.c229 ret = connect(sock_fd, &srv->ipv4_addr, addrlen); in bind_variant_addrlen()
233 ret = connect(sock_fd, &srv->ipv6_addr, addrlen); in bind_variant_addrlen()
237 ret = connect(sock_fd, &srv->unix_addr, addrlen); in bind_variant_addrlen()
446 /* Starts invalid addrlen tests with connect. */ in test_bind_and_connect()
450 /* Tries to connect with zero as addrlen. */ in test_bind_and_connect()
453 /* Tries to connect with too small addrlen. */ in test_bind_and_connect()
457 /* Tries to connect with minimal addrlen. */ in test_bind_and_connect()
469 TH_LOG("Failed to connect to socket: %s", in test_bind_and_connect()
563 /* Allows connect and bind for the first port. */ in test_bind_and_connect()
568 /* Allows connect an in test_bind_and_connect()
620 TEST_F(protocol,connect) TEST_F() argument
[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/tools/testing/vsock/
H A Dvsock_test.c50 ret = connect(fd, &addr.sa, sizeof(addr.svm)); in test_stream_connection_reset()
51 timeout_check("connect"); in test_stream_connection_reset()
56 fprintf(stderr, "expected connect(2) failure, got %d\n", ret); in test_stream_connection_reset()
60 fprintf(stderr, "unexpected connect(2) errno %d\n", errno); in test_stream_connection_reset()
89 ret = connect(fd, &addr.sa, sizeof(addr.svm)); in test_stream_bind_only_client()
90 timeout_check("connect"); in test_stream_bind_only_client()
95 fprintf(stderr, "expected connect(2) failure, got %d\n", ret); in test_stream_bind_only_client()
99 fprintf(stderr, "unexpected connect(2) errno %d\n", errno); in test_stream_bind_only_client()
145 perror("connect"); in test_stream_client_close_client()
180 perror("connect"); in test_stream_server_close_client()
[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/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/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/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/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/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/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>>...60