Home
last modified time | relevance | path

Searched refs:sock (Results 401 - 425 of 464) sorted by relevance

1...<<111213141516171819

/third_party/lwip/src/include/lwip/
H A Dopt.h3163 * LWIP_HOOK_SOCKETS_SETSOCKOPT(s, sock, level, optname, optval, optlen, err)
3167 * int my_hook(int s, struct lwip_sock *sock, int level, int optname, const void *optval, socklen_t optlen, int *err)
3171 * - sock: internal socket descriptor (see lwip/priv/sockets_priv.h)
3182 #define LWIP_HOOK_SOCKETS_SETSOCKOPT(s, sock, level, optname, optval, optlen, err)
3186 * LWIP_HOOK_SOCKETS_GETSOCKOPT(s, sock, level, optname, optval, optlen, err)
3190 * int my_hook(int s, struct lwip_sock *sock, int level, int optname, void *optval, socklen_t *optlen, int *err)
3194 * - sock: internal socket descriptor (see lwip/priv/sockets_priv.h)
3205 #define LWIP_HOOK_SOCKETS_GETSOCKOPT(s, sock, level, optname, optval, optlen, err)
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dvlan_full.c697 static void vlan_event_receive(int sock, void *eloop_ctx, void *sock_ctx) in vlan_event_receive() argument
707 left = recvfrom(sock, buf, sizeof(buf), MSG_DONTWAIT, in vlan_event_receive()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dvlan_full.c697 static void vlan_event_receive(int sock, void *eloop_ctx, void *sock_ctx) in vlan_event_receive() argument
707 left = recvfrom(sock, buf, sizeof(buf), MSG_DONTWAIT, in vlan_event_receive()
/third_party/backends/frontend/
H A Dsaned.c3330 run_inetd (char __sane_unused__ *sock) argument
3400 if (sock)
3402 fd = _impsockhandle (atoi (sock), 0);
3453 char *sock = NULL; local
3556 sock = argv[1];
3558 run_inetd(sock);
/third_party/curl/lib/
H A Dmulti.c1003 if(conn && conn->sock[FIRSTSOCKET] != CURL_SOCKET_BAD) { in connecting_getsock()
1005 socks[0] = conn->sock[FIRSTSOCKET]; in connecting_getsock()
1050 static int perform_getsock(struct Curl_easy *data, curl_socket_t *sock) in perform_getsock() argument
1057 return conn->handler->perform_getsock(data, conn, sock); in perform_getsock()
1065 sock[sockindex] = conn->sockfd; in perform_getsock()
1077 sock[sockindex] = conn->writesockfd; in perform_getsock()
H A Dsmtp.c1197 curl_socket_t sock = conn->sock[FIRSTSOCKET]; in smtp_statemachine() local
1213 result = Curl_pp_readresp(data, sock, pp, &smtpcode, &nread); in smtp_statemachine()
H A Dimap.c1300 curl_socket_t sock = conn->sock[FIRSTSOCKET]; in imap_statemachine() local
1317 result = Curl_pp_readresp(data, sock, pp, &imapcode, &nread); in imap_statemachine()
H A Dpop3.c973 curl_socket_t sock = conn->sock[FIRSTSOCKET]; in pop3_statemachine() local
990 result = Curl_pp_readresp(data, sock, pp, &pop3code, &nread); in pop3_statemachine()
H A Dkrb5.c215 if(getsockname(conn->sock[FIRSTSOCKET], in krb5_auth()
679 curl_socket_t fd = conn->sock[sockindex]; in sec_send()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dap_ctrl_iface.c3390 static void hostapd_ctrl_iface_receive(int sock, void *eloop_ctx, in hostapd_ctrl_iface_receive() argument
3406 res = recvfrom(sock, buf, sizeof(buf) - 1, 0, in hostapd_ctrl_iface_receive()
3417 if (sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from, in hostapd_ctrl_iface_receive()
3465 if (sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from, in hostapd_ctrl_iface_receive()
4114 static void hostapd_global_ctrl_iface_receive(int sock, void *eloop_ctx, in hostapd_global_ctrl_iface_receive() argument
4129 res = recvfrom(sock, buffer, sizeof(buffer) - 1, 0, in hostapd_global_ctrl_iface_receive()
4141 if (sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from, in hostapd_global_ctrl_iface_receive()
4275 if (sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from, in hostapd_global_ctrl_iface_receive()
/third_party/node/test/report/
H A Dtest-report-uv-handles.js15 const pipeName = `node-test.${process.pid}.sock`;
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/
H A Dl2_packet_freebsd.c75 static void l2_packet_receive(int sock, void *eloop_ctx, void *sock_ctx) in l2_packet_receive() argument
H A Dl2_packet_pcap.c118 static void l2_packet_receive(int sock, void *eloop_ctx, void *sock_ctx) in l2_packet_receive() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dhttp_client.c84 static void http_client_tx_ready(int sock, void *eloop_ctx, void *sock_ctx) in http_client_tx_ready() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/
H A Dl2_packet_freebsd.c75 static void l2_packet_receive(int sock, void *eloop_ctx, void *sock_ctx) in l2_packet_receive() argument
H A Dl2_packet_pcap.c118 static void l2_packet_receive(int sock, void *eloop_ctx, void *sock_ctx) in l2_packet_receive() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dhttp_client.c84 static void http_client_tx_ready(int sock, void *eloop_ctx, void *sock_ctx) in http_client_tx_ready() argument
/third_party/node/lib/
H A D_tls_wrap.js1585 err, event, sock) {
1589 sock.destroy(err);
1593 [err, event, sock]);
/third_party/python/Lib/test/
H A Dtest_signal.py221 sock = socket.socket()
222 fd = sock.fileno()
223 sock.close()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dap_ctrl_iface.c4036 static void hostapd_ctrl_iface_receive(int sock, void *eloop_ctx, in hostapd_ctrl_iface_receive() argument
4052 res = recvfrom(sock, buf, sizeof(buf) - 1, 0, in hostapd_ctrl_iface_receive()
4063 if (sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from, in hostapd_ctrl_iface_receive()
4113 if (sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from, in hostapd_ctrl_iface_receive()
4772 static void hostapd_global_ctrl_iface_receive(int sock, void *eloop_ctx, in hostapd_global_ctrl_iface_receive() argument
4787 res = recvfrom(sock, buffer, sizeof(buffer) - 1, 0, in hostapd_global_ctrl_iface_receive()
4799 if (sendto(sock, "FAIL\n", 5, 0, (struct sockaddr *) &from, in hostapd_global_ctrl_iface_receive()
4935 if (sendto(sock, reply, reply_len, 0, (struct sockaddr *) &from, in hostapd_global_ctrl_iface_receive()
5219 static void hostapd_ctrl_iface_send_internal(int sock, struct dl_list *ctrl_dst, in hostapd_ctrl_iface_send_internal() argument
5229 if (sock < in hostapd_ctrl_iface_send_internal()
[all...]
/third_party/libinput/test/
H A Dlitest.h1278 litest_send_file(int sock, int fd) in litest_send_file() argument
1283 return write(sock, buf, n); in litest_send_file()
/third_party/python/Lib/multiprocessing/
H A Dconnection.py951 sock = ds.detach()
952 return Connection(sock.detach(), readable, writable)
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Ddriver_privsep.c511 static void wpa_driver_privsep_receive(int sock, void *eloop_ctx, in wpa_driver_privsep_receive() argument
526 res = recvfrom(sock, buf, buflen, 0, in wpa_driver_privsep_receive()
734 "privsep-set-params priv-sock: bind(PF_UNIX): %s", in wpa_driver_privsep_set_param()
761 "privsep-set-params cmd-sock: bind(PF_UNIX): %s", in wpa_driver_privsep_set_param()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Ddriver_privsep.c517 static void wpa_driver_privsep_receive(int sock, void *eloop_ctx, in wpa_driver_privsep_receive() argument
532 res = recvfrom(sock, buf, buflen, 0, in wpa_driver_privsep_receive()
740 "privsep-set-params priv-sock: bind(PF_UNIX): %s", in wpa_driver_privsep_set_param()
767 "privsep-set-params cmd-sock: bind(PF_UNIX): %s", in wpa_driver_privsep_set_param()
/third_party/curl/lib/vtls/
H A Dvtls.c773 curl_socket_t sock = Curl_conn_cf_get_socket(cf->next, data); in Curl_ssl_adjust_pollset() local
774 if(sock != CURL_SOCKET_BAD) { in Curl_ssl_adjust_pollset()
776 Curl_pollset_set_out_only(data, ps, sock); in Curl_ssl_adjust_pollset()
779 Curl_pollset_set_in_only(data, ps, sock); in Curl_ssl_adjust_pollset()

Completed in 45 milliseconds

1...<<111213141516171819